History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WW-1043
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Rainer Hermanns
Reporter: Rainer Hermanns
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
WebWork

Validation Errors with DWR (AJAX Tutorial)

Created: 22/Dec/05 05:54 PM   Updated: 08/Jan/06 11:02 PM
Component/s: Examples
Affects Version/s: None
Fix Version/s: 2.2

Environment:
Firefox 1.5, OSX 10.4.x/Windows
Safari 2.0.x OSX 10.4.x


 Description  « Hide
Seems to be a configuration error...
But DWR based validation does not work properly on above environment.

To verify that it is working properly, try http://localhost:8080/ajax/lesson1/hello!default.action.
Have a look at console output and javascript console!

(convert.MapConverter 44 ) Missing type info for doPost(), param=2. Assuming this is a map with String keys. Please add to <signatures> in dwr.xml
(convert.MapConverter 44 ) Missing type info for doPost(), param=2. Assuming this is a map with String values. Please add to <signatures> in dwr.xml
(impl.ExecuteQuery 36 ) Executing: public com.opensymphony.xwork.ValidationAwareSupport com.opensymphony.webwork.validators.DWRValidator.doPost(java.lang.String,java.lang.String,java.util.Map) throws java.lang.Exception

 All   Comments   Change History      Sort Order:
Patrick Lightbody - [22/Dec/05 06:14 PM ]
I fixed those MapConverter errors by updated dwr.xml...

Alexandru Popescu - [26/Dec/05 04:55 AM ]
According to http://forums.opensymphony.com/thread.jspa?threadID=12353 this is not working in Firefox 1.0.7, so it looks like it is working just on IE.

./alex
--
.w( the_mindstorm )p.

Patrick Lightbody - [07/Jan/06 03:57 PM ]
I can verify that AJAX validation isn't working on IE or FireFox right now.

Rainer Hermanns - [08/Jan/06 02:26 PM ]
DWR validation is working fine for me with FF 1.5, but the submit action for lesson1 is still not working.
IE 5.5/6.0 still throws some really disturbing error messages which I could not yet resolve.

Patrick Lightbody - [08/Jan/06 07:12 PM ]
Rainer - you're right, I have the same problems. Let's hope Ian can fix them.

Ian Roughley - [08/Jan/06 11:02 PM ]
Added name attribute to the form, added a resultDivId attribute to the submit tag and fixed some JS code.