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
<ber...@step.polymtl.ca> 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: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>

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

Reply via email to