I have to ask, if they are not dynamic, what is the advantage of using a
repeater?

I think you will need to create a dataProvider, even if its:
DataProvider="{[1,2]}"

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml";>
        <mx:Repeater id="repeater1" count="3" dataProvider="{[1,2]}">
                <mx:CheckBox label="test" >
                </mx:CheckBox>
        </mx:Repeater>
</mx:Application>

Tracy

-----Original Message-----
From: javawebgrrl [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 04, 2005 5:48 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Can you Use a Repeater without a dataprovider?



Hi,
  Can you use a repeater without a dataprovider, for example , if you 
want to repeat an item 4 times, is there any way to say <repeater 
count=4> ?
  I want to put identical combo box's on a page, and plan to use a 
repeater. I know I want to repeat the combo box 4 times, and only need 
one dataprovider to use each time for the combo box population. Is 
there another flex tag I should use for this type of operation?
This is what I want to do:

<mx:Repeater count=4>
   <mx:ComboBox id="cb1" dataProvider="{data)"/>
</mx:Repeater>

Thanks for any advice !






 
Yahoo! Groups Links



 







 
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