[richfaces-issues] [JBoss JIRA] Resolved: (RF-4433) messages: rich:messages don't work together with ajaxValidator.

Alexander Smirnov (JIRA) jira-events at lists.jboss.org
Mon Dec 22 19:57:54 EST 2008


     [ https://jira.jboss.org/jira/browse/RF-4433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Smirnov resolved RF-4433.
-----------------------------------

    Fix Version/s: 3.3.0
                       (was: Future)
       Resolution: Done


rich:messages component have been modified to keep messages list and update that with messages from the current ajax-validated component only.


> 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

        



More information about the richfaces-issues mailing list