Hi,

if it is always the case that you only have to ouput 1,2 or 3 input
fields, you could create a custom component which would be initialized
by your object in the dataprovider, it could contain the logic to
decide which 'view' to show. Inside your custom component, you can
just make TextInputs 1, 2 , 3 visible or not depending on the type of
data/model you initialize it with

dan


--- In [email protected], "cruegger2000" <[EMAIL PROTECTED]>
wrote:
> 
> I need to iterate through a collection of polymorphic objects
> and build a form dynamically. Depending on the current type
> of object, I  need to output 1, 2, or 3 <mx:TextInput> components.
> I'm using a Repeater to iterate through the collection.
> 
> Does Flex have the equivalent of JSTL <c:if> or some other
> logic tags that will let me conditionally generate mxml?
> 
> Thanks in advance.




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/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