myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesper Pedersen (JIRA)" <>
Subject [jira] Created: (MYFACES-1179) f:convertDateTime can't handle 'complex' value bindings
Date Thu, 16 Mar 2006 08:46:15 GMT
f:convertDateTime can't handle 'complex' value bindings

         Key: MYFACES-1179
     Project: MyFaces Core
        Type: Bug
    Versions: 1.1.2-SNAPSHOT    
 Environment: MyFaces-1.1.2-SNAPSHOT + Tomahawk-1.1.2-SNAPSHOT
    Reporter: Jesper Pedersen

I've the following

  <%request.setAttribute("today", new Date());%>
  <h:outputText value="<h2> #{today} </h2>" escape="false">
    <f:convertDateTime type="date" dateStyle="medium"/>

which should - to section 5.1.2 of the spec - output

  <h2> Mar 16, 2006 </h2>

But outputs:

  <h2> Thu Mar 16 09:29:15 UTC 2006 </h2>

So it seems that f:convertDateTime can't handle 'complex' value binding expression.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message