Hi, \ > I'm using Wicket as some template engine to generate reports about > tabular data as HTML-documents in a backend published using SOAP. The > called SOAP-interfaces expect what to generate pretty much as some > path/URL-like resource description: > > > alert/topic1/foo/bar > > report/topic1/foo/bar > > report/topic2/bar/foo > > I would like to have some parser for those kinds of paths/URLs, so > that I'm able to provide some template-paths and get some results by > name. > > > ${type}/${topic}/foo/${fooVal} > > You can count a resource using exactly like that
https://ci.apache.org/projects/wicket/guide/6.x/guide/resources.html#resources_11 https://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/ > Is something like that available in Wicket already? > > Looking at "PageParameters", Wicket does only support query strings > and indexed parameters, so no support for templates like the above. > Indexed parameters don't seem too different, though. Additionally, > "PagerParameters" doesn't seem to support parsing itself. > > So how can I parse a string only and get "PageParameters"? > > I've found "UrlRequestParametersAdapter" and > "UrlPathPageParametersEncoder", the latter supports decoding paths > like "/key1/value/key2/value" etc. And both don't seem to be bound to > an application or HTTP, which would exactly be what I need. > > Anything else to look at? Thanks! > > Mit freundlichen Grüßen, > > Thorsten Schöning > > -- > Thorsten Schöning E-Mail: thorsten.schoen...@am-soft.de > AM-SoFT IT-Systeme http://www.AM-SoFT.de/ > > Telefon...........05151- 9468- 55 > Fax...............05151- 9468- 88 > Mobil..............0178-8 9468- 04 > > AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln > AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Regards - Ernesto Reinaldo Barreiro