This content has been marked as final.
Show 2 replies
-
1. Re: selectDate with pattern
norman.richards Feb 6, 2007 6:07 PM (in response to jcalienes)As of 1.1.5: <s:selectDate dateFormat="dd/MM/yyyy" ... />
-
2. Re: selectDate with pattern
soluble Jun 16, 2007 1:28 PM (in response to jcalienes)I also require dd/MM/yyyy. Using Seam 1.2.1.GA, the dateFormat property in <s:selectDate/> doesn't seem to work.
<h:inputText id="startDate" value="#{event.startDate}" required="true"/> <s:selectDate for="startDate" dateFormat="dd/MM/yyyy"> <h:graphicImage url="../img/dtpick.gif" style="margin-left:5px;cursor:pointer" /> </s:selectDate>
It still produces a MM/dd/yyyy output. I have looked at previous posts and the Seam Resource servlet in my web.xml. What am I doing wrong? Is this a bug?