|
Reverse Ajax again... FF 1.5.0.9: msg#00152java.dwr.user
Hi, I have a page that worked a while befor. Today i want to fix some design and put it online, but the reverse thing does't work anymore. Maybe you can help. Here are teh related pathes of the JS: dwr.util.setEscapeHtml(false); dwr.engine.setActiveReverseAjax(true); ... function receiveMessages( ){ Chat.getMessages(gotMessages); browserSpecific(); // just a hardcodes reload for safari } The Java-Part looks like this: Collection otherSessions = ctx.getScriptSessionsByPage (currentPage); Iterator iteri = otherSessions.iterator(); while(iteri.hasNext()){ ScriptSession otherSession = (ScriptSession) iteri.next(); System.out.println("Session: "+ otherSession.getId()); otherSession.addScript(new ScriptBuffer().appendScript ("receiveMessages(" + ");")); } My web.xml: <servlet> <servlet-name>dwr-invoker</servlet-name> <display-name>DWR Servlet</display-name> <servlet-class>uk.ltd.getahead.dwr.DWRServlet</servlet-class> <init-param> <param-name>debug</param-name> <param-value>true</param-value> </init-param> <init-param> <param-name>allowGetForSafariButMakeForgeryEasier</param-name> <param-value>true</param-value> </init-param> <init-param> <param-name>pollAndCometEnabled</param-name> <param-value>true</param-value> </init-param> </servlet> I am testing in firefox 1.5.0.9 Do you have any idea? kris
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Safari and DWR 2 (rc2), Brendan Grainger |
|---|---|
| Next by Date: | Re: Reverse Ajax again... FF 1.5.0.9, Kris Wolff |
| Previous by Thread: | Safari and DWR 2 (rc2), Dan Hardiker |
| Next by Thread: | Re: Reverse Ajax again... FF 1.5.0.9, Kris Wolff |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |