Hi Stefan, does it makes sense to move this object to the session?
Make sure you make your page instance manager touching each affected page
after to change the object. e.g. Session.get().touch(affectedPage);

Pedro Henrique Oliveira dos Santos


2011/12/14 Stefan Lindner <[email protected]>

> Given is a Page 0 with an object. The object has a given value X;
>
> On the Page 0 resides an AjaxLink that opens a new Page 1 in a Wicket
> ModalWindow. The Content is a Page, not a Panel.
> Page 1 knows the object, the object is a parameter in page constructor.
>
> Modifying object to Y and closing page 1 lets the object's value to be Y
> in Page 0. Fine.
>
> Now I Place an AjaxLink on Page 1 that opens a new Page 2. Page 2 knows
> the object as well.
> Page 0 -> klick -> Page 1 -> klick -> Page 2 -> set object to Z -> close
> Page 2 -> close Page 1 -> back on Page 0
> Now the value is still X. The object tzat was passed to Page 1 and the to
> Page 2 an that was modified in Page 2 lost ists modification back on Page 0.
>
> All Pages are set to versioned(false).
>
> We use Wicket 1.4.19.
>
> Any idea?
>
> Stefan
>
>

Reply via email to