igor.vaynberg wrote:
> 
> i believe property model should be doing that for you. johan are you
> reading
> with us?
> 

I think I can see why PropertyModel isn't doing it -

There's a block inside ModelChange that skips cloning the model if the model
of the component that's changing is the same as the model of the page.  In
this case, though, the page _is_ the component that's changing, so the
page's model can't be cloned.

(Calling modelChanging and modelChanged on the Link rather than the Page
doesn't seem to have any effect, even if I do a setVersioned(true) on the
Link.)
-- 
View this message in context: 
http://www.nabble.com/Versioning-a-PropertyModel-backed-by-another-Model-tf2166294.html#a6028785
Sent from the Wicket - User forum at Nabble.com.


-------------------------------------------------------------------------
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