Em Thu, 26 Feb 2009 11:01:13 -0300, Grigoris Ioannou <holidayworld...@gmail.com> escreveu:

Hi all,

Hi!

http://localhost:8080/app/viewcity/Krak$00f3w-Poland-Europe/9584
and
http://localhost:8080/app/viewcity/N$00eemes-France-Europe/7196

These URLs are really, really ugly. This behaviour was changed in some version I can't recall to provide better support for null and empty activation context parameters.

There is a Tapestry service, org.apache.tapestry5.services.URLEncoder, that does the activation context -> string and string -> activation context encoding. You can write your own and override the one used by Tapestry through the alias overriding feature described here: http://tapestry.apache.org/tapestry5/guide/alias.html.

I guess Tapestry could provide an easy way to switch between the old and the new activation context encoding. You can file a JIRA for that, please. :)

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

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

Reply via email to