[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[...
<rich:calendar popup="false"/>
-...</programlisting>
+...]]></programlisting>
</section>
<section>
@@ -161,13 +161,13 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml">...
+ <programlisting role="xml"><![CDATA[...
<f:facet name="header">
<f:verbatim>
{previousMonthControl} | {nextMonthControl}
</f:verbatim>
</f:facet>
-...</programlisting>
+...]]></programlisting>
<para>It's possible to define <emphasis>
<property>"footer"</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[...
<f:facet name="weekNumber">
<h:outputText style="font-weight: bold;" value="{weekNumber}" />
</f:facet>
-...</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><a4j:commandButton></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 "A4J.AJAX.Submit" is called on a click, the method performs Ajax request as the <emphasis role="bold"><property><a4j:support></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[...
<rich:dragSupport dragType="file">
<rich:dndParam name="testDrag" value="testDragValue"
type="drag"/>
</rich:dragSupport>
...
-</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[...
<rich:dragSupport ...>
<rich:dndParam type="drag" name="dragging">
<h:graphicImage value="/img/product1_small.png"/>
@@ -113,7 +113,7 @@
<h:graphicImage value="product1.png"/>
</rich:dragSupport>
...
-</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[...
<rich:dragSupport ...>
<rich:dndParam type="drag" name="label" value="#{msg.subj}"/>
...
</rich:dragSupport>
...
-</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[...
<rich:dropSupport ...>
<rich:dndParam type="drop" name="comp" >
<h:graphicImage height="16" width="16" value="/images/comp.png"/>
@@ -163,7 +163,7 @@
...
</rich:dropSupport >
...
-</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[...
<h:panelGrid id="drag1">
<rich:dragSupport dragType="item"/>
<!--Some content to be dragged-->
</h:panelGrid>
...
-</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[...
<h:column>
<rich:dragSupport dragIndicator=":form:iii" dragType="text">
<a4j:actionparam value="#{caps.name}" name="name"/>
@@ -109,7 +109,7 @@
<h:outputText value="#{caps.name}"/>
</h:column>
...
-</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[...
<h:column>
<a4j:outputPanel>
<rich:dragSupport dragIndicator=":form:iii" dragType="text">
@@ -128,7 +128,7 @@
</a4j:outputPanel>
</h:column>
...
-</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[...
<h:panelGrid id="drag1">
<rich:dragSupport dragType="singleItems" .../>
<!--Some content to be dragged-->
@@ -157,7 +157,7 @@
<!--Drop zone content-->
</h:panelGrid>
...
-</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[...
<rich:dropDownMenu value="Item1">
<!--Nested menu components-->
</rich:dropDownMenu>
@@ -102,7 +102,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml">...
+ <programlisting role="xml"><![CDATA[...
<f:facet name="label">
<h:graphicImage value="/images/img1.gif"/>
</f:facet>
@@ -118,11 +118,11 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml">...
+ <programlisting role="xml"><![CDATA[...
<rich:dropDownMenu event="onclick" value="Item1">
<!--Nested menu components-->
</rich:dropDownMenu>
-...</programlisting>
+...]]></programlisting>
<para>The <emphasis role="bold">
<property><rich:dropDownMenu></property>
@@ -239,12 +239,12 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml">...
+ <programlisting role="xml"><![CDATA[...
<rich:dropDownMenu value="Item1" direction="bottom-right" jointPoint="tr">
<!--Nested menu components-->
</rich:dropDownMenu>
...
-</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[...
<rich:dropDownMenu value="Item1" direction="bottom-right" jointPoint="tr" horizontalOffset="-15" verticalOffset="0">
<!--Nested menu components-->
</rich:dropDownMenu>
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[...
<rich:panel>
<rich:dropSupport acceptedTypes="text"/>
</rich:panel>
...
-</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[...
<rich:dropSupport acceptedTypes="[iconsDragged, textDragged]" typeMapping="{iconsDragged: DropIcon}">
<rich:dndParam name="DropIcon">
<h:graphicImage value="/images/drop-icon.png"/>
</rich:dndParam>
...
-</programlisting>
+]]></programlisting>
<para>In this example, dropping a draggable item of an <emphasis><property>"iconsDragged"</property></emphasis> type
will trigger the use a parameter named <emphasis><property>"DropIcon"</property></emphasis> in the event processing
@@ -137,7 +137,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="XML">...
+ <programlisting role="XML"><![CDATA[...
<rich:dataTable value="#{capitalsBean.capitals}" var="caps">
<f:facet name="caption">Capitals List</f:facet>
<h:column>
@@ -150,7 +150,7 @@
</h:column>
</rich:dataTable>
...
-</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[...
<rich:panel style="width:100px;height:100px;">
<f:facet name="header">Drop Zone</f:facet>
<rich:dropSupport acceptedTypes="text" reRender="box"
dropListener="#{capitalsBean.addCapital2}"/>
</rich:panel>
...
-</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[...
<rich:dataTable value="#{capitalsBean.capitals2}" var="cap2" id="box">
<f:facet name="caption">Capitals chosen</f:facet>
<h:column>
<h:outputText value="#{cap2.name}"/>
</h:column>
</rich:dataTable>
-...</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[...
<rich:insert src="/pages/sourcePage.xhtml" highlight="xhtml"/>
-...</programlisting>
+...]]></programlisting>
</section>
<section>
@@ -95,9 +95,9 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml">...
+ <programlisting role="xml"><![CDATA[...
<rich:insert src="/pages/sourcePage.xhtml" highlight="xhtml"/>
- ...</programlisting>
+ ...]]></programlisting>
<figure>
<para>The result of using <emphasis role="bold">
<property><rich:insert></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[...
<rich:modalPanel id="panel">
<f:facet name="header">
<h:outputText value="header">
@@ -78,7 +78,7 @@
...
<a href="javascript:RichFaces.showModalPanel('form:panel')">Show</a>
...
-</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[...
<form jsfc="h:form" id="form">
<rich:modalPanel id="panel" width="400" height="300">
<f:facet name="header">
@@ -155,7 +155,7 @@
<a href="javascript:Richfaces.showModalPanel('form:panel');">Open</a>
</form>
...
-</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 @@
</f:facet>
<h:graphicImage value="/pages/california_large.gif"/>
</rich:modalPanel>
-</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>"onshow"</property></emphasis> and <emphasis><property>"onclose"</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&op=viewtopic&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[...
<rich:panelMenu event="onmouseover">
<!--Nested panelMenu components-->
</rich:panelMenu>
-...</programlisting>
+...]]></programlisting>
</section>
<section>
@@ -95,11 +95,11 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml">...
+ <programlisting role="xml"><![CDATA[...
<rich:panelMenu event="onmouseover">
<!--Nested panelMenu components-->
</rich:panelMenu>
-...</programlisting>
+...]]></programlisting>
<para>Switching mode could be chosen with the <emphasis>
<property>"mode"</property>
@@ -149,13 +149,13 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml">...
+ <programlisting role="xml"><![CDATA[...
<rich:panelMenu event="onclick" submitMode="none">
< rich:panelMenuItem label="Link to external page">
<h:outputLink ... >
<rich:panelMenuItem>
</rich:panelMenu>
-...</programlisting>
+...]]></programlisting>
<note><title>Note:</title> As the <emphasis role="bold">
<property><rich:panelMenu></property>
@@ -190,13 +190,13 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml">...
+ <programlisting role="xml"><![CDATA[...
<rich:panelMenu selectedChild="thisChild">
<rich:panelMenuGroup label="Group1" name="thisChild">
<!--Nested panelMenu components-->
</rich:panelMenuGroup>
</rich:panelMenu>
-...</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[...
<rich:panelMenu>
<rich:panelMenuGroup label="Group1">
<!--Nested panelMenu components-->
</rich:panelMenuGroup>
</rich:panelMenu>
-...</programlisting>
+...]]></programlisting>
</section>
<section>
@@ -154,13 +154,13 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml">...
+ <programlisting role="xml"><![CDATA[...
<rich:panelMenu>
<rich:panelMenuGroup label="Group1" iconExpanded="disc" iconCollapsed="chevron">
<!--Nested panelMenu components-->
</rich:panelMenuGroup>
</rich:panelMenu>
-...</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's also possible to define a path to the icon. Simple code is placed below.</para>
- <programlisting role="xml">...
+ <programlisting role="xml"><![CDATA[...
<rich:panelMenu>
<rich:panelMenuGroup label="Group1" iconExpanded="\images\img1.gif" iconCollapsed=""\images\img2.gif"">
<!--Nested menu components-->
</rich:panelMenuGroup>
</rich:panelMenu>
-...</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[...
<rich:panelMenu>
…
<rich:panelMenuItem value="Item1"/>
…
</rich:panelMenu>
-...</programlisting>
+...]]></programlisting>
</section>
<section>
@@ -133,7 +133,7 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml">...
+ <programlisting role="xml"><![CDATA[...
<rich:panelMenu>
…
<rich:panelMenuItem submitMode="none" onclick="document.location.href='http://labs.jboss.com/jbossrichfaces/">
@@ -143,7 +143,7 @@
</rich:panelMenuItem>
…
</rich:panelMenu>
-...</programlisting>
+...]]></programlisting>
<para>There are two icon-related attributes. The <emphasis>
<property>"icon"</property>
@@ -168,13 +168,13 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="xml">...
+ <programlisting role="xml"><![CDATA[...
<rich:panelMenu>
…
<rich:panelMenuItem ="Item 1.1" icon="chevronUp" />
…
</rich:panelMenu>
-...</programlisting>
+...]]></programlisting>
<para> As the result the picture is shown below:</para>
<figure>
@@ -189,13 +189,13 @@
<para>It's also possible to define a path to the icon. Simple code is placed below.</para>
- <programlisting role="xml">...
+ <programlisting role="xml"><![CDATA[...
<rich:panelMenu>
…
<rich:panelMenuItem ="Item 1.1" icon="\images\img1.gif" />
…
</rich:panelMenu>
-...</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