[
https://jira.jboss.org/jira/browse/RF-4433?page=com.atlassian.jira.plugin...
]
Alexander Smirnov updated RF-4433:
----------------------------------
Re-rendering of the "messages" components was disabled in the validator ,
because we should also keep old messages for a all other components. Otherwise, we can
lost messages for a invalid input fields, skipped in the current request.
messages: rich:messages don't work together with ajaxValidator.
---------------------------------------------------------------
Key: RF-4433
URL:
https://jira.jboss.org/jira/browse/RF-4433
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: IE6, IE7, FF 3.1, Safari 3.1, Opera 9.52(3.2.2-SNAPSHOT)
Reporter: Mikhail Vitenkov
Assignee: Alexander Smirnov
Fix For: 3.3.0
#1. Use following code:
<h:form id="ajaxValidatorForm2">
<rich:panel>
<f:facet name="header">
<h:outputText value="User Info:" />
</f:facet>
<h:panelGrid columns="3">
<h:outputText value="Name:" />
<h:inputText value="#{validationBean.name}" id="name"
required="true">
<rich:ajaxValidator event="onblur" />
</h:inputText>
<rich:messages/>
<h:outputText value="Email:" />
<h:inputText value="#{validationBean.email}" id="email">
<rich:ajaxValidator event="onblur" />
</h:inputText>
<h:outputText value="Age:" />
<h:inputText value="#{validationBean.age}" id="age">
<rich:ajaxValidator event="onblur" />
</h:inputText>
</h:panelGrid>
</rich:panel>
</h:form>
#2. Enter invalid e-mail & click outside the panel.
Actual behavior:
There are no messages apper.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira