Nilsson wrote:
Wasn't this more awkward?
--
View this message in context:
http://www.nabble.com/DropDownChoice-with-ID-and-Value-tp24686742p24690478.html
Sent from the Wicket - User mailing list archive at Nabble.com
Yes, you are right.
Didn't read the question close enough.
--
View this message in context:
http://www.nabble.com/DropDownChoice-with-ID-and-Value-tp24686742p24703752.html
Sent from the Wicket - User mailing list archive at Nabble.com
Newbie question:
I have a list of 3 options, let's supose it's 1=abc, 2=def, 3=ghi
I will present to my user the select field with the choices abc, def and
ghi. I want that my model updates with 1, 2 and 3. I did not find a way
to achieve this (must me a simple thing).
best regards,
Look at ChoiceRenderer. It's pretty easy to write one that takes a
map in it's constructor if your needs are that simple.
Scott
2009/7/27 carlson weber filho - Master CIM Informática
cwe...@mastercim.com.br:
Newbie question:
I have a list of 3 options, let's supose it's 1=abc, 2=def, 3=ghi
Will try it, thanks a lot
Scott Swank escreveu:
Look at ChoiceRenderer. It's pretty easy to write one that takes a
map in it's constructor if your needs are that simple.
Scott
2009/7/27 carlson weber filho - Master CIM Informática
cwe...@mastercim.com.br:
Newbie question:
I have a list of
= new DropDownChoice( drop , new Model( c ) , choices,
new ChoiceRenderer( value , id ) );
--
View this message in context:
http://www.nabble.com/DropDownChoice-with-ID-and-Value-tp24686742p24686931.html
Sent from the Wicket - User mailing list archive at Nabble.com
the other values
// The choice with id 1 will be selected.
DropDownChoice drop = new DropDownChoice( drop , new Model( c ) , choices,
new ChoiceRenderer( value , id ) );
--
View this message in context:
http://www.nabble.com/DropDownChoice-with-ID-and-Value-tp24686742p24686931.html
Wasn't this more awkward?
--
View this message in context:
http://www.nabble.com/DropDownChoice-with-ID-and-Value-tp24686742p24690478.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e