To use this tag:
Additional Examples
For more examples see Ajax and JavaScript Recipes
Description
Error formatting macro: snippet: java.lang.NullPointerException
Parameters
Error formatting macro: snippet: java.lang.NullPointerException
Examples
Error formatting macro: snippet: java.lang.NullPointerException
Getting and getting the datetimepicker value, from JavaScript:
Error formatting macro: snippet: java.lang.NullPointerException
Publish topic when value changes
Error formatting macro: snippet: java.lang.NullPointerException
3 Comments
ernest
This tag doesn't work unless you include the <s:head /> tag on your jsp.
The format property is not defined in the DTD, so if you try to use it, an exception will be thrown.
It would be good to update the documentation about this tag.
Andvar Woo
I use this tag and find a bug for it.
when you enter some non-date format characters such as 'abvc' BEFORE choose a date,then kill focus for the datatimepicter,you get a javascript error :
-------------------------------------------------------------------
Line:4872
Char:1
Code:0
Error:object Error
site:http://localhost/struts2-showcase-2.0.11/tags/ui/datepicker/
------------------------------------------------------------------
you can try the examples offered with the struts-2.0.11-all.zip. http://localhost/struts2-showcase-2.0.11/tags/ui/datepicker/
the value for the "US format" is empty,then enter some non-date format charcters BEFORE choose a date,then kill focus
Philip Luppens
Just for the sake of completeness: the issue reported above can be tracked here1.
1 https://issues.apache.org/struts/browse/WW-2540