From:
> "Andreas Sachs"
> To:
> user@struts.apache.org
> Date:
> 08-09-2010 18:54
> Subject:
> Dojo datetimepicker problem
>
>
>
> Struts: 2.1.8.1
> Hi,
> some of my users have a problem with the datetimepicker.
> During an order process the users hav
Andi,
I have noticed this happening once in a while in my app too. haven't
investigated yet. Did you try to reproduce this with your browser cache
turned off?
/Rahul
From:
"Andreas Sachs"
To:
user@struts.apache.org
Date:
08-09-2010 18:54
Subject:
Dojo datetimepicker pr
Struts: 2.1.8.1
Hi,
some of my users have a problem with the datetimepicker.
During an order process the users have to provide a date. Almost all users can
do this (>7000 orders). But i have three error reports, that the date selection
field is not shown (the text input field and the icon to ope
Sure I succeeded wrapping the String to Date conversion outside of the
action class with custom type conversion class.
I guess I expected that when uses java.util.Date
property when rendering the HTML, I will get the new value in the same
property after submitting the form which holds the
Since
Were you able to get this to pass through as a date? After reading what was
posted here it seems like it definitely should be possible, but that you were
still having issues.
-Tim
Dimitar Vlasev wrote:
Though it would be even elegant enough solution if I was able to refer
to the static patter
> Though it would be even elegant enough solution if I was able to refer
> to the static pattern String in the .jsp like that
>
> But I got exception:
> According to TLD or attribute directive in tag file, attribute
> displayFormat does not accept any expressions
Accessing static properties resol
Few findings:
http://struts.apache.org/2.0.14/docs/type-conversion.html
at section "Built in Type Conversion Support" documentation says:
XWork will automatically handle the most common type conversion for
you. This includes support for converting to and from Strings for each
of the following:
...
Thank you Timothy, I've suspected something like that. Of course
anyone can read Date from String but the question was is this behavior
a bug or a feature.
Musachy:
has attribute "displayFormat" but not "format". Of
course it's not user friendly format thus I can't really use it in
application,
You can specify the format of the date with the "format" attribute. By
default it should be RFC3339(-MM-dd'T'HH:mm:ss), but it doesnt
seem like it is doing that for you. If it is in that format, struts
will parse it to a Date object. What is the html generated for that
field in your page?
musa
Hello,
Someone might have to jump in and correct me on this but I think that it should just be coming in as a string. As I understand it, the form's action doesn't know that you're using a datepicker in the
form, it only sees a text field with a value (a string). Struts tag libs just generate H
Hi all,
I'm using Struts 2.0.14.
I'm experiencing the following problem:
I tried to use datetimepicker in sample application and it worked fine
except that the java.util.Date property does not retrieve the new
value selected in the interface.
I don't have more time today to check this out and will
Hi,
I am displaying date and time separately gotten from server on a JSP using
datetimepicker tag.
My problem is that, the date shows up correctly but the time does not.
Below is the snippet of the JSP code.
Any help is appreciated.
Thanks.
-Akash
This with the type="date" shows up correctly.
If I use the datetimepicker in date format I can preset the date value
using an action and I can use the displayFormat to format the date.
If I use it in type=time the time is always 12:00. I can't adjust the
time or the time display format.
_
13 matches
Mail list logo