[richfaces-svn-commits] JBoss Rich Faces SVN: r2529 - in trunk/docs/userguide/en/src/main/docbook: modules and 1 other directory.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Tue Aug 28 08:05:35 EDT 2007


Author: smukhina
Date: 2007-08-28 08:05:35 -0400 (Tue, 28 Aug 2007)
New Revision: 2529

Modified:
   trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.xml
   trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
   trunk/docs/userguide/en/src/main/docbook/included/commandButton.xml
   trunk/docs/userguide/en/src/main/docbook/included/dndParam.xml
   trunk/docs/userguide/en/src/main/docbook/included/dragSupport.xml
   trunk/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml
   trunk/docs/userguide/en/src/main/docbook/included/dropSupport.xml
   trunk/docs/userguide/en/src/main/docbook/included/insert.xml
   trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml
   trunk/docs/userguide/en/src/main/docbook/included/panelMenu.xml
   trunk/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml
   trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml
   trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml
Log:
http://jira.jboss.com/jira/browse/RF-743
added CDATA into programmlisting pattens

Modified: trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.xml	2007-08-28 11:16:58 UTC (rev 2528)
+++ trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.xml	2007-08-28 12:05:35 UTC (rev 2529)
@@ -88,7 +88,7 @@
       <emphasis role="bold">Example:</emphasis>
  </para>
 
-    <programlisting role="XML"><![CDATA[
+    <programlisting role="JAVA"><![CDATA[
 package demo;
 
 import org.ajax4jsf.framework.ajax.AjaxEvent;

Modified: trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/calendar.xml	2007-08-28 11:16:58 UTC (rev 2528)
+++ trunk/docs/userguide/en/src/main/docbook/included/calendar.xml	2007-08-28 12:05:35 UTC (rev 2529)
@@ -61,9 +61,9 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="xml">...
+    <programlisting role="xml"><![CDATA[...
       &lt;rich:calendar popup="false"/&gt;
-...</programlisting>
+...]]></programlisting>
   </section>
 
   <section>
@@ -161,13 +161,13 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="xml">...
+    <programlisting role="xml"><![CDATA[...
       &lt;f:facet name="header"&gt;
             &lt;f:verbatim&gt;
                   {previousMonthControl} | {nextMonthControl}					
             &lt;/f:verbatim&gt;
       &lt;/f:facet&gt;
-...</programlisting>
+...]]></programlisting>
     <para>It&apos;s possible to define <emphasis>
         <property>&quot;footer&quot;</property>
       </emphasis> facet and replace in it (in the same way how it was described for <emphasis>
@@ -191,11 +191,11 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="xml">...
+    <programlisting role="xml"><![CDATA[...
       &lt;f:facet name="weekNumber"&gt;
             &lt;h:outputText style="font-weight: bold;" value="{weekNumber}" /&gt;
       &lt;/f:facet&gt;
-...</programlisting>
+...]]></programlisting>
 
     <para>The example of using JavaScript API is placed below:</para>
 

Modified: trunk/docs/userguide/en/src/main/docbook/included/commandButton.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/commandButton.xml	2007-08-28 11:16:58 UTC (rev 2528)
+++ trunk/docs/userguide/en/src/main/docbook/included/commandButton.xml	2007-08-28 12:05:35 UTC (rev 2529)
@@ -50,7 +50,7 @@
     <section>
       <title>Key attributes and ways of usage</title>
       <para>The component <emphasis role="bold"><property>&lt;a4j:commandButton&gt;</property></emphasis> placed on a page generates the following HTML code:</para>
-	  <programlisting role="XHTML"><![CDATA[<input type="submit" onclick="A4J.AJAX.Submit(...request parameters);return false;" value="sort"/>
+	  <programlisting role="JAVA"><![CDATA[<input type="submit" onclick="A4J.AJAX.Submit(...request parameters);return false;" value="sort"/>
 ]]></programlisting>
       <para>Hence, the utility method &quot;A4J.AJAX.Submit&quot; is called on a click, the method performs Ajax request as the <emphasis role="bold"><property>&lt;a4j:support&gt;</property></emphasis> component</para>
 	 <note>

Modified: trunk/docs/userguide/en/src/main/docbook/included/dndParam.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dndParam.xml	2007-08-28 11:16:58 UTC (rev 2528)
+++ trunk/docs/userguide/en/src/main/docbook/included/dndParam.xml	2007-08-28 12:05:35 UTC (rev 2529)
@@ -57,13 +57,13 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="XML">...
+    <programlisting role="XML"><![CDATA[...
     &lt;rich:dragSupport dragType="file"&gt;
         &lt;rich:dndParam name="testDrag" value="testDragValue" 
                         type="drag"/&gt;
     &lt;/rich:dragSupport&gt;
 ...
-</programlisting>
+]]></programlisting>
   </section>
 
   <section>
@@ -73,11 +73,11 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="JAVA">import org.richfaces.component.html.HtmlDndParam;
+    <programlisting role="JAVA"><![CDATA[import org.richfaces.component.html.HtmlDndParam;
 ...
 HtmlDndParam myDparam = new HtmlDndParam();
 ...
-</programlisting>
+]]></programlisting>
   </section>
 
   <section>
@@ -105,7 +105,7 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="JSP">...
+    <programlisting role="JSP"><![CDATA[...
     &lt;rich:dragSupport ...&gt; 
         &lt;rich:dndParam type="drag" name="dragging"&gt; 
             &lt;h:graphicImage value="/img/product1_small.png"/&gt; 
@@ -113,7 +113,7 @@
         &lt;h:graphicImage value="product1.png"/&gt; 
     &lt;/rich:dragSupport&gt;
 ...
-</programlisting>
+]]></programlisting>
 
     <para>Here <property>dndParam</property> defines an icon that is used by
     an indicator when a drag is on the place of a default icon (e.g. a
@@ -131,13 +131,13 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="JSP">...
+    <programlisting role="JSP"><![CDATA[...
     &lt;rich:dragSupport ...&gt; 
         &lt;rich:dndParam type="drag" name="label" value="#{msg.subj}"/&gt;
         ...
     &lt;/rich:dragSupport&gt;
 ...
-</programlisting>
+]]></programlisting>
 
     <para>The parameter is transmitted into an indicator for usage in an
     informational part of the dragIndicator component (inside an indicator a
@@ -155,7 +155,7 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="JSP">...
+    <programlisting role="JSP"><![CDATA[...
     &lt;rich:dropSupport ...&gt; 
         &lt;rich:dndParam type="drop" name="comp" &gt; 
             &lt;h:graphicImage height="16" width="16" value="/images/comp.png"/&gt; 
@@ -163,7 +163,7 @@
         ...
     &lt;/rich:dropSupport &gt;
 ...
-</programlisting>
+]]></programlisting>
 
     <para>Here, <property>dndParam</property> passes icons into an indicator,
     if dragged content of a comp type is above the given drop zone that

Modified: trunk/docs/userguide/en/src/main/docbook/included/dragSupport.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dragSupport.xml	2007-08-28 11:16:58 UTC (rev 2528)
+++ trunk/docs/userguide/en/src/main/docbook/included/dragSupport.xml	2007-08-28 12:05:35 UTC (rev 2529)
@@ -65,13 +65,13 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="XML">...
+    <programlisting role="XML"><![CDATA[...
     &lt;h:panelGrid id="drag1"&gt;
         &lt;rich:dragSupport dragType="item"/&gt;
             &lt;!--Some content to be dragged--&gt;
     &lt;/h:panelGrid&gt;
 ...
-</programlisting>
+]]></programlisting>
   </section>
 
   <section>
@@ -80,11 +80,11 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="JAVA">import org.richfaces.component.html.HtmlDragSupport;
+    <programlisting role="JAVA"><![CDATA[import org.richfaces.component.html.HtmlDragSupport;
 ...
 HtmlDragSupport myDragZone = new HtmlDragSupport();
 ...
-</programlisting>
+]]></programlisting>
   </section>
 
   <section>
@@ -101,7 +101,7 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="XML">...
+    <programlisting role="XML"><![CDATA[...
     &lt;h:column&gt;
         &lt;rich:dragSupport dragIndicator=":form:iii" dragType="text"&gt;
             &lt;a4j:actionparam value="#{caps.name}" name="name"/&gt;
@@ -109,7 +109,7 @@
         &lt;h:outputText value="#{caps.name}"/&gt; 
     &lt;/h:column&gt;
 ...
-</programlisting>
+]]></programlisting>
 
     <para>However, using <property>a4j:outputPanel</property> as a wrapper inside
       <property>h:column</property>, the following code could be used successfully:</para>
@@ -118,7 +118,7 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="XML">...
+    <programlisting role="XML"><![CDATA[...
     &lt;h:column&gt;
         &lt;a4j:outputPanel&gt;
             &lt;rich:dragSupport dragIndicator=":form:iii" dragType="text"&gt;
@@ -128,7 +128,7 @@
         &lt;/a4j:outputPanel&gt;
     &lt;/h:column&gt;
 ...
-</programlisting>
+]]></programlisting>
 
     <para>This code makes all rows of this column draggable.</para>
 
@@ -141,7 +141,7 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="XML">...
+    <programlisting role="XML"><![CDATA[...
     &lt;h:panelGrid id="drag1"&gt;
         &lt;rich:dragSupport dragType="singleItems" .../&gt;
         &lt;!--Some content to be dragged--&gt;
@@ -157,7 +157,7 @@
         &lt;!--Drop zone content--&gt;
     &lt;/h:panelGrid&gt;
 ...
-</programlisting>
+]]></programlisting>
 
     <para>In this example, the <property>drop1</property> panel grid is a drop zone that invokes
       drag-and-drop for drops of items from the first <property>drag1</property> panel grid, but not

Modified: trunk/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml	2007-08-28 11:16:58 UTC (rev 2528)
+++ trunk/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml	2007-08-28 12:05:35 UTC (rev 2529)
@@ -61,7 +61,7 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="xml">...
+    <programlisting role="xml"><![CDATA[...
     &lt;rich:dropDownMenu value="Item1"&gt;
         &lt;!--Nested menu components--&gt;
     &lt;/rich:dropDownMenu&gt;
@@ -102,7 +102,7 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="xml">...
+    <programlisting role="xml"><![CDATA[...
     &lt;f:facet name="label"&gt;
         &lt;h:graphicImage value="/images/img1.gif"/&gt;
     &lt;/f:facet&gt;
@@ -118,11 +118,11 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="xml">...
+    <programlisting role="xml"><![CDATA[...
     &lt;rich:dropDownMenu event="onclick" value="Item1"&gt;
         &lt;!--Nested menu components--&gt;
     &lt;/rich:dropDownMenu&gt;
-...</programlisting>
+...]]></programlisting>
 
     <para>The <emphasis role="bold">
         <property>&lt;rich:dropDownMenu&gt;</property>
@@ -239,12 +239,12 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="xml">...
+    <programlisting role="xml"><![CDATA[...
     &lt;rich:dropDownMenu value="Item1" direction="bottom-right" jointPoint="tr"&gt;
         &lt;!--Nested menu components--&gt;
     &lt;/rich:dropDownMenu&gt;
 ...
-</programlisting>
+]]></programlisting>
 
     <para>This is the result:</para>
 
@@ -271,7 +271,7 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="xml">...
+    <programlisting role="xml"><![CDATA[...
     &lt;rich:dropDownMenu value="Item1" direction="bottom-right" jointPoint="tr" horizontalOffset="-15" verticalOffset="0"&gt;
         &lt;!--Nested menu components--&gt;
     &lt;/rich:dropDownMenu&gt;

Modified: trunk/docs/userguide/en/src/main/docbook/included/dropSupport.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dropSupport.xml	2007-08-28 11:16:58 UTC (rev 2528)
+++ trunk/docs/userguide/en/src/main/docbook/included/dropSupport.xml	2007-08-28 12:05:35 UTC (rev 2529)
@@ -66,12 +66,12 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="XML">...
+    <programlisting role="XML"><![CDATA[...
     &lt;rich:panel&gt;
         &lt;rich:dropSupport acceptedTypes="text"/&gt;
     &lt;/rich:panel&gt;
 ...
-</programlisting>
+]]></programlisting>
   </section>
 
   <section>
@@ -81,11 +81,11 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="JAVA">import org.richfaces.component.html.HtmlDropSupport;
+    <programlisting role="JAVA"><![CDATA[import org.richfaces.component.html.HtmlDropSupport;
 ...
 HtmlDropSupport myDragZone = new HtmlDropSupport();
 ...
-</programlisting>
+]]></programlisting>
   </section>
 
   <section>
@@ -113,13 +113,13 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="XML">...
+    <programlisting role="XML"><![CDATA[...
     &lt;rich:dropSupport acceptedTypes="[iconsDragged, textDragged]" typeMapping="{iconsDragged: DropIcon}"&gt; 
         &lt;rich:dndParam name="DropIcon"&gt;
             &lt;h:graphicImage value="/images/drop-icon.png"/&gt;
 		&lt;/rich:dndParam&gt;
 ...
-</programlisting>
+]]></programlisting>
 
     <para>In this example, dropping a draggable item of an <emphasis><property>&quot;iconsDragged&quot;</property></emphasis> type
       will trigger the use a parameter named <emphasis><property>&quot;DropIcon&quot;</property></emphasis> in the event processing
@@ -137,7 +137,7 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="XML">...
+    <programlisting role="XML"><![CDATA[...
     &lt;rich:dataTable value="#{capitalsBean.capitals}" var="caps"&gt;
         &lt;f:facet name="caption"&gt;Capitals List&lt;/f:facet&gt;
         &lt;h:column&gt;
@@ -150,7 +150,7 @@
         &lt;/h:column&gt;
     &lt;/rich:dataTable&gt;
 ...
-</programlisting>
+]]></programlisting>
 
     <para>As a drop zone, this panel will accept draggable items of type "text" and then rerender an
       element with the ID of "box":</para>
@@ -159,14 +159,14 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="XML">...
+    <programlisting role="XML"><![CDATA[...
     &lt;rich:panel style="width:100px;height:100px;"&gt;
         &lt;f:facet name="header"&gt;Drop Zone&lt;/f:facet&gt;
         &lt;rich:dropSupport acceptedTypes="text" reRender="box" 
                         dropListener="#{capitalsBean.addCapital2}"/&gt;
     &lt;/rich:panel&gt;
 ...
-</programlisting>
+]]></programlisting>
 
     <para>As a part of the page that can be updated in a partial page update, this table has an ID
       of "box":</para>
@@ -175,14 +175,14 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="XML">...
+    <programlisting role="XML"><![CDATA[...
     &lt;rich:dataTable value="#{capitalsBean.capitals2}" var="cap2" id="box"&gt;
         &lt;f:facet name="caption"&gt;Capitals chosen&lt;/f:facet&gt;
         &lt;h:column&gt;
             &lt;h:outputText value="#{cap2.name}"/&gt;
         &lt;/h:column&gt;
     &lt;/rich:dataTable&gt;
-...</programlisting>
+...]]></programlisting>
 
     <para>And finally, as a listener, this listener will implement the dropped element:</para>
 
@@ -190,7 +190,7 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="JAVA">...
+    <programlisting role="JAVA"><![CDATA[...
     public void addCapital2(DropEvent event) {
         FacesContext context = FacesContext.getCurrentInstance();
         Capital cap = new Capital();
@@ -198,7 +198,7 @@
         capitals2.add(cap);
     }
 ...
-</programlisting>
+]]></programlisting>
 
     <para>Here is the result after a few drops of items from the first table:</para>
 

Modified: trunk/docs/userguide/en/src/main/docbook/included/insert.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/insert.xml	2007-08-28 11:16:58 UTC (rev 2528)
+++ trunk/docs/userguide/en/src/main/docbook/included/insert.xml	2007-08-28 12:05:35 UTC (rev 2529)
@@ -61,9 +61,9 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="xml">...
+    <programlisting role="xml"><![CDATA[...
       &lt;rich:insert  src="/pages/sourcePage.xhtml" highlight="xhtml"/&gt;
-...</programlisting>
+...]]></programlisting>
   </section>
 
   <section>
@@ -95,9 +95,9 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="xml">...
+    <programlisting role="xml"><![CDATA[...
       &lt;rich:insert  src="/pages/sourcePage.xhtml" highlight="xhtml"/&gt;
-      ...</programlisting>
+      ...]]></programlisting>
     <figure>
       <para>The result of using <emphasis role="bold">
           <property>&lt;rich:insert&gt;</property>

Modified: trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml	2007-08-28 11:16:58 UTC (rev 2528)
+++ trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml	2007-08-28 12:05:35 UTC (rev 2529)
@@ -65,7 +65,7 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="XML">...
+    <programlisting role="XML"><![CDATA[...
     &lt;rich:modalPanel id=&quot;panel&quot;&gt;
         &lt;f:facet name="header"&gt;
             &lt;h:outputText value="header"&gt;
@@ -78,7 +78,7 @@
 ...
     &lt;a href="javascript:RichFaces.showModalPanel('form:panel')"&gt;Show&lt;/a&gt;
 ...
-</programlisting>
+]]></programlisting>
   </section>
 
   <section>
@@ -88,11 +88,11 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="JAVA">import org.richfaces.component.html.HtmlModalPanel;
+    <programlisting role="JAVA"><![CDATA[import org.richfaces.component.html.HtmlModalPanel;
 ...
 HtmlModalPanel myPanel = new HtmlModalPanel();
 ...
-</programlisting>
+]]></programlisting>
   </section>
 
   <section>
@@ -143,7 +143,7 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="XML">...
+    <programlisting role="XML"><![CDATA[...
     &lt;form jsfc="h:form" id="form"&gt;
         &lt;rich:modalPanel id="panel" width="400" height="300"&gt;
             &lt;f:facet name="header"&gt;
@@ -155,7 +155,7 @@
         &lt;a href="javascript:Richfaces.showModalPanel('form:panel');"&gt;Open&lt;/a&gt;
     &lt;/form&gt;
 ...
-</programlisting>
+]]></programlisting>
 
     <para>This defines a window with a particular size and ID. It includes one "Open" link. Clicking
       on this link makes the modal window content appear.</para>
@@ -185,7 +185,7 @@
         &lt;/f:facet&gt;
         &lt;h:graphicImage value="/pages/california_large.gif"/&gt;
     &lt;/rich:modalPanel&gt;
-</programlisting>
+]]></programlisting>
 
     <para>The result displays like this:</para>
 
@@ -228,7 +228,7 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="JAVA">Richfaces.showModalPanel('panelId', {left: auto}, {param1: value1});</programlisting>
+    <programlisting role="JAVA"><![CDATA[Richfaces.showModalPanel('panelId', {left: auto}, {param1: value1});</programlisting>
     <para> Thus, except the standard modalPanel parameters you can pass any of your own parameters. </para>
     <para> Also modalPanel allows to handle its own opening and closing events on the client side.
       The <emphasis><property>&quot;onshow&quot;</property></emphasis> and <emphasis><property>&quot;onclose&quot;</property></emphasis> attributes are used in this
@@ -239,7 +239,7 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="JAVA">onshow="alert(event.parameters.param1)"</programlisting>
+    <programlisting role="JAVA"><![CDATA[onshow="alert(event.parameters.param1)"</programlisting>
     <para> Here, during modalPanel opening the value of a passing parameter is output. </para>
     <para> More information about this problem could be found on the <ulink
         url="http://www.jboss.com/index.html?module=bb&amp;op=viewtopic&amp;t=111804"

Modified: trunk/docs/userguide/en/src/main/docbook/included/panelMenu.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelMenu.xml	2007-08-28 11:16:58 UTC (rev 2528)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelMenu.xml	2007-08-28 12:05:35 UTC (rev 2529)
@@ -61,11 +61,11 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="xml">...
+    <programlisting role="xml"><![CDATA[...
       &lt;rich:panelMenu event="onmouseover"&gt;
             &lt;!--Nested panelMenu components--&gt;
       &lt;/rich:panelMenu&gt;
-...</programlisting>
+...]]></programlisting>
   </section>
 
   <section>
@@ -95,11 +95,11 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="xml">...
+    <programlisting role="xml"><![CDATA[...
       &lt;rich:panelMenu event="onmouseover"&gt;
             &lt;!--Nested panelMenu components--&gt;
       &lt;/rich:panelMenu&gt;
-...</programlisting>
+...]]></programlisting>
 
     <para>Switching mode could be chosen with the <emphasis>
         <property>&quot;mode&quot;</property>
@@ -149,13 +149,13 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="xml">...
+    <programlisting role="xml"><![CDATA[...
       &lt;rich:panelMenu event="onclick" submitMode="none"&gt;
             &lt; rich:panelMenuItem label="Link to external page"&gt;
                   &lt;h:outputLink ... &gt;
             &lt;rich:panelMenuItem&gt;
       &lt;/rich:panelMenu&gt;
-...</programlisting>
+...]]></programlisting>
 
     <note><title>Note:</title> As the <emphasis role="bold">
         <property>&lt;rich:panelMenu&gt;</property>
@@ -190,13 +190,13 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="xml">...
+    <programlisting role="xml"><![CDATA[...
       &lt;rich:panelMenu selectedChild="thisChild"&gt;
         &lt;rich:panelMenuGroup label="Group1" name="thisChild"&gt;
           &lt;!--Nested panelMenu components--&gt;
         &lt;/rich:panelMenuGroup&gt;
       &lt;/rich:panelMenu&gt;
-...</programlisting>
+...]]></programlisting>
   </section>
 
   <section>

Modified: trunk/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml	2007-08-28 11:16:58 UTC (rev 2528)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml	2007-08-28 12:05:35 UTC (rev 2529)
@@ -61,13 +61,13 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="xml">...
+    <programlisting role="xml"><![CDATA[...
       &lt;rich:panelMenu&gt;
             &lt;rich:panelMenuGroup label="Group1"&gt;
                   &lt;!--Nested panelMenu components--&gt;
             &lt;/rich:panelMenuGroup&gt;
       &lt;/rich:panelMenu&gt;
-...</programlisting>
+...]]></programlisting>
   </section>
 
   <section>
@@ -154,13 +154,13 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="xml">...
+    <programlisting role="xml"><![CDATA[...
       &lt;rich:panelMenu&gt;
             &lt;rich:panelMenuGroup label="Group1" iconExpanded="disc" iconCollapsed="chevron"&gt;
                   &lt;!--Nested panelMenu components--&gt;
             &lt;/rich:panelMenuGroup&gt;
       &lt;/rich:panelMenu&gt;
-...</programlisting>
+...]]></programlisting>
     <para> As the result the pictures are shown below. The first one represents the collapsed state,
       the second one - expanded state:</para>
 
@@ -186,13 +186,13 @@
 
     <para>It&apos;s also possible to define a path to the icon. Simple code is placed below.</para>
 
-    <programlisting role="xml">...
+    <programlisting role="xml"><![CDATA[...
       &lt;rich:panelMenu&gt;
             &lt;rich:panelMenuGroup label="Group1" iconExpanded="\images\img1.gif" iconCollapsed=""\images\img2.gif""&gt;
                   &lt;!--Nested menu components--&gt;
             &lt;/rich:panelMenuGroup&gt;
       &lt;/rich:panelMenu&gt;
-...</programlisting>
+...]]></programlisting>
 
   </section>
 

Modified: trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml	2007-08-28 11:16:58 UTC (rev 2528)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml	2007-08-28 12:05:35 UTC (rev 2529)
@@ -61,13 +61,13 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="xml">...
+    <programlisting role="xml"><![CDATA[...
       &lt;rich:panelMenu&gt;
              …
             &lt;rich:panelMenuItem value="Item1"/&gt;
             …	
       &lt;/rich:panelMenu&gt;
-...</programlisting>
+...]]></programlisting>
   </section>
 
   <section>
@@ -133,7 +133,7 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="xml">...
+    <programlisting role="xml"><![CDATA[...
       &lt;rich:panelMenu&gt;
             …
             &lt;rich:panelMenuItem submitMode="none" onclick="document.location.href='http://labs.jboss.com/jbossrichfaces/"&gt;
@@ -143,7 +143,7 @@
             &lt;/rich:panelMenuItem&gt;
             …
       &lt;/rich:panelMenu&gt;
-...</programlisting>
+...]]></programlisting>
 
     <para>There are two icon-related attributes. The <emphasis>
         <property>&quot;icon&quot;</property>
@@ -168,13 +168,13 @@
     <para>
       <emphasis role="bold">Example:</emphasis>
     </para>
-    <programlisting role="xml">...
+    <programlisting role="xml"><![CDATA[...
       &lt;rich:panelMenu&gt;
             …
             &lt;rich:panelMenuItem ="Item 1.1" icon="chevronUp" /&gt;
             …	
       &lt;/rich:panelMenu&gt;
-...</programlisting>
+...]]></programlisting>
     <para> As the result the picture is shown below:</para>
 
     <figure>
@@ -189,13 +189,13 @@
 
     <para>It&apos;s also possible to define a path to the icon. Simple code is placed below.</para>
 
-    <programlisting role="xml">...
+    <programlisting role="xml"><![CDATA[...
       &lt;rich:panelMenu&gt;
             …
             &lt;rich:panelMenuItem ="Item 1.1" icon="\images\img1.gif" /&gt;
             …	
       &lt;/rich:panelMenu&gt;
-...</programlisting>
+...]]></programlisting>
 
   </section>
 

Modified: trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml	2007-08-28 11:16:58 UTC (rev 2528)
+++ trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml	2007-08-28 12:05:35 UTC (rev 2529)
@@ -296,7 +296,7 @@
   <para>
       <emphasis role="bold">Example:</emphasis>
  </para>
-     <programlisting role="JAVA"><![CDATA[A4J.AJAX.onExpired = function(loc,expiredMsg){ 
+     <programlisting role="Java"><![CDATA[A4J.AJAX.onExpired = function(loc,expiredMsg){ 
           // Custom Developer Code 
 };
 ]]></programlisting>




More information about the richfaces-svn-commits mailing list