Using:
| <td>
| <s:decorate>
| <h:inputText id="dateEffectiveTo"
value="#{user.dates.dateEffectiveTo}">
| <s:convertDateTime pattern="dd/MM/yyyy"/>
| </h:inputText>
| <s:selectDate for="dateEffectiveTo" startYear="2007"
dateFormat="dd/MM/yyyy">
| <h:graphicImage url="#{basePath}/images/datepicker.gif"
style="margin-left:5px;cursor:pointer"/>
| </s:selectDate>
| </s:decorate>
| </td>
|
if I use the date pickler it always posts back to the text field as
MM/dd/yyyy
e.g.
field is defaulted to:
31/03/2007
pick 21st from date picker and fiels is set to:
03/21/2007
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033391#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...