Hi, I cannot reproduces the problem here, which Wicket version are you using?
Note that PageProvider#getStoredPage(int) has a safety check to make sure the page classes matches.
Sven On 07/22/2013 01:38 PM, Peter Henderson wrote:
When a user emails a link to another user sometimes the wrong page is rendered. Alice sends http://starjar.com/Part/123?111 to Bob who is was recently looking at http://starjar.com/Order/456?111 Instead of seeing the part page he see the order page. I assume this is because of the page version ?111 parameter. The pages are mounted. mountPage("/Order", classOf[OrderPage]) mountPage("/Part", classOf[PartPage]) and each page uses the page parameters to extract the id at index 0 def decode(parameters: PageParameters): Id = { try { val idValue = parameters.get(0).toInt; .... Should I be mounting the pages differently to prevent the wicket page revision version overriding the mount path?
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
