[ http://issues.apache.org/jira/browse/ADFFACES-333?page=all ]

Adam Winer resolved ADFFACES-333.
---------------------------------

    Resolution: Cannot Reproduce

I just tried this with the latest codebase, and it worked fine.  Here's my 
.jspx:

<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"; version="2.0"
          xmlns:f="http://java.sun.com/jsf/core";
          xmlns:tr="http://myfaces.apache.org/trinidad"; >
  <jsp:directive.page contentType="text/html;charset=utf-8"/>
  <f:loadBundle var="nls"
     basename="org.apache.myfaces.trinidaddemo.email.resource.EmailDemoBundle"/>
  <f:view>
    <tr:document>
       <tr:form>
         <tr:inputText required="true" label="#{nls.MESSAGE_SENT}"/>
         <tr:commandButton text="Submit"/>
       </tr:form>
    </tr:document>
  </f:view>
</jsp:root>


> Label EL not suppoted for required validation messages
> ------------------------------------------------------
>
>                 Key: ADFFACES-333
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-333
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>         Environment: Nightly build for 2006-12-14, Sun RI 1.2_03-b05-FCS
>            Reporter: Keith Counsell
>
> EL labels are not supported by <tr:messages/> when required inputs are not 
> populated.  For example:
> <f:loadBundle basename="Labels" var="labels"/>
> <tr:messages/>
> <tr:inputText label="#{labels['foo']}" required="true"/>
> <tr:commandButton text="Submit"/>
> The messages tag shows only "- Value Required." if the inputText is not 
> filled in.

-- 
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

        

Reply via email to