Re: DropDownChoice with ChoiceRenderer

2016-10-14 Thread ganea iulia
:) yes, that was it: @Override public String getObject(String paramString, IModel> paramIModel) { return paramString; } solved it:) On Fri, Oct 14, 2016 at 4:03 PM, Per Newgro wrote: > Hello ganea, > > can you please investigate the method below? > > Hope that helps > Per >

Re: DropDownChoice with ChoiceRenderer

2016-10-14 Thread Per Newgro
Hello ganea, can you please investigate the method below? Hope that helps Per Am 14.10.2016 um 14:52 schrieb ganea iulia: @Override public String getObject(String paramString, IModel> paramIModel) { // TODO Auto-generated method stub return null; }

DropDownChoice with ChoiceRenderer

2016-10-14 Thread ganea iulia
Hello, I'm using Wicket 7. I have this simple use case where I need to have a dropdownchoice, where to display some values, but the model should retain other values. I have done the following, however, the model always retains null. So my dropdownchoice should display Code1 and Code2 but save in

Re: DropdownChoice with ChoiceRenderer does not use idValue for setting Model

2011-11-29 Thread tech7
You can also use property files for holding label values. - Wicket-Java -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DropdownChoice-with-ChoiceRenderer-does-not-use-idValue-for-setting-Model-tp4115836p4118392.html Sent from the Users forum mailing list archive

Re: DropdownChoice with ChoiceRenderer does not use idValue for setting Model

2011-11-28 Thread Sven Meier
, schrieb Philipp Schreiber: Hi, I got some strange behavior with a DropdownChoice and a ChoiceRenderer. I got a List of Stings as choices and a Renderer which splits these strings into Name and Id part. Inside the Browser the value attrib and text is set correctly. But after a submit the whole String

Re: DropdownChoice with ChoiceRenderer does not use idValue for setting Model

2011-11-28 Thread Philipp Schreiber
Ok. Now im holding a map, using its keys as choices and a choicerenderer gives the values for rendering.. its working... nice Thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DropdownChoice-with-ChoiceRenderer-does-not-use-idValue-for-setting-Model