Hmm, when doing further debug. It seems as the backing object are updated but not via the models setObject command. Is it supposed to work like that?

 

 

Regards Nino

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nino Wael
Sent: 17. juli 2006 15:02
To: wicket-user@lists.sourceforge.net
Subject: [Wicket-user] Model and setObject?

 

Hi

 

Starting this over again, trying to explain more clearly what im doing here.

 

I’ve created a AbstractModel that pretty much works as property model, only difference are that the setObject sets the object and does a little bit more. My model is attached to the wicket.extensions.markup.html.form.palette as the model representing user choices. The palette component consists of two listboxes and some buttons to move the selection, it moves the selection by _javascript_ so I have a submit button in my form aswell.

 

My issue is that it seems as the models setObject are only called in the constructor, or when I explicitly call it? But I can clearly see that the palette gets updated correctly even if I switch pages.

 

Regards Nino

 

 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to