converting <f:param>

Hi all,

does anyone know if it's possible to convert a <f:param> nested in a <h:outputFormat> tag using standard or custom converters? A very simple example is:

<h:outputFormat value="Today is {0}">

<f:param value="#{bean.date}"/>

</h:outputFormat>

and I'd like to have the bean.date property (of type java.util.Date) properly formatted. Tried nesting <f:formatDateTime> inside the <f:param> tag, but that doesn't seem to work.

Thanks for even thinking about it :-)

Josef

[615 byte] By [josef.mrtvya] at [2007-11-26 18:09:22]
# 1
So far I've found that for dates and numbers one can use MessageFormats like<h:outputFormat value="Today is {0,date,full}">,however, I'm curious if there's a more general solution.Any suggestions
josef.mrtvya at 2007-7-9 5:41:18 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...