You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Kaspar Fischer <ka...@dreizak.com> on 2009/11/13 18:22:38 UTC

HybridUrlCodingStrategy to get "/path/http://what/ever" as "/path?q=http://what/ever"

I am looking for a hybrid URL coding strategy X that when mounted via

  mount(new X("link", LinkPage.class));

maps URLs contained in my URLs, as in

  /link/http://code.google.com/p/salve/wiki/WhySalve

to a PageParameters instance with a single parameter containing the URL: "http://code.google.com/p/salve/wiki/WhySalve".

Does anybody have such an implementation and could share it?

I suppose the page id and version need to be stored differently (because URLs may end in ".2.3", for instance), maybe as /link/2.3/http://code.google.com/p/salve/wiki/WhySalve?

Thanks,
Kaspar
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org