[richfaces-issues] [JBoss JIRA] Updated: (RF-10556) <rich:validation/> message not respecting localized user presentable name for component, allways default to from id plus component id
Anton Belevich (JIRA)
jira-events at lists.jboss.org
Thu Feb 24 07:16:06 EST 2011
[ https://issues.jboss.org/browse/RF-10556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anton Belevich updated RF-10556:
--------------------------------
Attachment: richfaces4_validation_names.png
> <rich:validation/> message not respecting localized user presentable name for component, allways default to from id plus component id
> -------------------------------------------------------------------------------------------------------------------------------------
>
> Key: RF-10556
> URL: https://issues.jboss.org/browse/RF-10556
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-validators
> Affects Versions: 4.0.0.Milestone6
> Environment: Tomcat 7.0.8 / Mojarra 2.0.4
> Reporter: Flávio Henrique
> Assignee: Anton Belevich
> Fix For: 4.0.0.CR1
>
> Attachments: richfaces4_validation_names.png
>
>
> <rich:validation/> message not respecting localized user presentable name for component, allways default to from id plus component id.
> In this example, I put "label" attribute in all components, but didn´t work.
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:ui="http://java.sun.com/jsf/facelets"
> xmlns:a4j="http://richfaces.org/a4j"
> xmlns:rich="http://richfaces.org/rich">
> <h:head>
> </h:head>
> <h:body>
> <h:form>
> <rich:panel>
> <f:facet name="header">
> <h:panelGroup>
> <h:outputText value="User information" />
> <a4j:status>
> <f:facet name="start">
> <h:graphicImage value="/images/ai.gif"
> style="height:12px;width:12px;" />
> </f:facet>
> </a4j:status>
> </h:panelGroup>
> </f:facet>
> <h:panelGrid columns="3">
> <h:outputText value="Name:" />
> <h:inputText id="name" label="Nome Completo">
> <f:validateLength minimum="3" maximum="8" />
> <f:validateRequired />
> <rich:validator />
> </h:inputText>
> <rich:message for="name" />
> <h:outputText value="Email" />
> <h:inputText id="email" validatorMessage="bad email" label="email correto">
> <f:validateRegex
> pattern="^(([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5}){1,25})+([;.](([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5}){1,25})+)*$"></f:validateRegex>
> <rich:validator />
> </h:inputText>
> <rich:message for="email" />
> <h:outputText value="Age" />
> <h:inputText id="age" label="Idade">
> <f:validateLongRange minimum="18" maximum="99" />
> <rich:validator />
> </h:inputText>
> <rich:message for="age" />
> </h:panelGrid>
> <a4j:commandButton value="Ok"/>
> </rich:panel>
> </h:form>
> </h:body>
> </html>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list