vegne af Nino Wael
Sendt: to 06-04-2006 10:02
Til: wicket-user@lists.sourceforge.net
Cc:
Emne: SV: [Wicket-user] wicket 1.2 beta 2 DropDownChoice default
display value.. Please Choose one
Hmm strange, Im pretty much doing the same stuff
on.
-regards Nino-Oprindelig meddelelse-Fra: [EMAIL PROTECTED] på vegne af Johan CompagnerSendt: on 05-04-2006 16:47
Til: wicket-user@lists.sourceforge.netCc:Emne: Re: [Wicket-user] wicket 1.2 beta 2 DropDownChoice default display value.. Please Choose one
can't reproduce it if i do create
Hi
I looked at the dialog between Igor and Stefan,
thought what a nice way to select the default value with the property model. However
and then remembered why it did not do it that way, I wanted to replace the
Choose One text with something else, well at least in some cases. Im
what doesn't work exactly?Because looking at the code it should work fine. The getDefaultChoice(selected) is called and appended to the output.johanP.S. Now i think about it getDefaultChoice is a perfect candidate for returning a CharSequence instead of a string. So that you don't have to call
Compagner
Sent: 5. april 2006 13:02
To:
wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] wicket
1.2 beta 2 DropDownChoice default display value.. Please Choose one
what doesn't work
exactly?
Because looking at the code it should work fine. The getDefaultChoice(selected)
is called
in
dropDownInitial it displays the object from the model.
-regards Nino
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of
Johan Compagner
Sent: 5. april 2006 13:02
To:
wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] wicket
1.2 beta 2 DropDownChoice default display value