It looks like the parameter encoding/decoding is all done via the
interface:

IPageParametersEncoder

Which has only a single implementation which obviously encodes/decodes
the  new 1.5 style.

Would it be possible to provide a 1.4 legacy implementation of
IPageParametersEncoder to allowing upgrading a 1.4 wicket application to
1.5 but maintain support for existing URLs that already exist for the
1.4 built web application?

Could the setting of the IPageParameterEncoder implementation be an
application or page setting?

>-----Original Message-----
>From: Chris Colman [mailto:chr...@stepaheadsoftware.com]
>Sent: Wednesday, 21 September 2011 11:14 AM
>To: users@wicket.apache.org
>Subject: BookmarkablePageLink works differently in 1.5?
>
>It seems that in Wicket 1.5 BookmarkablePageLink's produce URLs that
>employ query parameters
>
>Eg.,
>
>?name1=value1&name2=value2
>
>instead of the directory style parameters of 1.4.x
>
>Eg.,
>/name1/value1/name2/value2
>
>While this may not be a problem for new Wicket applications the
>thousands of URLs of existing 1.4 Wicket applications are referenced
>from many existing websites and search engines on the web.
>
>Is there a replacement for BookmarkablePageLink in 1.5 that can produce
>the 1.4 style URLs? (Or could BookmarkablePageLink take an option like
>'legacyStyle' that, when set to true, will create legacy (1.4) style
>URLs?)
>
>Regards,
>Chris
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to