This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Struts client side validation is not supporting for image button
 
It's not a secret anymore!