On Wed, 02 Feb 2011 07:04:54 -0200, Olaf Tomczak <[email protected]>
wrote:
Hello,
Hi!
I recently migrated to Tapestry 5.2 and decided to re-implement
URLRewriter rules as LinkTransformers. Unfortunately there's a
problem. I have to rewrite all requests to *.html pages and route them
to my Index page (since the application was previously using html
pages and some users have it bookmarked). The
PageRenderLinkTransformer works for this purpose except for index.html
page. Since Index is a page name, requests to index.html are
automatically treated as component event requests (component html of
Index page) and are not passed through my transformer. Is there a way
to work around this issue?
I guess you hit a scenario which is not covered in LinkTransforms, as they
only deal with event URL -> event URL and page URL -> page URL
transformations, but not event URL (anything with a dot in it) -> page
render URL nor vice-versa.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]