https://issues.apache.org/jira/browse/WICKET-4441 now I'm convinced that this additional check is needed there
On Fri, Apr 13, 2012 at 12:00 AM, Igor Vaynberg <[email protected]> wrote: > in that case a bit of logic in the page that checks the product id in > onconfigure() against one in the model, and if they are different > redirects to the correct page... > > -igor > > On Thu, Apr 12, 2012 at 1:56 PM, Bertrand Guay-Paquet > <[email protected]> wrote: >>> you simply need to check what page class is mounted, and if the page >>> retrieved by id is not of that class then dont render it but redirect >>> to the bookmarkable url instead. >>> >>> -igor >> >> Both pages actually use the same MyPage.java class in this case. The only >> difference is the page parameter encoded in the URL which presumably drives >> a model. >> >> >> --------------------------------------------------------------------- >> 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] > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
