RE: Dropdownchoice selection to trigger change of form

2010-07-06 Thread Russell Simpkins
I think you are neglecting to do any changes in your onupdate() method. When onupdate is called, the user should have selected a vehicle, which would populate selectedVehicle - you need to then populate your other dropdown menu or whatever else you wanted to populate before you addOrReplace to

RE: Dropdownchoice selection to trigger change of form

2010-07-06 Thread goody44
Thanks for your reply. I tried what you said plus a lot of variation but haven't got it to work yet. Using the ajax debugger I noticed that the panel is getting rerendered but not with the new data. Could be a problem with my models. How would you do it if you had a child panel that has a nested

Re: Dropdownchoice selection to trigger change of form

2010-07-06 Thread Martin Makundi
First of all.. I would not use vehicleIndex. Take that away. ** Martin 2010/7/7 goody44 matt...@spidertracks.co.nz: Thanks for your reply. I tried what you said plus a lot of variation but haven't got it to work yet. Using the ajax debugger I noticed that the panel is getting rerendered but