Re: DropDownChoice and setNullValid()

2008-03-18 Thread Kaspar Fischer
On 18.03.2008, at 16:47, Kai Mütz wrote: Try search-country.nullValid=any country Thanks, works like a charm! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: DropDownChoice and setNullValid()

2008-03-18 Thread Kai Mütz
Kaspar Fischer schrieb: I am trying to get a DropDownChoice to select either a country or the option "any country". searchOptions.add(new DropDownChoice("search-country", countries, countriesRenderer) .setNullValid(true).setRequired(false) // (*) ); With the second line (*) commen

DropDownChoice and setNullValid()

2008-03-18 Thread Kaspar Fischer
I am trying to get a DropDownChoice to select either a country or the option "any country". searchOptions.add(new DropDownChoice("search-country", countries, countriesRenderer) .setNullValid(true).setRequired(false) // (*) ); With the second line (*) commented out, the drop-down m