I'm getting tired.

We have this jsf code:

                1: <h:outputText value="#{enrollmentH.instance.startDate}" 
/><br />
                <f:verbatim>2: ${enrollmentH.instance.startDate}<br 
/></f:verbatim>
                <x:inputText id="startDate"
                             value="#{enrollmentH.instance.startDate}"
                             required="true"
                             size="10"
                             maxlength="10"
                             displayValueOnly="#{not enrollmentH.showFields}"
                             
displayValueOnlyStyleClass="#{enrollmentH.viewMode}">
                  <f:convertDateTime pattern="dd/MM/yyyy" />
                </x:inputText>

(ok, it's hacked)

the enrollmentH.instance.startDate is a java.util.Date, 1 september 2005.

What is shown is

31-aug-2005
2: 2005-09-01
31/08/2005?

in other words:

h:outputText rendes 31 august
JSP el renders 1 september
h:inputText renders 31 august

JSF is one day off!!!

It's probably our fault. We are using a custom build of the main trunk, 
2005-09-28, 11:00am CET.
What are we missing????

Reply via email to