Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts client side validation is not supporting for image button

 
Rajagopal Mani
Ranch Hand
Posts: 84
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic