Re: Wicket session back button support

2008-12-12 Thread Paolo Di Tommaso
Good, in this way it works. I'm apply the onBeforeRender trick to propagate the previous state in the session. Thank guys, long live to Wicket Paolo On Thu, Dec 11, 2008 at 6:27 PM, Igor Vaynberg wrote: > or instead of pages use panels as content. that way you use the same > menu instance acr

Re: Wicket session back button support

2008-12-11 Thread Igor Vaynberg
or instead of pages use panels as content. that way you use the same menu instance across multiple "pages" and the menu can keep its own state. -igor On Thu, Dec 11, 2008 at 2:37 AM, Paolo Di Tommaso wrote: > Nice question. Consider the following use case: > > You have the main application menu

Re: Wicket session back button support

2008-12-11 Thread Paolo Di Tommaso
Nice question. Consider the following use case: You have the main application menu bar. The user chooses an item from it. What happens is that all the following pages will be related to that choice, for example the second level menu in the page (that is contextual to the above choice) and I would

Re: Wicket session back button support

2008-12-10 Thread Matej Knopp
No. You have to track the changes yourself. Or use Page as the scope. What's the reason to put values in session anyway? -Matej On Wed, Dec 10, 2008 at 11:18 PM, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote: > Dear community, > > I'm facing with a really ugly problem. In my web app I need to store

Wicket session back button support

2008-12-10 Thread Paolo Di Tommaso
Dear community, I'm facing with a really ugly problem. In my web app I need to store some variables in the Wicket session. But this cause some nasty side-effects when users click on the browser back button. The page displays the previous content correctly but some components, which model is base