RE: NS_ERROR_DOCUMENT_NOT_CACHED with FF using ajax

2013-09-19 Thread ANDRE Christophe
I desactivated AdBlock Plus plugins and it worked fine! -Message d'origine- De : ANDRE Christophe [mailto:christophe.and...@docapost-bpo.com] Envoyé : jeudi 19 septembre 2013 14:19 À : users@tapestry.apache.org Objet : NS_ERROR_DOCUMENT_NOT_CACHED with FF using ajax Hi, When submi

NS_ERROR_DOCUMENT_NOT_CACHED with FF using ajax

2013-09-19 Thread ANDRE Christophe
Hi, When submitting a form with Ajax (to update a zone), I sometimes get the following error dispalyed on my web page with firefox: communication with the server failed : null When I have a look to the request I see: 00:02:03.890 0.036 2208 Received:0 POST Result:(Err

RE: Redirection afer ajax call when session timeout.

2013-09-19 Thread ANDRE Christophe
Does flowlogix works with T5.3.3 ? I m having troubles to make it work. I m running on Tomcat. I added the following to my pom.xml: org.tynamo tapestry-security 0.4.1 org.apache.shiro shiro-all 1.0.0-incubating And in AppModule: i

RE: Redirection afer ajax call when session timeout.

2013-09-18 Thread ANDRE Christophe
Thx, that's really interresting. But then how to know the session (Spring) has expired? Even when the session spring has expired when I test session.isInvalidated() returns false? public boolean dispatch(Request request, Response response) throws IOException { Session session = request

RE: Redirection afer ajax call when session timeout.

2013-09-18 Thread ANDRE Christophe
I tried with href but same thing. Yes the method is called (checked with firebug). But nothing happens. I don't know if this has to do with it, but I got the same kind of weird behavior when I do a javascript callback to show an alert from a java applet. The method is called but the alert is nev

RE: Redirection afer ajax call when session timeout.

2013-09-18 Thread ANDRE Christophe
I tryed with this: $(document).ajaxComplete(function(event, xhr, options){ if (xhr && xhr.getResponseHeader("Location")) { window.location = xhr.getResponseHeader("Location"); } }); When I look at the request I get the following : 00:02:29.263 0.073 2319

Redirection afer ajax call when session timeout.

2013-09-18 Thread ANDRE Christophe
Hi, I have an application that use a lot of Ajax. When my session has expired, my server redirect me on my deconnexion page. (Spring web do it) The problem is if I get redirected after an Ajax call, nothing happens. (I guess the client wait for an ajax answer and not for a redirection) How coul

Redirection on the root URL when returning instance of injected page [5.3.3]

2013-09-13 Thread ANDRE Christophe
Hi, I have the following start page defined in AppModule : public static void contributeApplicationDefaults(MappedConfiguration configuration) { configuration.add("tapestry.start-page-name", "Index"); } In this Index page I have the following: @InjectPage private Mypage myPage; @

RE: NullPointer when refreshing a page with a table inside a zone

2013-09-13 Thread ANDRE Christophe
sers Objet : Re: NullPointer when refreshing a page with a table inside a zone On Thu, 12 Sep 2013 15:16:41 -0300, ANDRE Christophe wrote: > Hi, Hi! Your code is missing that part that provides the value for myObjects and what Tapestry version you're using. In addition, you seem to be

NullPointer when refreshing a page with a table inside a zone

2013-09-12 Thread ANDRE Christophe
Hi, I have the following zone with table inside : ... There is nothing And the following form :

RE: Zone display when update after Ajax call

2013-09-12 Thread ANDRE Christophe
Thanks for the fast answer! That was it! -Message d'origine- De : Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com] Envoyé : jeudi 12 septembre 2013 15:10 À : Tapestry users Objet : Re: Zone display when update after Ajax call On Thu, 12 Sep 2013 09:56:25 -0300, ANDRE Chris

Zone display when update after Ajax call

2013-09-12 Thread ANDRE Christophe
Hi, I have the following zone : ... And the following form : After submitting the form like this in javascript : document.getElementById(' submitValueId ').click(); And updating the zone on the server like