Could you please provide us with a little bit of code to look at your case?

Thanks,

Eelco


On 8/25/06, landtuna <[EMAIL PROTECTED]> wrote:
>
> I have a POJO that is the object for my WebPage's Model (let's call it
> SystemState).  Some components need to interact with this object in a
> non-trivial way in their onClick handlers.  Other components use
> PropertyModel models to get at a specific part of the SystemState.
>
> My whole application was working fine this way, until I started messing with
> the back button.  Then it was clear that the versioning system was
> serializing, saving, and restoring versions of SystemState, but that the
> nestedObject fields of the PropertyModel objects that were using SystemState
> were not being updated with the new SystemState in the version rollback
> process.
>
> I could just make all of those components be versioned, but then each one
> would have its own serialized copy of SystemState.  So my solution was to
> reset the Model objects of all of my components in the main page's
> onModelChanged method.  This seems to work fine, but it seems goofy.  Is
> there a better way to do this?  (Or is it a bug that the nestedObject fields
> don't get updated automatically during a rollback?)
>
> Thanks - and I love Wicket so far!
>
> --- Jim
> --
> View this message in context: 
> http://www.nabble.com/Versioning-a-PropertyModel-backed-by-another-Model-tf2166294.html#a5988817
> 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
>

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