There is probably a better way, but I just create very simple subclasses to
allow separate mounts.
class ProductPage extends DynamicWebPage {
    ProductPage(PageParagemeters p) {
        super(p);
    }
}

On Wed, Aug 1, 2012 at 12:10 PM, vinitty <[email protected]> wrote:

> I am making an application where multiple urls need to mount to Same Class
>
> Like
> /product
> /category
> /upgrades
>
> to DynamicWebPage.class
> I have mount like new MountMapper(url, class);
>
> Now when i hit the page /product its coming fine, but all the links on that
> page is coming like this
> /category?fsadas:dgs
>
> which should be /product?fsadas:dgs
>
> My thought is that its coming like that because both urls pointing to same
> class
>
>
> Please help on this
>
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/How-to-Mount-Multiple-URLS-to-Same-Class-in-wicket-1-5-7-tp4650932.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to