Author: cluts
Date: 2008-04-04 04:29:46 -0400 (Fri, 04 Apr 2008)
New Revision: 7597
Modified:
trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
trunk/docs/userguide/en/src/main/docbook/included/contextMenu.xml
Log:
RF-1943 - corrected names of functions for <rich:contextMenu> and updated example of
usage for <rich:calendar>
Modified: trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/calendar.xml 2008-04-04 07:20:13 UTC
(rev 7596)
+++ trunk/docs/userguide/en/src/main/docbook/included/calendar.xml 2008-04-04 08:29:46 UTC
(rev 7597)
@@ -364,13 +364,13 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <a4j:form id="form">
- <rich:calendar popup="true"
rendered="#{!bean.check}" value="#{bean.date}" id="c"/>
- <!--The link which is used to call a calendar popup
externally-->
- <a onclick="$('form:c').component.Expand()"
href="#">Show</a>
- </a4j:form>
-...
-]]></programlisting>
+ <rich:calendar value="#{calendarBean.selectedDate}"
id="calendarID"
+ locale="#{calendarBean.locale}"
+ popup="#{calendarBean.popup}"
+ datePattern="#{calendarBean.pattern}"
+ showApplyButton="#{calendarBean.showApply}"
style="width:200px"/>
+ <h:commandButton value="Show next year"
onclick="#{rich:component('calendarID')}.nextYear();"/>
+...]]></programlisting>
<para>Also the discussion about this problem can be found on the <ulink
url="http://www.jboss.com/index.html?module=bb&op=viewtopic&...
Modified: trunk/docs/userguide/en/src/main/docbook/included/contextMenu.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/contextMenu.xml 2008-04-04 07:20:13
UTC (rev 7596)
+++ trunk/docs/userguide/en/src/main/docbook/included/contextMenu.xml 2008-04-04 08:29:46
UTC (rev 7597)
@@ -415,12 +415,12 @@
<tbody>
<!--Sorting API -->
<row>
- <entry>Hide()</entry>
+ <entry>hide()</entry>
<entry>Hide component or group</entry>
<entry>Component, group</entry>
</row>
<row>
- <entry>Show()</entry>
+ <entry>show()</entry>
<entry>Show component or group</entry>
<entry>Component, group</entry>
</row>