[ http://issues.apache.org/jira/browse/MYFACES-421?page=all ]
Martin Marinschek closed MYFACES-421:
-------------------------------------
Fix Version: Nightly Build
Resolution: Fixed
Assign To: Martin Marinschek
Thanks to Jurgen Lust for identifying this bug - and finding out that it has
already been fixed.
> <h:message> errorClass attribute does nothing
> ---------------------------------------------
>
> Key: MYFACES-421
> URL: http://issues.apache.org/jira/browse/MYFACES-421
> Project: MyFaces
> Type: Bug
> Components: JSF 1.1
> Versions: 1.0.9 beta
> Environment: Jboss 4.0.2, Linux
> Reporter: Jurgen Lust
> Assignee: Martin Marinschek
> Fix For: Nightly Build
>
> When an error message is displayed after a conversion error, the <h:message>
> tag isn't rendered in the appropriate css class, as specified by the
> errorClass attribute.
> For example:
> <h:outputLabel id="datumLabel" for="datumInput">
> <h:outputText value="#{bundle.DatumLabel}"/>
> </h:outputLabel>
> <h:panelGrid columns="1" cellpadding="0" cellspacing="0">
> <h:inputText id="datumInput"
> size="10"
> required="true"
> value="#{converters.datum}"
> >
> <f:convertDateTime pattern="dd/MM/yyyy" />
> </h:inputText>
> <h:message id="datumMessage" for="datumInput" errorClass="error"
> fatalClass="error" infoClass="message"
> warnClass="message"/>
> </h:panelGrid>
> When an invalid date is entered here, the resulting HTML for the message
> looks like this:
> <span id="body:_id4:datumMessage">ongeldige datum</span>
> No trace of 'class="error"'
> I have also tried the <x:message> tag, with the same result
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira