I am reading the book Wicket in Action. Page 88 about serializing models says: 

"At the end of the request, after the markup has been sent to the browser, 
Wicket stores the page, component hierarchy, and associated models (the state) 
in the page store."

Does "Wicket stores the page" means Wicket stores all the page content (markup 
plus Wicket-inserted content) sent to the the browser? 

I did an experiement in which there are two clock pages with dynamtic models 
(same java class and markup, but differnet class/file names). Clicking on a 
link goes to the second clock page. When I click IE Back button to go back to 
the first clock page, it always shows the current date/time. How so? Why not 
showing the previous date/time when the first clock page was loaded?

My understanding is that when a page is refreshed, each Wicket componet on a 
page calls its getObject to update content. Does the Back button get the 
getObject method called too?

What did I miss?

Thanks, David


      

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

Reply via email to