Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Help coderanch get a
new server
by contributing to the
fundraiser
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Ron McLeod
Paul Clapham
Devaka Cooray
Liutauras Vilda
Sheriffs:
Jeanne Boyarsky
paul wheaton
Henry Wong
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Tim Moores
Carey Brown
Mikalai Zaikin
Bartenders:
Lou Hamers
Piet Souris
Frits Walraven
Forum:
Struts
clear date with datetimepicker struts 2
Cesar Coz
Ranch Hand
Posts: 32
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
does anyone knows how to clear the textfield of the datetimepicker tag on
struts
2 ?
im trying with this:
var fechaOperacion = dojo.widget.byId("fechaOperacion"); fechaOperacion.setValue('');
its not working
and with this:
<s:datetimepicker name="fechaOperacion" displayWeeks="4" displayFormat= "MM-dd-yyyy"/> var ud = getField('form', 'fechaOperacion'); ud.value = "";
but does not work either
can anyone help me ?
Cesar Coz.
Anbarasu Aladiyan
Ranch Hand
Posts: 182
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Value you are setting must be parsable as date object.
Anbarasu Aladiyan
Cesar Coz
Ranch Hand
Posts: 32
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
oh i see...
well if i cant set the value to null or empty maybe there is a way to clean the field.. anyone?
Cesar Coz.
Anbarasu Aladiyan
Ranch Hand
Posts: 182
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Try it.
I guess it would have the value as January 1, 1970 00:00:00.000 GMT.
Anbarasu Aladiyan
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Readonly attribute for dateTimePicker
customizing datetimepicker
Struts 2 - DateTimePicker
Struts 2: datetimepicker tag
datetimepicker + Struts2 + Ajax
More...