Changing a locale during a request

2009-10-20 Thread Stephan Windmüller
Hello! Is it possible to change the use locale during the current request? I tried PersistentLocale, ThreadLocale and LocalizationSetter in a RequestFilter, but none of them only has an effect on current page. When the page is loaded and I click on a link, the locale is correctly set. - Stephan

Re: Changing a locale during a request

2009-10-20 Thread cordenier christophe
Hello I think the locale present in URL is decoded in the Dispatcher (after RequestFilter) Try to change the local in a PageRenderRequestFilter. Regards, Christophe. 2009/10/20 Stephan Windmüller stephan.windmuel...@cs.tu-dortmund.de Hello! Is it possible to change the use locale during the

Re: T51.0.5: Persistent fields may not be up dated until after the page has finished loading.

2009-10-20 Thread Argo Vilberg
I return Page Object class. If i use constructor before return Page class, then page has not finished loading Constructor? ERROR java.lang.RuntimeException: Exception assembling root component of page SignDoc: Error persisting field SignDoc:sdocinfo: Persistent fields may not be up

Re: [T5] Get Response data

2009-10-20 Thread Ben Gidley
Do you mean the links to those files aren't in the response or the files themselves aren't in? The links should be in, but the files are handles as seperate HTTP requests so don't come via the rendering part of tapestry. Ben Gidley www.gidley.co.uk b...@gidley.co.uk On Tue, Oct 20, 2009 at

Re: [T5] Get Response data

2009-10-20 Thread iapilgrim
Thank Ben, I've followed link http://www.nabble.com/T5---Stream-source-output-to-text-file-td14133292.html#a14142927 And it's ok now. ben.gidley wrote: Do you mean the links to those files aren't in the response or the files themselves aren't in? The links should be in, but the files are

Re: T51.0.5: Persistent fields may not be up dated until after the page has finished loading.

2009-10-20 Thread Szemere Szemere
The method you used in 5.0.14 is no longer allowed. If you search through the archives you will find out why; though as far as I recall, it is due to the method being insecure or causing potential sharing of variables across user sesssions. So you have to replace it with something else.

Re: New T5 blog

2009-10-20 Thread Inge Solvoll
Sounds excellent, Igor!! New component posted on my blog, an EventLink connected to a zone, with confirm dialog. http://tinybits.blogspot.com/2009/10/link-with-confirmation.html A confirmation link has been really hard to implement in all frameworks I've worked with so far (Struts, Tapestry 3

Re: New T5 blog

2009-10-20 Thread Thiago H. de Paula Figueiredo
Em Tue, 20 Oct 2009 18:13:41 -0200, Inge Solvoll inge.tapes...@gmail.com escreveu: New component posted on my blog, an EventLink connected to a zone, with confirm dialog. It was implemented as a component. Shouldn't it be better implemented as a mixin, so we can use them in other

Re: New T5 blog

2009-10-20 Thread Inge Solvoll
Yes, you are very possibly right :) I believe it ended up as a component because of some of the dead end streets I mentioned. At some point, I found that I needed to use an EventLink WITHOUT a zone connected, and do my own zone connecting in the containing component (ConfirmLink), because I

Re: New T5 blog

2009-10-20 Thread Thiago H. de Paula Figueiredo
Em Tue, 20 Oct 2009 18:47:14 -0200, Inge Solvoll inge.tapes...@gmail.com escreveu: Yes, you are very possibly right :) :) I believe it ended up as a component because of some of the dead end streets I mentioned. Do they include how to stop an event in JavaScript? If I was going to