Martin, sorry, I'm using wicket 1.5.8 I'll check now DebugDiskDataStore, thanks!!!
On Thu, Oct 25, 2012 at 12:13 PM, Martin Grigorov <[email protected]> wrote: > Hi, > > 1. Why do you use *1.5RC7* ? > > 2. See DebugDiskDataStore in wicket-devutils. It shows how you can > extend the default data store (DiskDataStore) to be able to browse it. > Also read https://cwiki.apache.org/confluence/display/WICKET/Page+Storage. > It explains some details about this part of Wicket code. You can > replace all of the default impls with your own if needed. > > On Thu, Oct 25, 2012 at 6:06 PM, Alfonso Quiroga <[email protected]> > wrote: >> Well I'm closer, I could retrieve the page doing this: >> >> getSession().getPageManager().getPage(1) >> >> This gives me the LAST version of "HomePage" >> >> Now, how can I know that page id "1" is the one I'm interested? >> >> Maybe I can save this id in the session, in the HomePage constructor? any >> ideas? >> >> On Thu, Oct 25, 2012 at 11:37 AM, Alfonso Quiroga >> <[email protected]> wrote: >>> Hi, I'm using Wicket 1.5RC7. I have only 2 pages (Login, and HomePage) >>> >>> HomePage has state and you can do things like search, etc. >>> >>> When the user hits "BACK BUTTON" trying to go to Login, I want to >>> redirect it to HomePage, but with the last state. With exceptions, I >>> have used PageRequestHandlerTracker which works fine, but it does NOT >>> work for this case. >>> >>> Anyone knows how to retrieve the "current" (or last) version of a page >>> from PageStore? thanks!!!! >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > > > -- > Martin Grigorov > jWeekend > Training, Consulting, Development > http://jWeekend.com > > --------------------------------------------------------------------- > 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]
