I think you would use the new 1.5 mapper as:
@MountPath("/mypage/${daysago}/${date}/${filename}")
If all 3 parameters are required, and then access them from the page
parameters using the names "daysago", "date", "filename".
If they are optional I think you replace the $ with a #.
Not sure, but I think I remember that was right.
On Thu, Jul 21, 2011 at 12:08 AM, Donohoe Digital <[email protected]> wrote:
> Sorry, formatting got messed up.
>
> I used the @MountMixedParam (for the MixedParamUrlCodingStrategy). For
> example:
>
> @MountMixedParam(parameterNames = {GamesListExport.PARAM_DAYS_AGO,
> GamesListExport.PARAM_DATE, GamesListExport.PARAM_FILE_NAME})
>
> I'm not quite sure how to do this in Wicket 1.5. This
> https://cwiki.apache.org/WICKET/request-mapping.html wiki page mentions
> named parameters but I'm not sure how you actually *name* them. I see
> someone ported the old code, but how do I define a mount like above in 1.5?
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/State-of-wicketstuff-Annotations-tp3587286p3680914.html
> Sent from the Forum for Wicket Core developers mailing list archive at
> Nabble.com.
>