Hi,

you have to override #getNullValidDisplayValue(), #getNullKeyDisplayValue() is for cases where null is *not* valid.

Regards
Sven


On 12.05.2015 12:44, Chris wrote:
Hi all,

I have a Drop down choice field and would like to override the default select 
value.

I have made following settings but the default value is empty. Is there sth 
missing?

setNullValid(true);
@Override
protected String getNullKeyDisplayValue() {
     return "Please choose";
}
Thanks, Chris


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

Reply via email to