aspose file tools
The moose likes Struts and the fly likes Struts client side validation is not supporting for image button Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Struts client side validation is not supporting for image button" Watch "Struts client side validation is not supporting for image button" New topic
Author

Struts client side validation is not supporting for image button

Rajagopal Mani
Ranch Hand

Joined: Mar 24, 2011
Posts: 80

Dear All,

Struts client side validation is not supporting for the image button(*1) where as it is working for framework & html buttons(*2). It is not showing the javascript alert message where the field associates with "required" validate rule.

*1
----
This is round codner button which needs to be used as per the requirement.

<div class="buttonwrapper">
<a class="ovalbutton" onclick="clickFind('xxx.do')"><span><bean:message key="button.find"/></span></a>
</div>

*2
----
<html:submit value="Find" onclick="clickFind('xxx.do')" />
<input type="submit" value="Find"onclick="clickFind('xxx.do')" />

How to enable validator rule with image button. Please share if there is any possible resolution.

Thanks
 
I agree. Here's the link: http://zeroturnaround.com/jrebel
 
subject: Struts client side validation is not supporting for image button
 
Similar Threads
Hiding a popup span with onblur
Handling validations of multiple forms in single jsp
scroll bar down
popup in small window is not closing automatically
creating button using <s:button> - similar to the CSS based button