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é
Priority: Minor
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.