Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Cannot Reproduce
-
Affects Version/s: 3.2.1, 3.5.1
-
Fix Version/s: None
-
Component/s: Skin Extensions
-
Labels:None
-
Difficulty:Unknown
-
Documentation:N/A
-
Documentation in Release Notes:N/A
-
Similar issues:
XWIKI-9061 Property displayers don't work in the object editor for objects that have just been added XWIKI-1448Friendly datepicker for date fields XWIKI-8866 Wrong date should not be accepted XWIKI-8114The selected date is not inserted in the input field. XWIKI-5765Images missing for dynamically created color pickers XWIKI-5152By default, feed plugin should use the fetching date as entries creation date XWIKI-8480 Ok button does not work properly on Date Picker on IE's XWIKI-2051Can't get properties values from a document's api Object from another wiki XWIKI-6225Index date fields in objects formatted and untokenized XWIKI-258can't delete field in an object
Description
Steps to reproduce:
1: Install Date Picker Extension
http://maven.xwiki.org/releases/org/xwiki/contrib/xwiki-application-datepicker/1.1/xwiki-application-datepicker-1.1.xar
2: Create a page with this code or import the xar I post below:
{
}
#set($discard = $xwiki.jsfx.use("js/scriptaculous/scriptaculous.js"))
#set($discard = $xwiki.jsx.use("XWiki.DatePickerExtension",
))
#set($discard = $xwiki.ssx.use("XWiki.DatePickerExtension"))
{
{html clean="false"} }
<h1>Working example</h1>
<input type="text" name="mydate" id="mydate_id" />
<script type="text/javascript">
var dpicker = new DatePicker(
);
</script>
<h2>Issue</h2>
<input type="text" name="mydate2" id="mydate2_id" />
{
}
{
{/velocity}}
2bis: If you paste the code and you don't use my xar, add an XWiki.JavaScriptExtension object with this content:
var dpicker = new DatePicker(
);
Note that there is no datepicker on the second field.
Documentation: http://extensions.xwiki.org/xwiki/bin/view/Extension/Date+Picker+Application
Issue Links
- relates to
-
XWIKI-1448
Friendly datepicker for date fields
-
This is the xar with the reproduced bug.