Depending on the complexity of the ComboBox dataProvider, you could
simply update it when the add function is done.  But if there are a lot
of fields, or if there is some server-side logic involved with the
creation of the dataprovider content, then just call the service again.

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of bghoward3
Sent: Monday, December 04, 2006 10:11 AM
To: [email protected]
Subject: [flexcoders] combobox add item

 

group

i have a sitiuation where the user is presented with a combobox that 
is popluated via a webservice call to db. this works fine. the user is 
also presented with a link next to the combobox that presents a 
titlewindow and allows them to add names to the db that the combobox 
pulls from. after adding the name i of course want the combobox to 
repopulate with the new name. should i do this simply by calling the 
webservice again or is this a case for some sort of listenr. if it is 
for a listner can somone provide a bit of directioon as to how this 
work?

thank you

 

Reply via email to