Reset functionility is broken if reRender attribute is used in Richfaces components.

Solution Unverified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content