Hi

since it's java development, the only limit are your mind (now all your ruby guys dont hit me).. As you write yourself just create a choicerenderer, then choicerenderer itself can decide howto display data..

And yes if you chain stuff and implement your own model etc you can do it all your own way..

jensiator wrote:
Hi. I have a form model containing a idKey that is supposed to be selected from
a dropdownchoice. Does anyone know if its possible have a complex data type
in the dropdownchoice when the model is only a idKey? The dropdownchoice
wants to set the complex data type in the form model. For example in a dropdownconstructor:
public MyDropDown(String pId,PropertyModel<UUID> pModel){
super(pId,new LoadableDetachableModel<MyClass>(){

protected List<MyClass> load() {
           return requestClasses();
       }

})
setChoiceRenderer(new ChoiceRenderer<Myclass>("displayName", "idKey"));

would It be possible to link the pModel in another model (SpecialModel) to
accomplish this? Like: setModel(new SpecialModel(pModel));


--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


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

Reply via email to