Hi guys,

I have to mount a page with an URL that contains zero or more "categories".

/page/${id}
/page/vahicles/${id}
/page/vahicles/cars/${id}
/page/vahicles/cars/honda/${id}


The "/page" is fixed while the others vehicles, cars and honda is like a
category tree only for SEO needs.

In a rewrite framework I can create a regex for these params.
How can I achieve this in Wicket without fixing the parameters?

Instead of that:

/page/${cat0}/${id}
/page/${cat0}/${cat1}/${id}
/page/${cat0}/${cat1}/${cat2}/${id}

I would like to do something like this pseudo regex:

/page/#{(.+/)?(.+/)?(.+/)?}/${id}


Thanks;

Reply via email to