Hi,
I need to add custom attribute to the "html:text" tag.
Example:
<html:text name="emailForm" property="email" performValidate="true" />
And the result would be
<input type="text" name="email" value="" performValidate="true">
The attribute "performValidate" will then be checked with JavaScript.
Is this possible to do? Maybe I can extend struts taglib?
I need to add custom attribute to the "html:text" tag.
Example:
<html:text name="emailForm" property="email" performValidate="true" />
And the result would be
<input type="text" name="email" value="" performValidate="true">
The attribute "performValidate" will then be checked with JavaScript.
Is this possible to do? Maybe I can extend struts taglib?