i dont think we currently support locale-specific mounts. you will have to
roll your own bookmarkablepagelink subclass to do this.

-igor

On 8/16/07, Artur W. <[EMAIL PROTECTED]> wrote:
>
>
> Hi!
>
> I want to mount the same page with different url. eg:
>     protected void init() {
>         super.init();
>         mountBookmarkablePage("/catalog.html", Catalog.class);
>         mountBookmarkablePage("/catalogue.html", Catalog.class);
>         mountBookmarkablePage("/katalog.html", Catalog.class);
>     }
>
> And it works great. I can access Catalog page with this three urls.
>
> What I want to do is that:
> add(new BookmarkablePageLink("link", Catalog.class));
> renders  # <wicket:message key="catalog"/>  depends on user's locale.
>
> If user has FR locale output should be:
> /catalogue.html catalogue
>
> and so on.
>
> How can I achieve this?
>
> Thanks,
> Artur
> --
> View this message in context:
> http://www.nabble.com/urls-and-localization-tf4278995.html#a12179363
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to