On Sat, 29 Sep 2012 09:54:27 -0600
Alec Swan <alecs...@gmail.com> wrote:

> mountPage("ms", MyPage.class) generates URLs like /lrm/ms?oid=123
> What I would like is URLs like /lrm/ms/oid/123
> 
> What's the easiest way to accomplish this?

mountPage("ms/oid/${oid}", MyPage.class);

The "ms/oid/" is just the string that will be part of the url, the
"${oid}" means that whatever is at this point in the path will be
available as a PageParameter with the name "oid".

More details in the Javadoc of MountedMapper.

Carl-Eric

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

Reply via email to