Your setter should be setVdat1s() with a capital V to match java bean standards.
There has been other reports on this list of this issue.
On Thu, Dec 17, 2009 at 2:26 PM, Parm Lehal wrote:
> I migrated from struts2.1.6 to 2.1.8.1 and all of a sudden my date
> fields don't get saved any more. H
I migrated from struts2.1.6 to 2.1.8.1 and all of a sudden my date
fields don't get saved any more. Has anyone else faced this issue?
Please, help. I am using plain text field for date and using getter and
setter methods in the model class to format the date.
the form has
Setter in the mode
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
privé ou confidentiel. Si vous n'êtes pas le
destinataire de ce document, nous vous signalons qu'il est strictement interdit
de le diffuser, de le distribuer ou de le reproduire.
- Original Message -
From: "Dariusz Wojtas" <[EMAIL PROTECTED]>
To: "Struts Use
I was having that problem because S2 creates a new action to handle each
request, and I was using Spring as the object factory which reuses the
instances unless specified otherwise (scope="prototype" in Spring 2)
musachy
Dariusz Wojtas wrote:
I am using Spring 2 but I do not define actions in
I am using Spring 2 but I do not define actions in Spring.
I use Spring to manage my services and security (acegi).
As I understand this way the actions are created the 'traditional'
way, and only some setters are later autowired - in this case by name.
My date property does not match any spring s
I had a similar problem before, are you using Spring 2 with S2? If you
are, remember to set scope="prototype" in applicationContext.xml for
your action bean
musachy
Dariusz Wojtas wrote:
Now I am stuck with some other issue, something so strange that seems
to be irrational.
I have an URL
/
Now I am stuck with some other issue, something so strange that seems
to be irrational.
I have an URL
/myAction.action?dataPierwszejRejestracji=2006-12-31
that leads to an action with a Date property - dataPierwszejRejestracji
I submit this URL in IE and Firefox - works.
I submit the same URL
To be less terse:
The Date object is kind of like my wife when I get all excited about
technology... it only acts like it cares about time zone.
If you're parsing from text, try feeding the DateFormat object a TimeZone
before parsing:
DateFormat formatter = DateFormat.getDateTimeInstance
(Date
Feed it to the Calendar (yum).
On 25 Jul 2005 03:43:54 -, syed abrar <[EMAIL PROTECTED]> wrote:
>
>
> Hello
> This problem is more of a core java issue than a struts one.
> I have a user interface to accept time and another field to enter the
> difference of time with GMT (GMT+x or GMT-1)
Hello
This problem is more of a core java issue than a struts one.
I have a user interface to accept time and another field to enter the
difference of time with GMT (GMT+x or GMT-1) .
I have to accept this time and convert the time exactly into the
timezone in which the ser
15 matches
Mail list logo