Try using a Date object for your field, and set saveFormat="rfc" for the
widget.
musachy
On 6/13/07, Diego Yasuhiko Kurisaki <[EMAIL PROTECTED]> wrote:
I'm manually using the DojoTookit Date Picker withe the following pattern
dd/MM/yyy
in my action i have a setter method like this.
setDate(Date date){
this.date = date
}
But it seens that the struts 2 when sets the method changes from
dd/MM/yyyy
for MM/dd/yyyy does anyone know any solution?
I've tried to make a set method that receives String and then parse the
date
by myself. But the new setMethod was not called when the form is
submitted
.
On 6/13/07, Torsten Römer <[EMAIL PROTECTED]> wrote:
>
> Everytime my app starts, I see this in the log:
>
> 13.06.2007 23:50:27 org.apache.struts2.config.Settings getLocale
> WARNUNG: Settings: Could not parse struts.locale setting, substituting
> default VM locale
>
> I put
>
> <constant name="struts.locale" value="en_GB" />
>
> in my struts.xml, but I still get the error (and the default VM locale
> is used, which I don't want)
>
> Torsten
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
[]'s Diego Yasuhiko Kurisaki
--
"Hey you! Would you help me to carry the stone?" Pink Floyd