RE: AJAX with DWR but without DOJO?

2009-02-17 Thread lllewell
ginalCallback) { > if (dt.data) originalCallback(dt.data); > else if (dt.text) originalCallback(dt.text); > else originalCallback(dt); > }; > > /** Utility to check to see if the passed object is an input element / > element id */ > dwr.webwork.isElement = function(elementOrId)

RE: AJAX with DWR but without DOJO?

2009-02-13 Thread lllewell
Filter applies to the URL /dwr/*. > > So with this code you can invoke any Action in your application, and > return > information from that Action. The validation framework will work here too, > returning any validation errors in the fieldErrors attribute before > reaching >

Re: AJAX with DWR but without DOJO?

2009-02-13 Thread lllewell
ugin, for which there are > some examples around: > > http://www.javaworld.com/javaworld/jw-10-2008/jw-10-struts2validation.html?page=5 > > musachy > > On Fri, Feb 13, 2009 at 11:42 AM, lllewell > wrote: >> >> Greetings all - >> >> I inherited a struts2 w

AJAX with DWR but without DOJO?

2009-02-13 Thread lllewell
Greetings all - I inherited a struts2 webapp that is using the "simple" theme all the way through. I'd like to add some Ajax validation to one of the pages using DWR. I'm interested in doing this without DOJO (theme="ajax"). I see an example of how to do Prototype validation without DOJO her

Type conversion/OGNL question

2008-03-19 Thread lllewell
Greetings, Using Struts2, 2.0.11 and Java 5, and having problems with custom type conversion when I type invalid data in a field. I want to convert times in military format (0700, 2205) to equivalent java.util.Date, with the date fields set to 1-1-1970. I am using the defaultStack, which includ