Author: cluts
Date: 2008-04-16 05:55:17 -0400 (Wed, 16 Apr 2008)
New Revision: 7864
Modified:
trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
Log:
RF-925 - corrected example of usage (js api) for calendar component
Modified: trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/calendar.xml 2008-04-16 09:53:26 UTC
(rev 7863)
+++ trunk/docs/userguide/en/src/main/docbook/included/calendar.xml 2008-04-16 09:55:17 UTC
(rev 7864)
@@ -381,7 +381,7 @@
</figure>
- <para>It's possible to program events for calendar from JavaScript
code. A simplest
+ <para>It's possible to handle events for calendar from JavaScript
code. A simplest
example of usage JavaScript API is placed below:</para>
<para>
<emphasis role="bold">Example:</emphasis>
@@ -392,7 +392,7 @@
popup="#{calendarBean.popup}"
datePattern="#{calendarBean.pattern}"
showApplyButton="#{calendarBean.showApply}"
style="width:200px"/>
- <h:commandButton value="Show next year"
onclick="#{rich:component('calendarID')}.nextYear();"/>
+ <a4j:commandLink
onclick="$('formID:calendarID').component.doExpand(event)"
value="Expand"/>
...]]></programlisting>
<para>Also the discussion about this problem can be found on the <ulink
Show replies by date