On Thu, 30 Jun 2011 19:56:20 -0300, Nillehammer
<tapestry.nilleham...@winfonet.eu> wrote:
Hi Thiago,
Hi!
That's what I had already tried before asking:
ComponentEvenLinkEncoder.decodeComponentEventRequest()
PersistentLocale was still null, even if present in the uri.
This would only work in event request, not in page render ones. :)
That's what I have tried after your answer:
ComponentEvenLinkEncoder.decodePageRenderRequest()
And tadaaa! The PersistentLocale was set! (Bang my head on the keyboard
for not having tried earlier)
:P
I was about to implement a RequestFilter as you suggested. But meanwhile
Howard has answered my question suggesting a ComponentRequestFilter.
Will try that out and post my code, when done.
I've never tried a ComponentRequestFilter for doing things that involved
redirection, as they are invoked way later in the Tapestry processing
pipeline. Please post if it works. ;)
--
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: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org