On Wed, Apr 15, 2009 at 2:22 AM, Daniele Dellafiore <[email protected]> wrote:
> On Mon, Jan 12, 2009 at 5:43 PM, carloc <[email protected]> wrote:
>
>> What Page Does Wicket Store in its HttpSession?

the last page accessed from every pagemap is stored in httpsession.

>> Is it bad to keep a reference to the previous pages in instance variables of
>> new pages?

when using diskpagestore there are certain usecases that break. if you
keep a page purely for navigation purposes it is fine. but if you
manipulate instance of a page from inside a page that holds a
reference to it it might lead to unintended sideeffects like your
changes to that instance being lost. this has to do with how
diskpagestore keeps each page separate and how it rewrites references
during serialization.

-igor

>
> I am really interested in an answer about this two questions. I am
> using 1.3 so I cannot use Page Reference mechanism.
>
> Finally, I cannot find a way to recover the last Page in a non restful
> way and as I stated in another mail, history.back does not work in all
> conditions (i.e. submit that reload the page instead of calling a
> setResponse)
>
> --
> Daniele Dellafiore
> http://blog.ildella.net/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to