jsf output text with fn substring

Posted by user2361862 on Stack Overflow See other posts from Stack Overflow or by user2361862
Published on 2013-06-25T13:59:15Z Indexed on 2013/06/25 16:21 UTC
Read the original article Hit count: 406

Filed under:
|
|

I want to format a date in jsf which is xmlgregoriancalendar type. I've come across post which say I need custom converter. Does anybody found solution which does not require custom date converter. I was trying following but I gives me error saying...

Element type "h:outputText" must be followed by either attribute specifications, ">" or "/>".

This is what I tried on jsf

<h:outputText value="#{fn:substringBefore(aClip.lastTransmittedDate,"T")}">
     <f:convertDateTime pattern="dd.MM.yyyy" />
</h:outputText>

Can anybody point out the explain the error I'm getting?

© Stack Overflow or respective owner

Related posts about jsf

Related posts about output