Hi, **UrlCodingStrategy interface and all its impls were replaced with IRequestMapper and its impls. These examples weren't migrated mostly because there were no tests for them.
Read http://wicketinaction.com/2011/07/wicket-1-5-request-mapper/ and the next two articles for more about IRequestMapper and Co. Check also https://issues.apache.org/jira/browse/WICKET-4228. This ticket is a contribution by a user that migrates CapturingUrlCodingStrategy from the same examples to 1.5. Use it as inspiration. The easiest way to see what the new IRequestMapper impls can do is by checking their unit tests. I think IRequestMapper is much simpler than IUrlCodingStrategy and it shouldn't be very hard to implement what you need. On Mon, Nov 21, 2011 at 4:58 PM, Richard Care <rich...@octaveassociates.co.uk> wrote: > Hi Wicketeers, > > I want to capture requests to sub-pagesof a specific URL (e.g. > http://host/root-page/42 as a sub-page of http://host/root-page/) and then > respond with XML that's based on the current state of the site and the tail > of the URL (e.g. 42) > > I've used URIRequestTargetUrlCodingStrategy as demonstrated in > http://wicketstuff.org/wicket14/staticpages/but (as with many other classes) > this has moved/disappeared in Wicket 1.5. > > I haven't found any mention of this class in > https://cwiki.apache.org/WICKET/migration-to-wicket-15.htmland the > staticpages example above has disappeared from > http://wicketstuff.org/wicket/index.html > > The migration notes do mention > org.apache.wicket.request.target.coding.QueryStringUrlCodingStrategy so it > looks like AbstractRequestTargetUrlCodingStrategy has been replaced by > IRequestHandler and its implementations. As mount() now only takes an > IRequestMapper I assumes that is also relevant but I would really appreciate > a pointer as to which of the many classes implementing IRequestHandler and > IRequestMapper to use. > > Thanks in advance. > > Regards Richard Care > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org