[richfaces-issues] [JBoss JIRA] Closed: (RF-4034) Validator: message from bundle does not pass to annotation.
Mikhail Vitenkov (JIRA)
jira-events at lists.jboss.org
Wed Aug 6 10:04:56 EDT 2008
[ https://jira.jboss.org/jira/browse/RF-4034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mikhail Vitenkov closed RF-4034.
--------------------------------
Assignee: Mikhail Vitenkov (was: Tsikhon Kuprevich)
Verified at 3.2.2.BETA3
> 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: Mikhail Vitenkov
> 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