dwr

Interacting with objects managed by DWR from JSP

I'm working with Direct Web Remoting (DWR) as part of a 'plain' dynamic Java project (hosted on a Tomcat 6.0 server with Java 6). I have a simple JSP page which interacts with session-level variables within my user's session. However, I also have a session-level object managed by DWR via the 'new' constructor. Is it possible to, from w...

DWR call fixes CSS problem in IE7???

Hi, I am facing a very strange issue in IE7. In our project I use DWR for getting data from server and then to transform them into table rows. This HTML result I insert into DOM. And here is the problem - after inserting the rows. I have table that has only one row and one column and the background of the only one cell is let's say red....

How to handle cross-domain requests in DWR 3.0

I used to handle cross-domain scripting in DWR 2.0 by setting the remoting method to ScriptTag through the dwr.engine.setRpcType(dwr.engine.ScriptTag); function and setting some initial parameters for the DWR servlet on the web.xml as described in the remoting options section on the official website. However, in DWR 3.0, the setRpcType...

Dwr callback "data" object length

I'm using dwr to handle ajax calls to a java backend, I'm returning a Map in java, and I need to know its size in javascript when it returns in a callback function. Is there a way to do that? ...

Is there a JavaScript API for XML binding - analog to JAXB for Java?

In Java, we work a lot with JAXB2. Object<->XML mappings are defined as annotations in Java classes: @XmlRootElement(name="usertask", namespace="urn:test") public class UserTask { @XmlElement(namespace="urn:test") public String getAssignee() { ... } public void setAssignee(String assignee) { ... } } JAXB runtime can read ...

Using DWR with Oracle BPM

Hi, I am trying to use DWR in Oracle BPM. I am new to Oracle BPM and would like to know where I need to put the classes, dwr.xml files etc. Any help is appreciated. An example would really help. Thank you in advance! OBPM NewBie ...

DWR + terracotta+ jetty working together

Hi, I have project where we use DWR for comet, and Jetty because of continuations feature. My problem is, that we also use terracotta for clustering. And terracotta supports only Jetty 6.x but not Jetty 7, and DWR is best with Jetty 7 continuations. When I run terracotta with Jetty 7 it throws java.lang.IllegalStateException: This clas...

Web debug: tracking GET source

I'm trying to fix a long standing bug in our rich GUI web app. It is a GET being executed out of place without query string parameters, causing uncaught exception on the business layer on the server due to missing parameters, returned as an error page. Environment: jQuery (UI) + DWR (allow Java and JS to call each other through AJAX) + ...