Re: Dojo datetimepicker problem

2010-09-09 Thread Lumeng
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

Re: Dojo datetimepicker problem

2010-09-09 Thread Rahul Mohan
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

Dojo datetimepicker problem

2010-09-08 Thread Andreas Sachs
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

Re: Dojo datetimepicker problem

2008-12-05 Thread Dimitar Vlasev
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

Re: Dojo datetimepicker problem

2008-12-04 Thread Timothy Orme
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

Re: Dojo datetimepicker problem

2008-12-04 Thread Dimitar Vlasev
> 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

Re: Dojo datetimepicker problem

2008-12-03 Thread Dimitar Vlasev
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: ...

Re: Dojo datetimepicker problem

2008-12-03 Thread Dimitar Vlasev
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,

Re: Dojo datetimepicker problem

2008-12-02 Thread Musachy Barroso
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

Re: Dojo datetimepicker problem

2008-12-02 Thread Timothy Orme
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

Dojo datetimepicker problem

2008-12-02 Thread Dimitar Vlasev
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

struts 2.0.11 datetimepicker problem of type time

2007-12-12 Thread akash agrawal
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.

datetimepicker problem

2007-04-10 Thread David Harland
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. _