whe the first is submitted you have to set the second one's model object to null

-igor


On Feb 4, 2008 4:59 PM,  <[EMAIL PROTECTED]> wrote:
> Hello:
> I am using two dropdownchoices, after the first select, the second would get 
> data  on the fly using the first choice. The first round everything is fine 
> with both displaying "Choose One"  and selecting the first one set the 
> correct second one list of choice with "Choose One" still displaying on the 
> second so that one could click on it to pick the right one. After the first 
> round, I select a different value in the first one, which resets correctly 
> the second one' list as in the first round but strangely this time, the 
> 'Choose One" display is gone in the second dropdownchoice. Instead it shows 
> the first item of the new list.  I used the wicket-examples sample code as 
> basis  and use getObject() to load the correct list when selection on the 
> first changed.
> Thanks

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

Reply via email to