2 Replies Latest reply on Jun 9, 2011 6:23 PM by SashaKeith

    Data Binding to a List Component

    J_Tremain Level 1

      Right now I have a query that's returning a person's first name and last name in 2 separate fields. I'd like to attach both the first name and last name to the label of the list. I can figure out how to display the first or last name to the label but can't figure out how to display both. My code right now looks like this:

       

      <s:List id="managerList" width="100%" height="100%"

      change="managerList_changeHandler(event)" creationComplete="managerList_creationCompleteHandler(event)" fontSize="31"

      labelField="firstName">

      <s:AsyncListView list="{getAllUsersResult.lastResult}"/>