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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
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: 84

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://aspose.com/file-tools
 
subject: Struts client side validation is not supporting for image button