Hi!

I'm using the getDefaultChoice to have --- choose brand ---- in my drop box.

@Override
protected java.lang.CharSequence getDefaultChoice(final Object selected){
   return "<option value=\"\">"+
getLocalizer().getString("category.select.edit", CategoryPage.this ) 
+"</option>"; 
}

This is rather teedious to have this in every drop list. I it possible to
have a default choice without using this? I know I can set setNullValid(
true ) but I can't handle the localization default choice.
-- 
View this message in context: 
http://www.nabble.com/Default-choice-tp17135706p17135706.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to