Author: cluts
Date: 2008-01-21 12:36:03 -0500 (Mon, 21 Jan 2008)
New Revision: 5502
Modified:
trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
Log:
http://jira.jboss.org/jira/browse/RF-1052 - Insert code samples explaining skinnability
for calendar
Modified: trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/calendar.xml 2008-01-21 17:24:35 UTC
(rev 5501)
+++ trunk/docs/userguide/en/src/main/docbook/included/calendar.xml 2008-01-21 17:36:03 UTC
(rev 5502)
@@ -1111,6 +1111,27 @@
role="bold">
<property><rich:calendar></property>
</emphasis>attributes.</para>
+
+ <para>CSS code piece used on a page:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.rich-calendar-today {
+ background-color: #00FA9A;
+}
+ .myClass {
+ font-size: xx-large;
+}
+...]]></programlisting>
+ <para>The component is defined in the following way:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="XML"><![CDATA[<rich:calendar ...
inputClass="myClass" .../>]]></programlisting>
+
</section>
<section>