[richfaces-issues] [JBoss JIRA] Updated: (RF-4034) Validator: message from bundle does not pass to annotation.

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Mon Jul 28 09:59:45 EDT 2008


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

Nick Belaevski updated RF-4034:
-------------------------------

    Fix Version/s: 3.2.2


> Validator: message from bundle does not pass to annotation.
> -----------------------------------------------------------
>
>                 Key: RF-4034
>                 URL: https://jira.jboss.org/jira/browse/RF-4034
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.2
>         Environment: 3.2.2.BETA2
>            Reporter: Alexander Dubovsky
>            Assignee: Nick Belaevski
>             Fix For: 3.2.2
>
>         Attachments: 10.png
>
>
> Source of page:
> <rich:panel>
> 		<f:facet name="header">
> 			<h:outputText>Single input field with label and message. Validated by AJAX on every changing.</h:outputText>
> 		</f:facet>
> 		<h:outputLabel for="ltext" value="#{lengthBean.textDescription}" />
> 		<h:inputText id="ltext" value="#{lengthBean.text}">
> 			<rich:ajaxValidator event="onchange" />
> 		</h:inputText>
> 		<rich:message for="ltext" showDetail="true" showSummary="true" />
> 	</rich:panel>
> Annotation from bean:
> @Length(max=10,min=4,message="{sizeFailure} !!!")	
> 	private String text;
> Message from bundle:
> sizeFailure=correct range is {min}-{max}
> ___
> # Open page with validated input
> # Input only one character
> Result: validation error as on attached screen
> Expected result: validation error "correct range is 4-10 !!!"

-- 
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