Author: pyaschenko
Date: 2011-02-21 12:43:56 -0500 (Mon, 21 Feb 2011)
New Revision: 21842
Modified:
branches/4.0.X/examples/input-demo/src/main/webapp/examples/calendar.xhtml
branches/4.0.X/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/calendar.js
Log:
https://jira.jboss.org/browse/RF-10536
Modified: branches/4.0.X/examples/input-demo/src/main/webapp/examples/calendar.xhtml
===================================================================
--- branches/4.0.X/examples/input-demo/src/main/webapp/examples/calendar.xhtml 2011-02-21
17:39:36 UTC (rev 21841)
+++ branches/4.0.X/examples/input-demo/src/main/webapp/examples/calendar.xhtml 2011-02-21
17:43:56 UTC (rev 21842)
@@ -39,6 +39,7 @@
</script>
</h:head>
<h:body>
+<h:form ></h:form>
<h:form id="form">
<h:panelGrid id="panel" columns="3">
<h:panelGroup layout="block">
Modified:
branches/4.0.X/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/calendar.js
===================================================================
---
branches/4.0.X/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/calendar.js 2011-02-21
17:39:36 UTC (rev 21841)
+++
branches/4.0.X/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/calendar.js 2011-02-21
17:43:56 UTC (rev 21842)
@@ -988,7 +988,7 @@
if (field.value!=dateStr)
{
field.value=dateStr;
- this.invokeEvent("change", rf.$(this.id), event, this.selectedDate);
+ this.invokeEvent("change", rf.getDomElement(this.id), event,
this.selectedDate);
}
},