Scott Sauyet wrote:
There may be a much better way of doing what I'm trying to do, and if so, I'd love to hear about it. But what I thought would be simple seems to be eluding me here.

I knew there had to be a better way.  I found one.


I have a form with a dynamic number of dropdowns. I'm populating them using a ListView, and the display is working fine. The trouble is that in my onSubmit(), I now need to get at the selections made for each, and I don't know how to get back the ListItems; the only methods which really seem to expose these are populateItem() and renderItem(), which run before onSubmit(). Is there a way to get at these? Or can you suggest another way to structure this so that I have the access needed?

I wrapped the objects in the list that serves as the ListView model in a class that had a property that I could use for the model of the drop-down list. It was pretty straightforward once I stopped trying to get the ListItems back.

Someday I'll have interesting questions to ask... :-(
  -- Scott


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to