Re: T5.3.7+Tynamo Security 5.1 SavedRequest redirect issues

2014-06-24 Thread Daniel Jue
It figures that after I sent the email I would find a way to fix it. :-) I saw that the url that was getting requested had the word 'unauthenticated ' added to it, and the response, for some reason, was the first asset listed in the Layout. Re-rea

T5.3.7+Tynamo Security 5.1 SavedRequest redirect issues

2014-06-24 Thread Daniel Jue
Hi, I'm having trouble with the feature for redirecting to the previous request after a successful form login. I've read the thread and poked around in the 5.1 and later source code for the default Tynamo login component, and my login component is essentially the same. It is mentioned that Tynamo

Handling Ajax requests when decorating the RequestExceptionHandler

2014-06-24 Thread Davide Vecchi
Hi, I'm decorating the RequestExceptionHandler in order to handle exceptions and then redirecting to the previous page (the one I find in the "Referer" HTTP header). This works fine for normal page requests but I would like to handle also the case of Ajax requests. The JavaDoc of RequestExcep

Re: Adding inline javascript at the end of the page body

2014-06-24 Thread Thiago H de Paula Figueiredo
On Tue, 24 Jun 2014 06:34:25 -0300, Numa Schmeder wrote: Also the zone id shouldn’t change on subsequent request… As you have seen each nested div has a different zone id. Use Zone's id parameter and that won't happen. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant

Re: Adding inline javascript at the end of the page body

2014-06-24 Thread Geoff Callender
A while back I stopped returning Zone, or its body, preferring to use AjaxResponseRenderer#addRender instead. So I'm curious - do you see the same effect if you use AjaxResponseRenderer#addRender? On 24 Jun 2014, at 7:34 pm, Numa Schmeder wrote: > I will add a JIRA then :) > > Concerning the

Re: Adding inline javascript at the end of the page body

2014-06-24 Thread Numa Schmeder
I will add a JIRA then :) Concerning the zone ajax issue: I am returning zone.getBody() Give it try, you will see that with jquery you get the same behavior. Maybe it’s by design, but I think it’s a bug of the core js stack the function ElementWrapper.update adds nested div one after the othe