[richfaces-issues] [JBoss JIRA] Assigned: (RF-764) rich:message: FuncSpec-RF-M-CL-015-1.0. The result is not that expected

Anton Belevich (JIRA) jira-events at lists.jboss.org
Wed Oct 10 05:37:14 EDT 2007


     [ http://jira.jboss.com/jira/browse/RF-764?page=all ]

Anton Belevich reassigned RF-764:
---------------------------------

    Assignee: Nick Belaevski  (was: Anton Belevich)

to fix this issue we must save previous message in our message component should we do this?

> rich:message: FuncSpec-RF-M-CL-015-1.0. The result is not that expected
> -----------------------------------------------------------------------
>
>                 Key: RF-764
>                 URL: http://jira.jboss.com/jira/browse/RF-764
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>         Environment: richfaces-demo
>            Reporter: Sergey Smirnov
>         Assigned To: Nick Belaevski
>             Fix For: 3.2.0
>
>
> FuncSpec-RF-M-CL-015-1.0 passed state rendering 
> 	Message should not show "passed" state in case of initial rendering. Any state of message should be shown only after some submit occurs (after some validation). 
> The current version does not work like this. The "passed" facet is shown event the field is not validated.
> Example:
> 			<h:form>
> 				<h:panelGrid columns="3">
> 					<h:outputText value="Name:" />
> 					<h:inputText label="Name" id="name" required="true" value="#{userBean.name}">
> 						<a4j:support event="onblur" ajaxSingle="true" />
> 					</h:inputText>
> 					<rich:message for="name">
> 						<f:facet name="passedMarker">
> 							<h:outputText value="V" />
> 						</f:facet>
> 						<f:facet name="errorMarker">
> 							<h:outputText value="X" />
> 						</f:facet>
> 					</rich:message>
> 					
> 					<h:outputText value="Job:" />
> 					<h:inputText label="Job" id="job" required="true" value="#{userBean.job}">
> 						<a4j:support event="onblur"  ajaxSingle="true"/>
> 					</h:inputText>
> 					<rich:message for="job">
> 						<f:facet name="passedMarker">
> 							<h:outputText value="V" />
> 						</f:facet>
> 						<f:facet name="errorMarker">
> 							<h:outputText value="X" />
> 						</f:facet>
> 					</rich:message>
> 					
> 					<h:outputText value="Address:" />
> 					<h:inputText label="Address" id="address" required="true" value="#{userBean.address}">
> 						<a4j:support event="onblur"  ajaxSingle="true"/>
> 					</h:inputText>
> 					<rich:message for="address">
> 						<f:facet name="passedMarker">
> 							<h:outputText value="V" />
> 						</f:facet>
> 						<f:facet name="errorMarker">
> 							<h:outputText value="X" />
> 						</f:facet>
> 					</rich:message>
> 					
> 				</h:panelGrid>
> 			</h:form>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list