Ok, it is done.

Thanks.

On 3/31/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
Yes please do. The bugtracker lets you attach files. That would be the best place.


On 3/31/06, Frederic Barnabe < [EMAIL PROTECTED]> wrote:
I have a link that switch the locale from English to French in my border component.  This must be a LinkSubmit, because I must save the state of the form contained in the current page.  When I had a ordinary form and a LinkSubmit, everything worked fine, but once I switched to a AjaxForm and AjaxLinkSubmit, it stopped working.  What I discovered is that even if I changed the locale in the Engine, it was never persisted, because the code that persists it is invoked by the ResponseRenderer, which is never used when called by a AjaxSubmit.

I don't know if it is the right way to do it, but I added the call in the AjaxDirectService and injected the RequestLocaleManager in it.  Now, everything works fine for me.  Should I send my patch file to someone ?

Frederic






--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around dojo/tapestry/tacos/hivemind.   http://opennotion.com

Reply via email to