When the user changes the selection of the combo box, are you saving that selection back to your dataProvider?  And setting the selection using currentItem?

 

If not, you will not get reliable results.  addItem is causing the repeater to re-render, according to the values in the dataProvider.

 

Tracy

 


From: [email protected] [mailto:[email protected]] On Behalf Of phildouglas
Sent: Wednesday, November 08, 2006 12:46 AM
To: [email protected]
Subject: [flexcoders] Repeater children resetting comboboxes

 

Hey all
I have a Repeater repeating a component of mine containing a few
ComboBoxes and a TextInput, and using an ArrayCollection as dataProvider.

I have set the Repeater to use recycleChildren=true, however when I
perform addItem() on my ArrayCollection, the ComboBoxes are being set
to selectedIndex=0 although the TextInput retains any user input.

Is there any way to stop this from happening?

Thanks
Phil

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to