File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes How to suppress client-side validation when field in bind to dojo’s ajax call? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to suppress client-side validation when field in bind to dojo’s ajax call?" Watch "How to suppress client-side validation when field in bind to dojo’s ajax call?" New topic
Author

How to suppress client-side validation when field in bind to dojo’s ajax call?

Itamar Avni
Greenhorn

Joined: May 05, 2009
Posts: 1
Using Struts 2 and Dojo

Given a Form with validate="true" for client-side validation, I have a form textfield that is bind to an Ajax action. When the field is changed the Ajax call should be executed (achieved by events="onkeyup"). Only the bound field is added to the Ajax call (using formFilter attribute).

But, the validation is executed before the Ajax call.

How can I achieve the Ajax action on the field without form client-side validation, and also client-side validation when the form is submitted?

10x for any effort.
I.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to suppress client-side validation when field in bind to dojo’s ajax call?