in 1.2 you really need to hold on to the pages else the can fall out of the
page map and then you can never restore them
Ofcourse if the state is just some data you could keep the model and rebuild
the page with that model if needed?

johan


On 5/10/07, manuel barzi <[EMAIL PROTECTED]> wrote:

Thanks, Johan. I am on wicket 1.2.6, so I guess there's no other
choice for the moment, till I upgrade to 1.3, right?

On 5/9/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> in 1.3 what you could do is only remember the pageid and pagemap just
aks
> the session
> for the pagemap/page when you need it.
>
> Then you don't have to have references that you maybe never need.
>
> johan
>
>
>
> On 5/9/07, manu <[EMAIL PROTECTED]> wrote:
> >
> > Hi, Sirs,
> >
> > I have the following webPages variableFlow:
> >
> > Flow1: Page1 > Page2 > Page3 > Page4 > Page5 > Page6
> > Flow2: Page1 > Page3 > Page4 > Page6
> >
> > As expressed in this flows, sometimes, depending on internal
> > conditions, Page1 flows directly to Page3, jumping over Page2, and so
> > it happens with Page4 to Page6, avoiding Page5.
> >
> > Then I have to return back using a button on each page, let's call it,
> > "back-button" ;)
> >
> > As I need to keep state on all pages, when going back from PageN, I
> > have to retrieve PageN-1, from inside a List (custom object) that I
> > use to save "flow history".
> >
> > But I guess there might be a much better and smart way to do this in
> > Wicket. I haven't seen good examples of it, other than saving in PageN
> > a reference to PageN-1, and then flowing using this internal
> > references.
> >
> > So, is there any better way to threat with page history (back-button)
> > and conserving state?
> >
> > Thanks ;)
> >
> >
>
-------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to