Actually the functionality of all (I think) UrlCodingStrategy's are merged into MountedMapper. This mapper can handle indexed, named (even optional ones) and query parameters.
See MountedMapperTest for all supported cases. On Fri, Jun 10, 2011 at 9:29 AM, Steve Mactaggart <[email protected]> wrote: > Ok so I have a quick change working that updates the Annotation Scanner to > return an IRequestMapper for each page. > > And with a lot of commenting out, for the basic pages we use I can get it > working. But I'd like to try and port the entire thing and get the changes > back into wicket-stuff for all to use. > > If I were an existing user using MixedParamUrlCodingStrategy how would I > port my code to 1.5? > > Is there any docco on migrating for the other CodingStrategy's? > > Steve > > On Fri, Jun 10, 2011 at 3:53 PM, Martin Grigorov <[email protected]>wrote: > >> See https://cwiki.apache.org/confluence/display/WICKET/Request+mapping >> >> On Fri, Jun 10, 2011 at 3:47 AM, Steve Mactaggart >> <[email protected]> wrote: >> > Hi all, >> > >> > We are looking at the viability of moving our product to 1.5, and for >> most >> > of our custom components I think the transition should be possible, but >> we >> > have hit a brick wall when it comes to the UrlCoding Strategy. >> > >> > We're using wicket stuff annotations to control the mount points for each >> of >> > our pages, but it seems this project has not been migrated to 1.5 yet. >> > >> > So I decided to take a look and see what was needed, and it seems that >> whats >> > needed changes to the whole thing. >> > >> > I'm guessing from what I'm reading that 1.5 made a lot of changes to the >> way >> > requests are mapped, and therefore would have a big impact on how pages >> are >> > resolved from URLs. >> > >> > It seems that IRequestTargetUrlCodingStrategy no longer exists, but there >> is >> > no comment in the 1.5 migration guide to say what replaces it. >> > >> > Is there anywhere I can go to read the new approach to page mounting? >> I'm >> > happy to help out porting annotations to 1.5 (if you think its even >> > possible) but would love some pointers as to what has changed to send me >> in >> > the right direction. >> > >> > Thanks, >> > Steve >> > >> >> >> >> -- >> Martin Grigorov >> jWeekend >> Training, Consulting, Development >> http://jWeekend.com >> > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com
