I was able to get it working with the following...

<mx:Model id="reports_model" source="reports.xml"/>
<mx:List ...........  dataProvider="{reports_model.report} />

On 3/28/07, Craig Drabik <[EMAIL PROTECTED]> wrote:
>
> You'll need to set the labelField attribute of the list tag to an
> expression that points to the XML node or attribute you want to appear as
> the label.
>
> >I have an xml file with nodes like this:
> ><templates label="Short Subject Report" data="ShortSubjectReport" />
> >
> >I have this as the dataprovider of the <mx:List:
> > dataProvider="{report_listXML.templates}" >
> >
> >The list appears to be populating, as I can see the coloring as I hover
> over
> >the items of the list, but I cannot see any values in the list. I reckon
> it
> >has to be something simply stupid and easy...  The code is very similar
> to :
> >
> http://livedocs.adobe.com/flex/201/langref/mx/controls/List.html#includeExamplesSummary
> >
> >help me obi wan.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:3821
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to