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
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
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
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 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
se ???
Martin-
- Original Message -
From: "Xavier Vanderstukken" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Saturday, November 05, 2005 12:31 PM
Subject: Re: Date pattern
OK thanks but I already think to put the user date pattern in th
OK thanks but I already think to put the user date pattern in the i18n
resources files, but I just would like to have a programmatic way to
read the date pattern instead of the other one.
Thanks for you response
Martin Gainty wrote:
Xavier-
WebLogic solution
http://e-docs.bea.com/wls/docs81
-
- Original Message -
From: "Xavier Vanderstukken" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Saturday, November 05, 2005 5:13 AM
Subject: Date pattern
I would like to retrieve the date format pattern according to the user
Locale.
I do the follow
I would like to retrieve the date format pattern according to the user
Locale.
I do the following to retrieve the Struts Locale :
Locale
current=(Locale)this.pageContext.getSession().getAttribute(Globals.LOCALE_KEY);
if(current==null)
current=Locale.US;
And now I would like to rea
9 matches
Mail list logo