DId you try setting the <componentId>.null <- property value? If null
is valid then try <componentId>.nullValid , see
http://wicket.sourceforge.net/apidocs/wicket/markup/html/form/DropDownChoice.html

**
Martin

2009/2/20 pixologe <pixol...@mailinator.com>:
>
> I tried overriding getDefaultChoice already, returning an empty string, this
> did not work, unfortunately.
>
> The 'Please choose one' option is not rendered, however the first 'normal'
> option gets selected instead.
> Also, inside AbstractSingleSelectChoice, there remains an empty string in
> the options list, letting my ChoiceRenderer stumble when it tries to
> interpret my idExpression :(
>
> If there are any more ideas regarding to this, please let me know.
>
> Thanks so far!
>
> btw.: nullValid is the correct 'Please choose one' string resource key
>
>
>
> Sergio García wrote:
>>
>> I guess that if you simply override the dropdownchoice i18n property value
>> for that component/page with a plain "" it may work.
>>
>> DropDownChoice property key for "Please choose one" is "null", or at least
>> i remember that.
>>
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/DropDownChoice-without-preselection-and-without-%27Please-choose-one%27-tp22120191p22120404.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to