On Mon, 14 Feb 2005 12:38:42 -0600, Hubert Rabago <[EMAIL PROTECTED]> wrote:
> Now that you mention it, I gotta remember to find a doc which would
> explain to me how JSF decides how to format dates and numbers. I'm
> curious.
You nest an appropriate converter in your input or output component:
<h:outputText ... value="#{mybean.dateField}">
<f:convertDateTime .../>
</h:outputText>
The date/time converter has all the capabilities to do locale-specific
conversions that you see in JSTL's <fmt:formatDate> and
<fmt:parseDate> tags. There's also a corresponding number converter
for locale-specific number representations.
Craig
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]