wt., 6 maj 2025 o 21:22 shankar sawate napisał(a):
> Do you have a new implementation of the Dojo DateTimePicker? If so, please
> share how to implement it, as the old one is deprecated
It's better to ask such a question in a new thread instead of mixing
it into a totally different
ut it’s fail to display textbox and icon for this time picker
control.
Please help me regarding this.
Thanks & Regards,
Rajendra Prasad K,
Cognizant Technology Solutions.
India.
-
Thanks & Regards,
Rajendra Prasad Royal,
Cognizant Technology Solutions.
India
--
View this message in co
ut it’s fail to display textbox and icon for this time picker
control.
Please help me regarding this.
Thanks & Regards,
Rajendra Prasad K,
Cognizant Technology Solutions.
India.
-
Thanks & Regards,
Rajendra Prasad Royal,
Cognizant Technology Solutions.
India
--
View this message in co
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
. Example: people or
people.{name} - [unknown location]"
Please replay me with solutions for above two problems
Expecting your kind interaction
Thanks in advance
Rakesh
--
View this message in context:
http://old.nabble.com/how-to-validate-Dojo-datetimepicker-in-struts2-tp26977288p2697
Hello,
It seems as though using a Dojo element is not invoking the setter in my
action, and I am not certain why. I hope I am simply missing something?
Struts 2.1.8, Tomcat 6.x, Firefox 3.5.x
I have included the following jars in WEB-INF/lib, and have the following
inside the tag of the action
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
be removed in version: 0.5
>
> What is the problem ? I created Date before showing this page: fromDate =
> new Date();
>
> --
> Thx, Milan Milanovic
>
>
>
>
--
View this message in context:
http://www.nabble.com/-Struts-2--Dojo-dateti
Hi Randy,
yes, I already do that. Thx.
--
Milan
- Original Message
From: Randy Burgess <[EMAIL PROTECTED]>
To: Struts Users Mailing List
Sent: Wednesday, May 14, 2008 6:10:14 PM
Subject: Re: [Struts 2] Dojo datetimepicker - simple
I don't have direct experience with this
tions
> From: Milan Milanovic <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List
> Date: Wed, 14 May 2008 07:29:33 -0700 (PDT)
> To: Struts Users Mailing List
> Subject: Re: [Struts 2] Dojo datetimepicker - simple
>
> When I removed value part then it works
ROTECTED]>
To: Struts Users Mailing List
Sent: Wednesday, May 14, 2008 4:14:41 PM
Subject: Re: [Struts 2] Dojo datetimepicker - simple
I also get this exception for this:java.text.ParseException: Unparseable date:
"fromDate"at java.text.DateFormat.parse(Unknown Source)
ednesday, May 14, 2008 3:57:19 PM
Subject: [Struts 2] Dojo datetimepicker - simple
Hi,
I have in my action class Date field with get/set methods, and when I try to
show
datetimepicker in my jsp, like this:
It show only NaN.NaN.0NaN information in place of datetimepicker, and this
debug info:
Hi,
I have in my action class Date field with get/set methods, and when I try to
show
datetimepicker in my jsp, like this:
It show only NaN.NaN.0NaN information in place of datetimepicker, and this
debug info:
DEBUG: invalid date string: fromDate
DEBUG: DEPRECATED: dojo.widget.DropdownDatePi
Hi,
I have in my action class Date field with get/set methods, and when I try to
show
datetimepicker in my jsp, like this:
It show only NaN.NaN.0NaN information in place of datetimepicker, and this
debug info:
DEBUG: invalid date string: pregled.odPeriod
DEBUG: DEPRECATED: dojo.widget.DropdownD
Thanks Musachy, it works.
The javascript error I had is caused by wrong element id.
But it's wierd that when I used the wrong id, the alert(obj) give me a dojo
object name.
When I call obj.gatValue(), I got a javascript error.
On 6/7/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
The setter me
The setter methods are specific to 2.1, but the getter ones are available on
2.0.x:
http://struts.apache.org/2.x/docs/ajax-and-javascript-recipes.html#AjaxandJavaScriptRecipes-DateandTimepicker
musachy
On 6/7/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
I posted this not long ago on this li
I posted this not long ago on this list. Basically you have to use
"getDate()" to get a JavaScript date object and getValue() to get the text
entered in the datepicker.
musachy
On 6/7/07, Vincent Lin <[EMAIL PROTECTED]> wrote:
I am trying to get the value inputed by the user from datetimepicke
I am trying to get the value inputed by the user from datetimepicker object.
I have the following javascript in my JSP:
var obj = dojo.widget.byId("createTimeTm");
alert(obj);
alert(obj.getValue());
But "alert(obj.getValue())" encounter a javsacript error.
Can anyone tell m
27 matches
Mail list logo