I have and array of javabeans cargued in a result of a RemoteObject Call:

employee, some properties have a reference to another object like this:

public class Employee
    implements Serializable
{    
    private Long idEmployee;
    private Nationality idNationality;
    private String name;
    private String;

    getters... and setters methods
}

and...


public class Nationality
    implements Serializable
{    
    private Long idNationality;
    private String description;

    getters... and setters methods.
}   

this Array of objects was charged in a Dataprovider of a dataGrid

so, i want to read a data of a propertie idNationality object a
dataGirdColumn.

how can i acced to this object ??

example: 

<mx:DataGrid id="dgEmployee" dataProvider="{employees}" >
   <mx:columns>                                                                
<mx:Array>
           <mx:DataGridColumn headerText="Name"
               columnName="name" />                                             
       
           <mx:DataGridColumn headerText="Nationality" 
               columnName="idNationality.description" />
       </mx:Array>                                                         
</mx:columns>                                                        
</mx:DataGrid>

where:
      employees= is an array of objects "employee"
      idNationality.description= "i can't see this propertie"





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to