28 May 09:11
Re: how to make the server aware of ReverseAjax
From: Nitin Thakur <myegotrip@...>
Subject: Re: how to make the server aware of ReverseAjax
Newsgroups: gmane.comp.java.dwr.user
Date: 2008-05-28 07:11:54 GMT
Expires: This article expires on 2008-06-11
Subject: Re: how to make the server aware of ReverseAjax
Newsgroups: gmane.comp.java.dwr.user
Date: 2008-05-28 07:11:54 GMT
Expires: This article expires on 2008-06-11
I think the code you have suggested should actually be like this: import org.directwebremoting.proxy.dwr.Engine; ScriptSession s = // the script session of the browser to toggle active reverse ajax or Collection<ScriptSession> s= // the script session(s) of the browsers to toggle active reverse ajax Engine engine = new Engine(s); engine.setActiveReverseAjax(true); Please correct me if i am wrong. Because, i am trying this but it is not working; it is not making any connection with the client whose ScriptSession i pass to the Engine Constructor. Note that when i say engine.setActiveReverseAjax(true), the reverse ajax with the client has been set false. I am getting the ScriptSessions from a collection that i maintain at server side. This map is updated when a user logins or refreshes his page. -- -- View this message in context: http://www.nabble.com/how-to-make-the-server-aware-of-ReverseAjax-tp17123768p17506467.html Sent from the DWR - Users mailing list archive at Nabble.com.
RSS Feed