Hello, I am having problems with the ComboBox component. I want to
use the xml:
<render_choice>
<response_label ident="A">
<material>
<mattext>Less than $200</mattext>
</material>
</response_label>
<response_label ident="B">
<material>
<mattext>$201-$400</mattext>
</material>
</response_label>
<response_label ident="C">
<material>
<mattext>$401-$800</mattext>
</material>
</response_label>
So I did:
<mx:ComboBox dataProvider="{xml.render_choice.response_label}"/>
The problem is, how do I set the label to the <mattext> that is two
elements down? I tried doing labelField="material.mattext" and
labelField="material['mattext']", neither worked. How do I go about
setting the label correctly? Am I going to have to do a
labelFunction?
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/