Re: Select the Choose one of a required DropDownChoice

2010-03-18 Thread Matthias Keller
Hi Have a look at DropDownChoice.setNullValid() and .setRequired() Matt On 2010-03-18 14:26, David Chang wrote: Hi, I am new in Wicket and am playing with different components. I have a two dropdown lists. One is a list of countries, required field, controlling another list of

Re: Select the Choose one of a required DropDownChoice

2010-03-18 Thread David Chang
: Matthias Keller matthias.kel...@ergon.ch Subject: Re: Select the Choose one of a required DropDownChoice To: users@wicket.apache.org Date: Thursday, March 18, 2010, 9:30 AM Hi Have a look at DropDownChoice.setNullValid() and .setRequired() Matt On 2010-03-18 14:26, David Chang wrote: Hi, I

Re: Select the Choose one of a required DropDownChoice

2010-03-18 Thread Matthias Keller
...@ergon.ch Subject: Re: Select the Choose one of a required DropDownChoice To: users@wicket.apache.org Date: Thursday, March 18, 2010, 9:30 AM Hi Have a look at DropDownChoice.setNullValid() and .setRequired() Matt On 2010-03-18 14:26, David Chang wrote: Hi, I am new in Wicket and am

Re: Select the Choose one of a required DropDownChoice

2010-03-18 Thread David Chang
. --- On Thu, 3/18/10, Matthias Kellermatthias.kel...@ergon.ch  wrote:     From: Matthias Kellermatthias.kel...@ergon.ch Subject: Re: Select the Choose one of a required DropDownChoice To: users@wicket.apache.org Date: Thursday, March 18, 2010, 9:30 AM Hi Have a look

Re: Select the Choose one of a required DropDownChoice

2010-03-18 Thread Martin Makundi
matthias.kel...@ergon.ch Subject: Re: Select the Choose one of a required DropDownChoice To: users@wicket.apache.org Date: Thursday, March 18, 2010, 9:42 AM Hi Yes, exactly, but why do you have it set to required at all in first place if you want to allow the empty selection too? I dont think

Re: Select the Choose one of a required DropDownChoice

2010-03-18 Thread David Chang
list blank. Regards. --- On Thu, 3/18/10, Martin Makundi martin.maku...@koodaripalvelut.com wrote: From: Martin Makundi martin.maku...@koodaripalvelut.com Subject: Re: Select the Choose one of a required DropDownChoice To: users@wicket.apache.org Date: Thursday, March 18, 2010, 10:58 AM

Re: Select the Choose one of a required DropDownChoice

2010-03-18 Thread Martin Makundi
to be able to handle that null and set another dropdown list blank. Regards. --- On Thu, 3/18/10, Martin Makundi martin.maku...@koodaripalvelut.com wrote: From: Martin Makundi martin.maku...@koodaripalvelut.com Subject: Re: Select the Choose one of a required DropDownChoice To: users

Re: Select the Choose one of a required DropDownChoice

2010-03-18 Thread David Chang
martin.maku...@koodaripalvelut.com wrote: From: Martin Makundi martin.maku...@koodaripalvelut.com Subject: Re: Select the Choose one of a required DropDownChoice To: users@wicket.apache.org Date: Thursday, March 18, 2010, 11:50 AM Code? 2010/3/18 David Chang david_q_zh...@yahoo.com

Re: Select the Choose one of a required DropDownChoice

2010-03-18 Thread James Carman
Perhaps put logic in onsubmit to check for required country? On Mar 18, 2010 6:45 PM, David Chang david_q_zh...@yahoo.com wrote: Martin, the following is the code for the country dropdown list, which can control the state dropdown list. The problem is that when the country list's value is