You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Bruno Borges <br...@gmail.com> on 2011/04/04 02:24:45 UTC

Dynamic URL path

Hi everyone,

    On Wicket 1.5, what is the best way to achieve this:

http://localhost/mountedPage/dynamicPath

And, within the page mounted at "mountedPage", retrieve the "dynamicPath"
value ?

Cheers,

Bruno Borges
www.brunoborges.com.br
+55 21 76727099

"The glory of great men should always be
measured by the means they have used to
acquire it."
 - Francois de La Rochefoucauld

Re: Dynamic URL path

Posted by Martin Grigorov <mg...@apache.org>.
mountPage("mountedPage/${dynamicPath}", SomePage.class)

Then in SomePage.java:

public SomePage(PageParameters params) {

  StringValue dynamic = params.get("dynamicPath");
}

On Mon, Apr 4, 2011 at 2:24 AM, Bruno Borges <br...@gmail.com> wrote:

> Hi everyone,
>
>    On Wicket 1.5, what is the best way to achieve this:
>
> http://localhost/mountedPage/dynamicPath
>
> And, within the page mounted at "mountedPage", retrieve the "dynamicPath"
> value ?
>
> Cheers,
>
> Bruno Borges
> www.brunoborges.com.br
> +55 21 76727099
>
> "The glory of great men should always be
> measured by the means they have used to
> acquire it."
>  - Francois de La Rochefoucauld
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>