Reset functionility is broken if reRender attribute is used in Richfaces components.
Issue
If we have 2 button Search and Reset as following:
<a:commandButton action="#{myBean.action1}" reRender="someid" type="reset" value="Reset" ajaxSingle="true" />
Which is used to clear the entire form, it works fine if i just press Reset, but if i press Search button and any fields fails validation (a desired message is displayed ), now if i press Reset form does not clear.
Environment
- JBoss Enterprise Application Platform (EAP) 5.x
- Richfaces
- JSF
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
