Re: Does page know it was loaded with back button ?

2013-03-11 Thread armandoxxx
Hey .. 

my use case is actually very simple ... 

I have a page with charts .. and by pressing on chart point you get
redirected to another page with search results .. 
but there's a catch ... pages share search parameters .. which means by
selecting search parameters on one page, another page shows data for those
selected search parameters. 
So i thought I'd just cache my search params and ask if
(page.isCalledWithBackButton()) then load those search params ... 

but hey .. I think version will be fine ;) 

Regards

Armando









--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Does-page-know-it-was-loaded-with-back-button-tp4657158p4657162.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Does page know it was loaded with back button ?

2013-03-11 Thread Martin Grigorov
Hi,

No. This is just a normal request that contains the page version/id in the
url, e.g. some/url?3 - Wicket will load page with id==3 from the disk
store.
What is the use case ? Maybe there is another solution.


On Mon, Mar 11, 2013 at 4:26 PM, armandoxxx wrote:

> Hey
>
> Is there a way to know that page was loaded with pressing back button ?
>
> regards
>
> Armando
>
>
>
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Does-page-know-it-was-loaded-with-back-button-tp4657158.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>