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/
for MM/dd/ does anyone know any solution?
I
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(
I'm using saveFormat=rfc and java.util.Date as my object
My dojo is.
">
and my setter
public void setDataInicial(Date dataInicial) {
this.dataInicial = dataInicial;
}
I've tried to change my setter method to
public void setDataInicial(Date dataInicial) {
SimpleDateFormat dateFo
Make sure the inputName matches the name of the setter method, I assume you
have a getAnuncio() in your action whose result has a setDataInicial()
method right?
musachy
On 6/13/07, Diego Yasuhiko Kurisaki <[EMAIL PROTECTED]> wrote:
I'm using saveFormat=rfc and java.util.Date as my object
My d
Yes thats right...
When i have the following signature for the setter method
setDataInicial(java.util.Date data){
}
The method is called properly and my date is setted, but it changes dd/MM
for MM/dd, so if my date is 01/12 (first of december) in my bean it turns to
12/01 (twelveth of january
5 matches
Mail list logo