date « Page « JSF Q&A

1. Syntax within a Seam page.xml to output current date?

Is it possible to something like the following to assign the 'occurredAt' attribute with a call using Seam's extended support for SEAM EL (seam 2.2)?

  <rule if-outcome="search">
   <out ...

2. JSF page reflects Date incorrectly - 1 Day shifted

DB value of Date is:

Bean method returns:
Mon Oct 04 00:00:00 EEST 2010
JSF returns:
JSF code:
     <h:outputText value="#{paym.dueDate}" >