Hi 
Can someone help me here ? 
 if I want to populate data from an XML, in an accordian,
which has in the form tag several single select options, what will be
the best approach to do it ?
If I put the data directly the code might look something like :

<?xml version="1.0" encoding="utf-8"?>
 <mx:Application width="400" height="330"
xmlns:mx="http://www.macromedia.com/2003/mxml";>
   <mx:Accordion id="da" width="100%" height="100%" >
       <mx:Model id="employeeModel" source="xml_src.xml"/>
     <mx:Form label="Select Active or Inactive">
       <mx:FormItem >
         <mx:RadioButton groupName="active_type" id="active"
label="Active" selected="true"/>
         <mx:RadioButton groupName="active_type" id="inactive"
label="Inactive"/>
         <mx:RadioButton groupName="active_type" id="all" 
label="All"/>
       </mx:FormItem>
     </mx:Form>
   </mx:Accordion>
 </mx:Application>

But the label="Active" would come from an XML file. 
How should I go about this ?

Thanks 
Fx






 
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