Re: DropDownChoice setting other DropDownChoice using AJAX results in null at submit

2008-06-24 Thread Giuliano Caliari
() = + stwMatchPrefs.getChosenArmy()); } } } - Original Message From: Timo Rantalaiho [EMAIL PROTECTED] To: users@wicket.apache.org Sent: Tuesday, June 24, 2008 12:27:42 AM Subject: Re: DropDownChoice setting other DropDownChoice using AJAX results in null at submit On Mon

Re: DropDownChoice setting other DropDownChoice using AJAX results in null at submit

2008-06-24 Thread Timo Rantalaiho
On Tue, 24 Jun 2008, Giuliano Caliari wrote: As you can see I am new to wicket and I'm trying to evaluate it for my projects. Then it's a good idea to checkout the code of wicket-examples of 1.3 http://svn.apache.org/repos/asf/wicket/branches/wicket-1.3.x/jdk-1.5/wicket-examples/

DropDownChoice setting other DropDownChoice using AJAX results in null at submit

2008-06-23 Thread Giuliano Caliari
Hello, I have a page in which there are 2 DropDownChoices. Both have to be set with an initial value. The first DDC called mapCategory is populated from a simple List. The second DDC, chosenArmy is populated by a List of objects (Army) that can change, based on the value of the first DDC and

Re: DropDownChoice setting other DropDownChoice using AJAX results in null at submit

2008-06-23 Thread Timo Rantalaiho
On Mon, 23 Jun 2008, Giuliano Caliari wrote: When the user sets the value on the first DDC, the value of the second DDC is set without problems, even the selected value is set correctly. The problem is that if the user changes the value on the first DDC (mapCategory) and then submits, the