I am not sure but maybe one simple way is to
mountBookmarkablePage("/company", CompanyHandler.class);
and then perform uour stuff in CompanyHandler, look at the request url etc.
**
Martin
2009/4/10 DV <[email protected]>:
>
> We are evaluating wicket to rewrite our consumer UI.
>
> There is one requirement in which I would like to get advice on.
>
> We have a requirement in which the wildcard url gets dispatched to a
> controller that renders a page. The url pattern is in the form of
> "/company/**-details.html".
>
> We have a single controller that receives the above url and figures out the
> company name and displays the page accordingly or throws a http 404 error if
> the company is not found.
>
> e.g /company/ABC-details.html, /company/TOTO-details.html etc
>
> Can this be done in wicket?
>
> Any advice or hints would be appreciated!
>
> Dinp
>
>
>
>
> ---------------------------------------------------------------------
> 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]