[richfaces-svn-commits] JBoss Rich Faces SVN: r5362 - trunk/docs/userguide/en/src/main/docbook/included.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Mon Jan 14 13:53:02 EST 2008


Author: artdaw
Date: 2008-01-14 13:53:02 -0500 (Mon, 14 Jan 2008)
New Revision: 5362

Modified:
   trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
Log:
http://jira.jboss.com/jira/browse/RF-920 - add CSS role to the example

Modified: trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/calendar.xml	2008-01-14 18:51:48 UTC (rev 5361)
+++ trunk/docs/userguide/en/src/main/docbook/included/calendar.xml	2008-01-14 18:53:02 UTC (rev 5362)
@@ -249,8 +249,8 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="XML"><![CDATA[...
-<!--Styles for cells -->
+    <programlisting role="CSS"><![CDATA[...
+<!-- Styles for cells -->
 <style>
     .width100{
         width:100%;
@@ -258,8 +258,10 @@
     .talign{
         text-align:center;
     }
-</style>
-   
+</style>     
+ ...]]></programlisting>
+      
+    <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">
 




More information about the richfaces-svn-commits mailing list