You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2008/01/22 00:02:42 UTC

[jira] Resolved: (MYFACES-1781) Problem with required field and label attribute

     [ https://issues.apache.org/jira/browse/MYFACES-1781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved MYFACES-1781.
-------------------------------------

       Resolution: Duplicate
    Fix Version/s: 1.2.2

Issue duplicated (see MYFACES-1729)

> Problem with required field and label attribute
> -----------------------------------------------
>
>                 Key: MYFACES-1781
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1781
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions:  1.2.0
>         Environment: Tomcat 6, Facelets 1.1.14, ajax4jsf 1.0.5, jdk 1.5_06
>            Reporter: Ricard Moré
>             Fix For: 1.2.2
>
>
> Hi,
> I am testing MyFaces 1.2 implementation, but I think I found an issue with required field validation.
> I have a required message like this 'El campo {0} es obligatorio' in my resourceBundle with label javax.faces.component.UIInput.REQUIRED. 
> In the h:inputText im tryng to substitute the {0} param with the label attribute value.
> The problem is that, if I use a label reference like label="#{bundle['login.password']}" the {0} is subtituted by a null value.
> But if I use label="aaaaa" or label="#{loginForm.passwordLabel}" it works fine. It seems that label attribute do not accept messages from resourceBundle.
> Sorry for my simple english... I hope you can understand the problem.
> Regards,
> Ricard

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.