Author: cluts
Date: 2008-07-15 08:28:53 -0400 (Tue, 15 Jul 2008)
New Revision: 9604
Modified:
trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
Log:
RF-3882 - described "currentDate" attribute and corrected code example (because
"selectedDate" attribute is absent for <rich:calendar> component).
Modified: trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/calendar.xml 2008-07-15 12:25:53 UTC
(rev 9603)
+++ trunk/docs/userguide/en/src/main/docbook/included/calendar.xml 2008-07-15 12:28:53 UTC
(rev 9604)
@@ -101,6 +101,8 @@
<para>Usage <emphasis>
<property>"currentDate"</property>
</emphasis> attribute isn't available in the popup
mode.</para>
+ <para>With help of the
<emphasis><property>"currentDate"</property></emphasis>
attribute
+ you can define month and year which will be displayed currently.</para>
<para>The <emphasis role="bold">
<property><rich:calendar></property>
</emphasis> component can render pages of days in two modes. A mode could be
@@ -325,7 +327,7 @@
<programlisting role="XML"><![CDATA[...
<rich:calendar id="myCalendar" popup="true"
locale="#{calendarBean.locale}" value="#{bean.date}"
- preloadRangeBegin="#{bean.date}"
preloadRangeEnd="#{bean.date}" selectedDate="#{bean.date}"
cellWidth="40px" cellHeight="40px">
+ preloadRangeBegin="#{bean.date}"
preloadRangeEnd="#{bean.date}" cellWidth="40px"
cellHeight="40px">
<!-- Customization with usage of facets and accessible elements -->
<f:facet name="header">
Show replies by date