[ http://issues.apache.org/jira/browse/MYFACES-1178?page=all ] Jesper Pedersen closed MYFACES-1178: ------------------------------------
> f:convertDateTime can't handle 'complex' value bindings > ------------------------------------------------------- > > Key: MYFACES-1178 > URL: http://issues.apache.org/jira/browse/MYFACES-1178 > 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"/> > </h:outputText> > 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 'complex' value binding expression. -- 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