dev@javaserverfaces.java.net

[DateTimeConverter] Tag issue ?

From: Matthias Wessendorf <matzew_at_apache.org>
Date: Wed, 24 Oct 2007 17:42:21 +0200

Hi,

using JSF RI (1_2_04-p02) + Trinidad 1.2.x

I noticed the following, when a "pattern" is null, like


<tr:inputText >
  <tr:convertDateTime pattern="#{null}"/>
</tr:inputText>

A "default" date is visible.

But with f: (using the RI Tag to create the overridden DateTimeConverter)
<tr:inputText >
  <f:convertDateTime pattern="#{null}"/>
</tr:inputText>

nothing is displayed.

The null get's resolved as "" and therefore the DateFormat "parser"
returns no date.

Someone noticed this too ?


-- 
Matthias Wessendorf
further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org