]
Nick Belaevski updated RF-3925:
-------------------------------
Fix Version/s: 3.2.2
Assignee: Alexander Smirnov (was: Nick Belaevski)
graphValidator: when all ajaxValidators passed successfully, after
submit h:message for all validated components says, that validation failed in case using
graphValidator.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: RF-3925
URL:
https://jira.jboss.org/jira/browse/RF-3925
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: IE6, IE7, FF 3.0, Safari 3.1, Opera 9.5(3.2.2.BETA1)
Reporter: Mikhail Vitenkov
Assignee: Alexander Smirnov
Fix For: 3.2.2
Attachments: GraphValidatorBean.java, ValidatorBean.java
Step 1. Create panelGrid with h elements, like inputText, selectOneMenu,
selectBooleanCheckBox... which are validated by ajaxValidator following way:
<rich:graphValidator value="#{graphValidator}">
<h:panelGrid columns="2" border="2"
id="panelGridID">
...
<h:outputLabel for="mailValue" value="Mail validation:" />
<h:panelGroup>
<h:inputText value="#{validator.text}" id="mailValue">
<rich:ajaxValidator event="onchange" a></rich:ajaxValidator>
</h:inputText>
<rich:message for="mailValue" showDetail="true"
showSummary="true" />
</h:panelGroup>
...
</h:panelGrid>
</rich:graphValidator>
Step 2. Input valid values in all fields.
Step 3. Submit form, contained tested panelGrid.
Actual behavior:
h:messages for appropriate fields appears. For more info see attached ValidatorBean.java
& GraphValidatorBean.java.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: