[jboss-cvs] JBossAS SVN: r95660 - projects/docs/enterprise/5.0/RichFaces/en-US.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Oct 28 02:23:39 EDT 2009


Author: laubai
Date: 2009-10-28 02:23:39 -0400 (Wed, 28 Oct 2009)
New Revision: 95660

Modified:
   projects/docs/enterprise/5.0/RichFaces/en-US/Architecture_Overview.xml
   projects/docs/enterprise/5.0/RichFaces/en-US/Book_Info.xml
   projects/docs/enterprise/5.0/RichFaces/en-US/FAQ.xml
   projects/docs/enterprise/5.0/RichFaces/en-US/Getting_Started.xml
   projects/docs/enterprise/5.0/RichFaces/en-US/Revision_History.xml
   projects/docs/enterprise/5.0/RichFaces/en-US/RichFaces_Developer_Guide.xml
   projects/docs/enterprise/5.0/RichFaces/en-US/Settings.xml
Log:
Removed CDATA tags and sections 4.3-4.7 in Architecture Overview.

Modified: projects/docs/enterprise/5.0/RichFaces/en-US/Architecture_Overview.xml
===================================================================
--- projects/docs/enterprise/5.0/RichFaces/en-US/Architecture_Overview.xml	2009-10-28 06:19:57 UTC (rev 95659)
+++ projects/docs/enterprise/5.0/RichFaces/en-US/Architecture_Overview.xml	2009-10-28 06:23:39 UTC (rev 95660)
@@ -69,7 +69,9 @@
 			  The RichFaces JavaScript Engine runs on the client side, and updates different areas of your JSF page based on information from the AJAX response. This JavaScript code operates automatically, so there is no need to use it directly.</para>
 		</formalpara>
 	</section>
-	<section id="IntegralParts" role="new">
+	<!--
+    
+    <section id="IntegralParts" role="new">
 		<title>RichFaces Integral Parts</title>
 		<para>
 		  RichFaces includes several integral parts (framework, libraries, etc.):</para>
@@ -124,16 +126,16 @@
 			<title>Re-Rendering</title>
 			<para>AJAX attributes are common in AJAX components such as <literal>&lt;a4j:support&gt;</literal>, <literal>&lt;a4j:commandButton&gt;</literal>, <literal>&lt;a4j:jsFunction&gt;</literal>, <literal>&lt;a4j:poll&gt;</literal>, <literal>&lt;a4j:push&gt;</literal> and similar. Most RichFaces components with built-in AJAX support also contain these attributes. AJAX component attributes let RichFaces expose its features. Most attributes are assigned default values, so you can start working with RichFaces without understanding the particular use of each attribute. However, familiarizing yourself with attributes will let you tune AJAX behavior more effectively.</para>
 			<para><varname>reRender</varname> is a key attribute that points to one or more areas on a page that should be updated with a response upon AJAX interaction. The value of the <varname>reRender</varname> attribute can be the ID of the JSF component, or an ID list. A simple example would be:</para>
-			<programlisting role="XML">&lt;![CDATA[...
+			<programlisting role="XML">...
 &lt;a4j:commandButton value="update" reRender="infoBlock"/&gt;
 ...
 &lt;h:panelGrid id="infoBlock"&gt;
     ...
 &lt;/h:panelGrid&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 			<para>The value of the <varname>reRender</varname> attribute belonging to the <literal>a4j:commandButton</literal> tag defines the part or parts of your page to be updated. In this case, the only part of the page that will be updated is the <literal>&lt;h:panelGrid&gt;</literal> tag, because its ID value matches the value of the <varname>reRender</varname> attribute. It is very easy to update multiple elements on a page: simply list their IDs as the value of <varname>reRender</varname>.</para>
 			<para><varname>reRender</varname> uses the <ulink url="http://java.sun.com/javaee/javaserverfaces/1.2_MR1/docs/api/javax/faces/component/UIComponent.html#findComponent(java.lang.String)"><literal>UIComponent.findComponent()</literal> algorithm</ulink> (with some exceptions) to locate the component on the component tree. The algorithm presumes that several steps are required, and each step is executed only if the previous step is unsuccessful. You can hasten the process of locating the component by mentioning it more explicitly. The following example shows the different approaches available. Both buttons will work, but the <guibutton>Shortcut</guibutton> will work faster.</para>
-			<programlisting role="XML">&lt;![CDATA[...
+			<programlisting role="XML">...
 &lt;h:form id="form1"&gt;
 	...
 	&lt;a4j: commandButton value="Usual Way" reRender="infoBlock, infoBlock2" /&gt;
@@ -150,35 +152,35 @@
     &lt;/h:panelGrid&gt;
 	...
 &lt;/f:subview&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 			<para>You can also use JSF EL expressions as the value of the <varname>reRender</varname> attribute. The EL for <varname>reRender</varname> is resolved immediately prior to the <emphasis>Render Response</emphasis> phase, so you can determine which elements should be rerendered based on any previous phase in the AJAX request process.</para>
 			<para>The most common problem when <varname>reRender</varname> is used is identifying a component with a <varname>rendered</varname> attribute. When the <varname>rendered</varname> condition returns <literal>false</literal>, JSF does not store the location of the component to be rerendered. Therefore, after a component is rendered during the AJAX request, RichFaces delivers the rendered code to the client but cannot update the page because the location for the update is unknown. To work around this, point to one of the parent components that has no <varname>rendered</varname> attribute. Alternatively, you can wrap the component to be updated with <code>&lt;a4j:outputPanel&gt;layout=&quot;none&quot;</code>.</para>
 			<para>Setting the <varname>ajaxRendered</varname> attribute of <literal>&lt;a4j:outputPanel&gt;</literal> to <literal>true</literal> lets you define a page area that will be rerendered even if it is not explicitly identified in the <varname>reRender</varname> attribute.</para>
 			<para>It can be useful to have an area on a page that is updated as a response on any AJAX request. For example, the following code outputs error messages regardless of which AJAX request causes the Validation phase to fail:</para>
-			<programlisting role="XML">&lt;![CDATA[...
+			<programlisting role="XML">...
 &lt;a4j:outputPanel ajaxRendered="true"&gt;
 	&lt;h:messages /&gt;
 &lt;/a4j:outputPanel&gt;
-...]]&gt;</programlisting>
-			<para>The <varname>limitToList</varname> attribute lets you dismiss the behavior of the <literal>&lt;a4j:outputPanel&gt;</literal> element's <varname>ajaxRendered</varname> attribute. <!--#modify The following sentence seems wrong, but that's what the previous text suggested. Check, please!-->When <varname>limitToList</varname> is <literal>false</literal>, only the areas explicitly mentioned in the <varname>reRender</varname> attribute will be updated. All output panels that define <varname>ajaxRendered</varname> as <literal>true</literal> are ignored. For example:</para>
-			<programlisting role="XML">&lt;![CDATA[...
+...</programlisting>
+			<para>The <varname>limitToList</varname> attribute lets you dismiss the behavior of the <literal>&lt;a4j:outputPanel&gt;</literal> element's <varname>ajaxRendered</varname> attribute. When <varname>limitToList</varname> is <literal>false</literal>, only the areas explicitly mentioned in the <varname>reRender</varname> attribute will be updated. All output panels that define <varname>ajaxRendered</varname> as <literal>true</literal> are ignored. For example:</para>
+			<programlisting role="XML">...
 &lt;h:form&gt;
 	&lt;h:inputText value="#{person.name}"&gt;
     	&lt;a4j:support event="onkeyup" reRender="test" limitToList="true"/&gt;
     &lt;/h:inputText&gt;
     &lt;h:outputText value="#{person.name}" id="test"/&gt;
 &lt;/form&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 		</section>
 		<section id="QueueandTrafficFloodProtection">
 			<title>Queue and Traffic Flood Protection</title>
 			<para><varname>eventsQueue</varname> defines the name of the queue that will order upcoming AJAX requests. RichFaces does not queue AJAX requests by default. If events are produced simultaneously, they will arrive simultaneously at the server. However, JSF implementations (particularly early versions) do not guarantee that the first request will be served or passed into the JSF lifecycle first. The order in which server-side data is modified during simultaneous requests can be unpredictable. The <varname>eventsQueue</varname> attribute helps you avoid potential problems in this situation. Define the name of the queue explicitly if you expect intensive AJAX traffic in your application.</para>
 			<para>If the <varname>eventsQueue</varname> attribute is defined, a request posted in the same queue as another request will wait for the first request's AJAX response to be returned. RichFaces can also remove <emphasis>similar</emphasis> requests (requests produced by the same event) from the queue. The following code ensures that only the most recent request is sent to the server (assuming that a change is made before the original AJAX Response is returned):</para>
-			<programlisting role="XML">&lt;![CDATA[...
+			<programlisting role="XML">...
 &lt;h:inputText value="#{userBean.name}"&gt;
 	&lt;a4j:support event="onkeyup" eventsQueue="foo" reRender="bar" /&gt;
 &lt;/h:inputText&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 			<para>The <varname>requestDelay</varname> attribute defines the time (in milliseconds) that the request will wait in the queue before it is ready to send. When the delay time has passed, the request will either be sent to the server or removed (if a more recent <emphasis>similar</emphasis> request has been queued already).</para>
 			<para>The <varname>ignoreDupResponses</varname> attribute ignores the AJAX Response produced by the request if the most recent <emphasis>similar</emphasis> request is already queued. Setting <varname>ignoreDupResponses</varname> to <literal>true</literal> does not cancel the request while it is being processed on the server, but does not update the client-side data if the response no longer belongs to the most current request.</para>
 			<para> Defining the <varname>eventsQueue</varname> and <varname>requestDelay</varname> protects you against unnecessary traffic flood and synchronizes the order of your AJAX requests. If your requests originate from several sources, you can define the same queue name for each source. This is useful if you have AJAX components that invoke requests asynchronously from user event requests, such as <literal>&lt;a4j:poll&gt;</literal> or <literal>&lt;a4j:push&gt;</literal>. Where these requests modify the same data, synchronizing the request order is important to data integrity.</para>
@@ -188,7 +190,7 @@
 		<section id="QueuePrinciples">
 			<title>Queue Principles</title>
 			<para>RichFaces 3.3.0 and higher includes an improved queue. It eliminates the possibility of collisions of conflicting data and reduces traffic between the browser and the server by sending only the most recent AJAX request where <emphasis>similar</emphasis> requests are held simultaneously during the <emphasis>request delay period</emphasis>.</para>
-			<!--#modify It did not sound as if there were any changes between the previous queue and the 3.3.0 version, so I removed the redundant paragraph. If there were any changes, let me know. lbailey at redhat.com-->
+			
 			<para>There are four types of queue:</para>
 			<itemizedlist>
 				<listitem><para>the <emphasis>Global Default Queue</emphasis>, defined in the <filename>web.xml</filename> file,
@@ -204,7 +206,7 @@
 					<para>the <emphasis>Form-based Default Queue</emphasis>.</para>
 				</listitem>
 			</itemizedlist>
-			<para>This section covers the different queues in detail. <!--Usage details are covered in <xref linkend="a4j_queue" />.--></para>
+			<para>This section covers the different queues in detail. </para>
 			<section>
 				<title>Global Default queue, defined in the <filename>web.xml</filename> file</title>
 				
@@ -219,13 +221,13 @@
 				</itemizedlist>
 				
 				<para>The Global Default Queue is application-scoped and is defined in the <filename>web.xml</filename> file as follows:</para>
-				<programlisting role="XML">&lt;![CDATA[...
+				<programlisting role="XML">...
 &lt;context-param&gt;
    &lt;param-name&gt;org.richfaces.queue.global.enabled&lt;/param-name&gt;
    &lt;param-value&gt;true&lt;/param-value&gt;
 &lt;/context-param&gt;
 ...
-]]&gt;</programlisting>
+</programlisting>
 				<para>The Global Default Queue is disabled by default because artificially serializing all AJAX requests on a page can affect expected behavior significantly.</para>
 			</section>
 			<section>
@@ -252,18 +254,18 @@
 			    </itemizedlist>
 			    <para>The View-scoped Default, Named, and Form-based queue types all use the <literal>&lt;a4j:queue&gt;</literal> tag to override the settings defined by the Global Queue in <filename>web.xml</filename>.</para>
 			    <para>You can also programmatically enable/disable the global queue for a particular view using the following:</para>
-					<programlisting role="XML">&lt;![CDATA[...
+					<programlisting role="XML">...
 &lt;a4j:queue name="org.richfaces.global_queue" disabled="true"... /&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 			    <para>To enable the queue for a single view page, you must set the <varname>disable</varname> attribute to <literal>false</literal>.</para>
-			    <para>You can override the default settings by changing the attributes of the <literal>&lt;a4j:queue&gt;</literal> component. (The complete list of attributes can be found in the <!--#modify xref 6.20 plz--><literal>&lt;a4j:queue&gt;</literal> chapter.) For example:</para>
-			    <programlisting role="XML">&lt;![CDATA[...
+			    <para>You can override the default settings by changing the attributes of the <literal>&lt;a4j:queue&gt;</literal> component. (The complete list of attributes can be found in the <literal>&lt;a4j:queue&gt;</literal> chapter.) For example:</para>
+			    <programlisting role="XML">...
 &lt;a4j:queue name="org.richfaces.global_queue" requestDelay="1000" /&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 			    <para>You can add the view-scoped queue without explicitly defining a name. Place the appropriate tag anywhere outside the form so that it is not recognized as a form-based queue:</para>
-			    <programlisting role="XML">&lt;![CDATA[...
+			    <programlisting role="XML">...
 &lt;a4j:queue ... /&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 			  </section>
               
 			<section>
@@ -280,13 +282,13 @@
 			    <para>
 				    You can reference a named queue from any Ajax4JSF or RichFaces component that supports the<varname>eventsQueue</varname> attribute. The following example shows how components can reference a named queue:
 			    </para>
-			    <programlisting role="XML">&lt;![CDATA[...
+			    <programlisting role="XML">...
 &lt;a4j:queue name="sampleQueue"/&gt;							
 &lt;h:inputText value="#{bean.inputValue}" &gt;
 	&lt;a4j:support id="inputSupport" event="onkeyup" eventsQueue="sample"/&gt;
 &lt;/h:inputText&gt;
 &lt;rich:comboBox value="#{bean.state}" suggestionValues="#{bean.suggestions}" eventsQueue="sample" /&gt;    
-...]]&gt;</programlisting>
+...</programlisting>
 			    <para>In this example, two components (<literal>&lt;a4j:queue&gt;</literal> and <literal>&lt;rich:comboBox&gt;</literal>) reference the named queue through the <varname>eventsQueue</varname> attribute. </para>
 		    </section>
 		    <section>
@@ -296,29 +298,7 @@
 			    <para>To avoid the need to define the <varname>eventsQueue</varname> attribute for every component on a form, create a default queue for a form. This will override the Global Default Queue.</para>
 				
 			    <para>You can use either a JSF <literal>&lt;h:form&gt;</literal> or an Ajax4JSF <literal>&lt;a4j:form&gt;</literal>. </para>
-			    <programlisting role="XML">&lt;![CDATA[...
-&lt;h:form ... &gt;
-	&lt;a4j:queue ... /&gt;&lt;!-- note no name specified --&gt;
-	...
-&lt;/h:form&gt;
-...]]&gt;</programlisting>		
-			
-			    <para>You can also reference a named queue with the <varname>eventsQueue</varname> attribute if you are using an Ajax4JSF <literal>&lt;a4j:form&gt;</literal>:</para>
-				<programlisting role="XML">&lt;![CDATA[...
-&lt;a4j:form eventsQueue="fooQueue" ...&gt;
-	...
-&lt;/a4j:form&gt;
-...]]&gt;</programlisting>		
-			    <para>The queue itself also lets you reference a named queue from the form with a form-based queue:</para>
-				<programlisting role="XML">&lt;![CDATA[...
-&lt;a4j:queue name="sampleQueue" ... /&gt; &lt;!-- named queue --&gt;
-...
-&lt;h:form ... &gt;
-	&lt;a4j:queue ... /&gt;&lt;!-- form-based queue--&gt;
-    &lt;a4j:commandButton ... /&gt; &lt;!-- uses the form-based queue --&gt;
- 	&lt;a4j:commandButton eventsQueue="sampleQueue" /&gt; &lt;!-- uses named queue --&gt;
-&lt;/h:form&gt;
-...]]&gt;</programlisting>	
+
 			</section>
 
 <section>
@@ -360,7 +340,6 @@
 					</row>
 				</thead>
 				<tbody>
-					<!--Sorting API -->
 					<row>
 						<entry>getSize()</entry>
 						<entry>Returns the current size to the queue</entry>
@@ -381,14 +360,14 @@
 		<title>Data Processing Options</title>
 		<para>RichFaces takes a form-based approach to sending AJAX requests. This means that each time you click on an AJAX button or the <literal>&lt;a4j:poll&gt;</literal> produces an asynchronous request, the data from the closest JSF form is submitted with the <literal>XMLHTTPRequest</literal> object. The form data contains the values from the form input element and auxiliary information such as state saving data.</para>
 		<para>When <varname>ajaxSingle</varname> is set to <literal>true</literal>, it includes the value of the current component (plus any <literal>&lt;f:param&gt;</literal> and <literal>&lt;a4j:actionparam&gt;</literal> values) in the request map. Any <literal>&lt;a4j:support&gt;</literal> is included as a value of the parent component, like so:</para>
-			<programlisting role="XML">&lt;![CDATA[...
+			<programlisting role="XML">...
 &lt;h:form&gt;
 	&lt;h:inputText value="#{person.name}"&gt;
     	&lt;a4j:support event="onkeyup" reRender="test" ajaxSingle="true"/&gt;
     &lt;/h:inputText&gt;
     &lt;h:inputText value="#{person.middleName}"/&gt;
 &lt;/form&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 			<para>This request contains only the input component that causes request generation, not all of the components on the form, because <code>ajaxSingle=&quot;true&quot;</code> is used.</para>
 			<note>
 			    <para>
@@ -405,7 +384,7 @@
 		<section id="ActionandNavigation">
 			<title>Action and Navigation</title>
 			<para>AJAX <emphasis>action</emphasis> components are similar to non-AJAX JSF components like <literal>&lt;h:commandButton&gt;</literal>. They let you submit the form. You can use <varname>action</varname> and <varname>actionListener</varname> attributes to invoke the action method and define the action event.</para>
-			<para>The <varname>action</varname> method must return <literal>null</literal> for your AJAX response to have a partial page update. (This is known as <emphasis>AJAX request generates Non-AJAX Response</emphasis> mode.)  If the action does not return null, but the action outcome matches one of the navigation rules, RichFaces works in <!--#modify Check mode please; sounded as if a different mode was intended, here.--><emphasis>AJAX request generates Non-AJAX Response</emphasis> mode, which can be useful in two major cases:</para>
+			<para>The <varname>action</varname> method must return <literal>null</literal> for your AJAX response to have a partial page update. (This is known as <emphasis>AJAX request generates Non-AJAX Response</emphasis> mode.)  If the action does not return null, but the action outcome matches one of the navigation rules, RichFaces works in <emphasis>AJAX request generates Non-AJAX Response</emphasis> mode, which can be useful in two major cases:</para>
 			<itemizedlist>
 			    <listitem>
 				  <para>RichFaces lets you organize page flow within the <literal>&lt;a4j:include&gt;</literal> component. (This is typical of Wizard-like behavior.) New content is rendered inside the <literal>&lt;a4j:include&gt;</literal> area. Content is taken from the navigation rule of the Faces configuration file (usually <filename>faces-config.xml</filename>). Note that the content of the wizard is not isolated from the rest of the page. The included page should have its own <literal>&lt;f:view&gt;</literal> defined, regardless of whether facelets are used. You must include an AJAX component inside <literal>&lt;a4j:include&gt;</literal> to navigate between the wizard pages or a complete page update will be performed.</para>
@@ -419,9 +398,9 @@
 			<title>JavaScript Interactions</title>
 			<para>RichFaces lets you write AJAX-enabled JSF applications without writing any JavaScript code. However, you can still invoke JavaScript code if required with several helpful AJAX attributes:</para>
 			<para>The <varname>onsubmit</varname> attribute lets you invoke JavaScript code before an AJAX request is sent. If <varname>onsubmit</varname> returns <literal>false</literal>, the AJAX request is canceled. <varname>onsubmit</varname> code is inserted before the RichFaces AJAX call, so if you want the AJAX request to be sent, do not include a <literal>return</literal> statement in <varname>onsubmit</varname>. When invoking a JavaScript function that returns <literal>true</literal> or <literal>false</literal>, use the conditional statement to return something only when you need to cancel the request. For example:</para>
-			<programlisting role="XML">&lt;![CDATA[...
+			<programlisting role="XML">...
 onsubmit="if (mynosendfunct()==false){return false}"
-...]]&gt;</programlisting>
+...</programlisting>
 			<para><varname>onclick</varname> is similar to <varname>onsubmit</varname>, but is used for clickable components such as <literal>&lt;a4j:commandLink&gt;</literal> and <literal>&lt;a4j:commandButton&gt;</literal>. If <varname>onclick</varname> returns <literal>false</literal>, the AJAX request is canceled.</para>
 			<para><varname>oncomplete</varname> passes JavaScript that would be invoked immediately after the AJAX response returns and the DOM is updated. We do not recommend using the keyword <literal>this</literal> inside the EL expression, because it will not always point to the component where the AJAX request was initiated.</para>
 			<para>
@@ -430,9 +409,9 @@
 				</emphasis> attribute defines JavaScript code for call after Ajax response receiving
 				and before updating DOM on a client side. </para>
 			<para>The <varname>data</varname> attribute retrieves additional data from the server during an AJAX call. You can use JSF EL to point to the managed bean's property and its value will be serialized in JSON format and made available on the client side. You can refer to this value with <varname>data</varname>, like so:</para>
-			<programlisting role="XML">&lt;![CDATA[...
+			<programlisting role="XML">...
 &lt;a4j:commandButton value="Update" data="#{userBean.name}" oncomplete="showTheName(data.name)" /&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 			<para>RichFaces lets you serialize primitive and complex data types into JSON format, including arrays and collections. The beans must be serializable before you can refer to them with <varname>data</varname>.</para>
 			<para>There are several useful JavaScript functions available to this attribute:</para>
 			<variablelist>
@@ -456,12 +435,12 @@
 				<term><code>rich:findComponent('id')</code></term>
 				<listitem>
 				    <para>returns an instance of <literal>UIComponent</literal> that takes the short ID of the component as a parameter.</para>
-				<programlisting role="XML">&lt;![CDATA[...
+				<programlisting role="XML">...
 &lt;h:inputText id="myInput"&gt;
     &lt;a4j:support event="onkeyup" reRender="outtext"/&gt;
 &lt;/h:inputText&gt;
 &lt;h:outputText id="outtext" value="#{rich:findComponent('myInput').value}" /&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 			    </listitem>
                 </varlistentry>
 			</variablelist>
@@ -469,7 +448,7 @@
 		<section id="IterationcomponentsAjaxattributes">
 			<title>Iteration components Ajax attributes</title>
 			<para><varname>ajaxKeys</varname> defines strings that are updated after an AJAX request. This makes it possible to update several child components separately without updating the entire page.</para>
-			<programlisting role="XML">&lt;![CDATA[...
+			<programlisting role="XML">...
 &lt;a4j:poll intervall="1000" action="#{repeater.action}" reRender="text"&gt;
 	&lt;table&gt;
     	&lt;tbody&gt;
@@ -483,12 +462,12 @@
         &lt;/tbody&gt;
     &lt;/table&gt;
 &lt;/a4j:poll&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 		</section>
 		<section id="Otherusefulattributes">
 			<title>Other useful attributes</title>
 			<para>The <varname>status</varname> attribute for AJAX components (<literal>&lt;a4j:commandButton&gt;</literal> , <literal>&lt;a4j:poll&gt;</literal> , etc.) points to an ID of the <literal>&lt;a4j:status&gt;</literal> component. Use this attribute to share the <literal>&lt;a4j:status&gt;</literal> component between different AJAX components from different regions. For example:</para>
-			<programlisting role="XML">&lt;![CDATA[...
+			<programlisting role="XML">...
 &lt;a4j:region id="extr"&gt;
 	&lt;h:form&gt;
     	&lt;h:outputText value="Status:" /&gt;
@@ -515,7 +494,7 @@
         &lt;/a4j:region&gt;
     &lt;/h:form&gt;
 &lt;/a4j:region&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 			<para>In the example, <literal>&lt;a4j:support&gt;</literal> and <literal>&lt;a4j:commandButton&gt;</literal> are defined in different regions. The value of the <varname>status</varname> attribute for these components points to an ID of <literal>&lt;a4j:support&gt;</literal>, so the <literal>&lt;a4j:support&gt;</literal> component is shared between two components from different regions.</para>
 			<para>You can find more information in the <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/status.jsf?c=status"> RichFaces Live Demo</ulink>.</para>
 			<para>The <varname>focus</varname> attribute points to the ID of a component where the focus will be set following an AJAX request.</para>
@@ -530,7 +509,7 @@
 			<para><literal>&lt;a4j:commandButton&gt;</literal> and <literal>&lt;a4j:commandLink&gt;</literal> tags are used to send an AJAX request upon the <literal>onclick</literal> JavaScript event. </para>
 			<para>The <literal>&lt;a4j:poll&gt;</literal> tag is used to send an AJAX request periodically using a timer.</para>
 			<para>The <literal>&lt;a4j:support&gt;</literal> tag lets you add AJAX functions to standard JSF components and send an AJAX request upon a selected JavaScript event: <literal>onkeyup</literal>, <literal>onmouseover</literal>, etc.</para>
-			<!--para>Most important attributes of components that provide Ajax request calling features are:</para>
+			<para>Most important attributes of components that provide Ajax request calling features are:</para>
 				<itemizedlist>
 				<listitem>
 				<emphasis>
@@ -577,7 +556,7 @@
 				<emphasis>
 				<property>&quot;ignoreDupResponses&quot;</property>
 				</emphasis> is used to abort unfinished request on new event. </listitem>
-				</itemizedlist-->
+				</itemizedlist>
 		</section>
 		<section id="DecideWhatToSend">
 			<title>Decide What to Send</title>
@@ -606,7 +585,7 @@
 			<para>You can use <varname>process</varname> when you want to process only two components in different view areas.</para>
 			<para>For example, imagine that you need to process two input fields, but not the whole view. If you wrap the first input field to a region, or make a <literal>&lt;a4j:support&gt;</literal> component with <code>ajaxSingle=&quot;true&quot;</code> nested, the second input will not be processed. </para>
 			<para>A simple solution to this problem is:</para>
-			<programlisting role="XML">&lt;![CDATA[...
+			<programlisting role="XML">...
 &lt;h:inputText value="#{bean.name}" id="name"&gt;
 	&lt;a4j:support ajaxSingle="true" process="email" event="onblur" reRender="someOut"/&gt;
 &lt;/h:inputText&gt;
@@ -614,9 +593,9 @@
 &lt;h:inputText value="#{bean.email}" id="email"&gt;
 	&lt;a4j:support ajaxSingle="true" process="name" event="onblur" reRender="someOut"/&gt;
 &lt;/h:inputText&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 			<para>When the <code>id=&quot;name&quot;</code> input field loses focus, an AJAX request is sent. Therefore, only two input fields (<code>id=&quot;name&quot;</code> and <code>id=&quot;email&quot;</code>) are processed. Decoding, conversion/validation, and value applying phases are all executed. The <code>id=&quot;email&quot;</code> input field is handled the same way upon a blur event.</para>
-			<!--para>
+			<para>
 				The
 				<emphasis>
 					<property>&quot;process&quot;</property>
@@ -684,20 +663,20 @@
 					<property>&lt;h:outputText&gt;</property>
 				</emphasis>
 				.
-			</para-->
+			</para>
 		</section>
 	</section>
 	<section id="FilterConfiguration">
 		<title>Filter Configuration</title>
 		<para>RichFaces uses a filter to correct code received in an AJAX request. In a <emphasis>regular</emphasis> JSF request, a browser makes corrections independently. In an AJAX request, a filter is required to prevent layout destruction, because received code could differ from code that has been validated by a browser, and the browser makes no corrections.</para>
 		<para>You can set a filter in your application's <filename>web.xml</filename>:</para>
-		<programlisting role="XML">&lt;![CDATA[...
+		<programlisting role="XML">...
 &lt;filter&gt;
 	&lt;display-name&gt;RichFaces Filter&lt;/display-name&gt;
     &lt;filter-name&gt;richfaces&lt;/filter-name&gt;
     &lt;filter-class&gt;org.ajax4jsf.Filter&lt;/filter-class&gt;
 &lt;/filter&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 		<note>
 		    <para>Fast Filters are deprecated and available only for backward compatibility with previous versions of RichFaces. Fast Filter usage is not recommended. For a similar function, try the <xref linkend="Neko" />.</para>
 		</note>
@@ -722,7 +701,7 @@
 		</variablelist>
 		<para>The following is an example configuration:</para>
 			    <programlisting role="XML">
-&lt;![CDATA[...
+...
 &lt;context-param&gt;
 	&lt;param-name&gt;org.ajax4jsf.xmlparser.ORDER&lt;/param-name&gt;
     &lt;param-value&gt;NONE,NEKO,TIDY&lt;/param-value&gt;
@@ -747,14 +726,14 @@
     &lt;dispatcher&gt;REQUEST&lt;/dispatcher&gt;
     &lt;dispatcher&gt;INCLUDE&lt;/dispatcher&gt;
 &lt;/filter-mapping&gt;
-...]]&gt;
+...
 			    </programlisting>
 			    <para>This example shows that the <literal>ORDER</literal> parameter defines the order in which particular filter types are used for code correction.</para>
 			    <para>First, the <literal>NONE</literal> type is specified for the filter. Then two different page sets are defined for two different, corresponding filter types (<literal>NONE</literal> and <literal>NEKO</literal>). The first set is defined like so:</para>
-<programlisting role="XML">&lt;![CDATA[&lt;param-value&gt;/pages/performance\.xhtml,/pages/default.*\.xhtml&lt;/param-value&gt;]]&gt;</programlisting>
+<programlisting role="XML">&lt;param-value&gt;/pages/performance\.xhtml,/pages/default.*\.xhtml&lt;/param-value&gt;</programlisting>
 		<para>If a page relates to this definition, it is not corrected because the filter type for this page set is defined as <literal>NONE</literal>. If a page is not from the first set, then the <literal>NEKO</literal> filter type is used.</para>
 		<para>The second set is defined as follows:</para>
-<programlisting role="XML">&lt;![CDATA[&lt;param-value&gt;/pages/repeat\.xhtml&lt;/param-value&gt;]]&gt;</programlisting>
+<programlisting role="XML">&lt;param-value&gt;/pages/repeat\.xhtml&lt;/param-value&gt;</programlisting>
 		<para>If the page set relates to this definition, the <literal>NEKO</literal> filter type is used for correction. If the page is not related to this second set, the <literal>TIDY</literal> filter type is set for code correction.</para>
 	</section>
 	<section id="ScriptsandStylesLoadStrategy" role="updated">
@@ -764,59 +743,61 @@
 			<title><literal>org.richfaces.LoadScriptStrategy</literal></title>
 			<para>Declare the following in your <filename>web.xml</filename> to enable loading integrated script files.</para>
 		</formalpara>
-<programlisting role="XML">&lt;![CDATA[...
+<programlisting role="XML">...
 &lt;context-param&gt;
 	&lt;param-name&gt;org.richfaces.LoadScriptStrategy&lt;/param-name&gt;
     &lt;param-value&gt;ALL&lt;/param-value&gt;
 &lt;/context-param&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 		<para>If you do not declare <literal>org.richfaces.LoadScriptStrategy</literal> in the <filename>web.xml</filename>, it will default to the following:</para>
-		<programlisting role="XML">&lt;![CDATA[...
+		<programlisting role="XML">...
 &lt;context-param&gt;
 	&lt;param-name&gt;org.richfaces.LoadScriptStrategy&lt;/param-name&gt;
     &lt;param-value&gt;DEFAULT&lt;/param-value&gt;
 &lt;/context-param&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 		<para>The third possible value is <literal>NONE</literal>. There is no reason to use this unless you obtain a modified version of the script and want to include it manually in a page header.</para>
 		<warning>
 		    <para>Using the <literal>ALL</literal> value of the <literal>LoadScriptStrategy</literal> disables JavaScript file compression.</para>
-			<!--programlisting role="XML"><![CDATA[...
+			<programlisting role="XML"><![CDATA[...
 				<context-param>
 				<param-name>org.ajax4jsf.COMPRESS_SCRIPT</param-name>
 				<param-value>false</param-value>
 				</context-param>
 				...
-				]]></programlisting-->
+				]]></programlisting>
 		</warning>
 		<formalpara>
 		    <title><literal>org.richfaces.LoadStyleStrategy</literal></title>
 		    <para>The following declaration allows only one integrated style sheet file to be loaded:</para></formalpara>
-		<programlisting role="XML">&lt;![CDATA[...
+		<programlisting role="XML">...
 &lt;context-param&gt;
 	&lt;param-name&gt;org.richfaces.LoadStyleStrategy&lt;/param-name&gt;
     &lt;param-value&gt;ALL&lt;/param-value&gt;
 &lt;/context-param&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 		<para>The integrated style sheet contains style information for all shipped components. (Skins can still be used.)</para>
 		<para>The <literal>DEFAULT</literal> value is a classical on-demand variant.</para>
 		<para><literal>NONE</literal> prevents the styles from loading at all. The earlier introduced <emphasis>plain skin</emphasis> resets all color and font parameters to <literal>null</literal>. The <literal>NONE</literal> value for <literal>org.richfaces.LoadStyleStrategy</literal> means that predefined styles for RichFaces are not used. </para>
 		<para>For more information, see the <ulink url="http://www.jboss.com/index.html?module=bb&amp;op=viewtopic&amp;p=4114033">RichFaces User Forum</ulink>.</para>
-	</section>
+	</section>-->
+
+    
 	<section id="RequestErrorsAndSessionExpirationHandling">
 		<title>Request Errors and Session Expiration Handling</title>
 		<para>RichFaces lets you redefine the standard handlers responsible for processing exceptions. We recommend defining your own JavaScript, which will be executed when exceptional situations occur.</para>
 		<para>Add the following code to <filename>web.xml</filename>: </para>
-		<programlisting role="XML">&lt;![CDATA[&lt;context-param&gt;
+		<programlisting role="XML">&lt;context-param&gt;
 	&lt;param-name&gt;org.ajax4jsf.handleViewExpiredOnClient&lt;/param-name&gt;
 	&lt;param-value&gt;true&lt;/param-value&gt;
-&lt;/context-param&gt;]]&gt;
+&lt;/context-param&gt;
 		</programlisting>
 		<section id="RequestErrorsHandling">
 			<title>Request Errors Handling</title>
 			<para>To execute your own code on the client in the event of an error during an AJAX request, you must redefine the standard <literal>A4J.AJAX.onError</literal> method like so:</para>
-			<programlisting role="JAVA">&lt;![CDATA[ A4J.AJAX.onError = function(req, status, message){
+			<programlisting role="JAVA"> A4J.AJAX.onError = function(req, status, message){
     window.alert("Custom onError handler "+message);
-}]]&gt;</programlisting>
+}</programlisting>
 			<para>This function accepts the following as parameters:</para>
 			<variablelist>
 			    <varlistentry><term><literal>req</literal></term>
@@ -846,13 +827,13 @@
 				<emphasis>Example:</emphasis>
 			</para>
 			<programlisting role="JAVA">
-&lt;![CDATA[A4J.AJAX.onExpired = function(loc, expiredMsg){
+A4J.AJAX.onExpired = function(loc, expiredMsg){
     if(window.confirm("Custom onExpired handler "+expiredMsg+" for a location: "+loc)){
       return loc;
     } else {
      return false;
     }
-}]]&gt;</programlisting>
+}</programlisting>
 			<para>This function can take the following parameters:</para>
 			<variablelist>
 			    <varlistentry><term><literal>loc</literal></term>
@@ -868,12 +849,12 @@
 			</variablelist>
 			<note>
 			    <para>Customized <literal>onExpire</literal> handlers do not work under MyFaces. MyFaces handles exceptions by internally generating a debug page. To prevent this behavior, use the following:</para>
-			    <programlisting role="XML">&lt;![CDATA[...
+			    <programlisting role="XML">...
 &lt;context-param&gt;
 	&lt;param-name&gt;org.apache.myfaces.ERROR_HANDLING&lt;/param-name&gt;
 	&lt;param-value&gt;false&lt;/param-value&gt;
 &lt;/context-param&gt; 
-...]]&gt;</programlisting>
+...</programlisting>
 			</note>
 			<!--note>
 				<title>Note:</title>
@@ -931,12 +912,12 @@
 		<section id="Example">
 			<title>Example</title>
 			<para>The following is an example of a simple <emphasis>panel</emphasis> component:</para>
-			<programlisting role="XML">&lt;![CDATA[&lt;rich:panel&gt; ... &lt;/rich:panel&gt;]]&gt;
+			<programlisting role="XML">&lt;rich:panel&gt; ... &lt;/rich:panel&gt;
 			</programlisting>
 			<para>This code generates a panel component on a page, which consists of two elements: a wrapper <literal>&lt;div&gt;</literal> element and a <literal>&lt;div&gt;</literal> element for the panel body with the specified style properties. The wrapper <literal>&lt;div&gt;</literal> element will look like this: </para>
-			<programlisting role="XML">&lt;![CDATA[&lt;div class="dr-pnl rich-panel"&gt;
+			<programlisting role="XML">&lt;div class="dr-pnl rich-panel"&gt;
      ...
-&lt;/div&gt;]]&gt;</programlisting>
+&lt;/div&gt;</programlisting>
 			<para><literal>dr-pnl</literal> is a CSS class that is specified in the framework via skin parameters:</para>
 			<itemizedlist>
 				<listitem>
@@ -948,12 +929,12 @@
 			</itemizedlist>
 			<para>You can change all colors for all panels on all pages by changing these skin parameter values. However, if you specify a <literal>&lt;rich:panel&gt;</literal> class on the page, its parameters are also acquired by all panels on this page.</para>
 			<para>Developers can also change the style properties for  panel. For example:</para>
-			<programlisting role="XML">&lt;![CDATA[&lt;rich:panel styleClass="customClass" /&gt;]]&gt;</programlisting>
+			<programlisting role="XML">&lt;rich:panel styleClass="customClass" /&gt;</programlisting>
 			<para>The previous definition could add some style properties from <literal>customClass</literal> to one particular panel. As a result, we will get three styles:</para>
 			<programlisting role="XML">
-&lt;![CDATA[&lt;div class="dr_pnl rich-panel customClass"&gt; 
+&lt;div class="dr_pnl rich-panel customClass"&gt; 
 	...
-&lt;/div&gt;]]&gt;
+&lt;/div&gt;
 			</programlisting>
 		</section>
 		<section id="SkinParametersTablesInRichFaces">
@@ -1164,12 +1145,12 @@
 				</listitem>
 				<listitem>
 				    <para>Add the skin definition <literal>&lt;contex-param&gt;</literal> to the <filename>web.xml</filename> of your application, like so: </para>
-				    <programlisting role="XML">&lt;![CDATA[...
+				    <programlisting role="XML">...
 &lt;context-param&gt;
      &lt;param-name&gt;org.richfaces.SKIN&lt;/param-name&gt;
      &lt;param-value&gt;name&lt;/param-value&gt;
 &lt;/context-param&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 				</listitem>
 				<listitem>
 				    <para>Place your <literal>&lt;name&gt;.skin.properties</literal> file in either your <filename>/META-INF/skins</filename> or <filename>/WEB-INF/classes</filename> directory.</para>
@@ -1184,18 +1165,18 @@
 			<itemizedlist>
 				<listitem>
 					<para>Create a custom render kit and register it in the <filename>faces-config.xml</filename> like so:</para>
-					<programlisting role="XML">&lt;![CDATA[&lt;render-kit&gt;
+					<programlisting role="XML">&lt;render-kit&gt;
      &lt;render-kit-id&gt;NEW_SKIN&lt;/render-kit-id&gt;
      &lt;render-kit-class&gt;org.ajax4jsf.framework.renderer.ChameleonRenderKitImpl&lt;/render-kit-class&gt;
-&lt;/render-kit&gt;]]&gt;</programlisting>
+&lt;/render-kit&gt;</programlisting>
 				</listitem>
 				<listitem>
 					<para>Next, create and register custom renderers for the component based on the look-and-feel predefined variables:</para>
-					<programlisting role="XML">&lt;![CDATA[&lt;renderer&gt;
+					<programlisting role="XML">&lt;renderer&gt;
 	&lt;component-family&gt;javax.faces.Command&lt;/component-family&gt;
     &lt;renderer-type&gt;javax.faces.Link&lt;/renderer-type&gt;
     &lt;renderer-class&gt;newskin.HtmlCommandLinkRenderer&lt;/renderer-class&gt;
-&lt;/renderer&gt;]]&gt;</programlisting>
+&lt;/renderer&gt;</programlisting>
 				</listitem>
 				<listitem>
 					<para>Finally, place a properties file with skin parameters into the class path root. There are two requirements for the properties file:</para>
@@ -1214,15 +1195,15 @@
     <section id="ChangeAndModifySkin">
 			<title>Changing skin in runtime</title>
 			<para>You can change skins during runtime by defining the following EL-expression in your <filename>web.xml</filename>.</para>
-			<programlisting role="XML">&lt;![CDATA[&lt;context-param&gt;
+			<programlisting role="XML">&lt;context-param&gt;
 	&lt;param-name&gt;org.richfaces.SKIN&lt;/param-name&gt;
 	&lt;param-value&gt;#{skinBean.skin}&lt;/param-value&gt;
-&lt;/context-param&gt;]]&gt;
+&lt;/context-param&gt;
 			</programlisting>
 			<para>
 				The <literal>skinBean</literal> code looks like this:
 			</para>
-			<programlisting role="JAVA">&lt;![CDATA[public class SkinBean {
+			<programlisting role="JAVA">public class SkinBean {
 
 	private String skin;
 
@@ -1232,9 +1213,9 @@
 	public void setSkin(String skin) {
 		this.skin = skin;
 	}
-}]]&gt;</programlisting>
+}</programlisting>
 			<para>You must also set the <varname>skin</varname> property's initial value in the configuration file. To set <literal>classic</literal>:</para>
-			<programlisting role="XML">&lt;![CDATA[&lt;managed-bean&gt;
+			<programlisting role="XML">&lt;managed-bean&gt;
 	&lt;managed-bean-name&gt;skinBean&lt;/managed-bean-name&gt;
 	&lt;managed-bean-class&gt;SkinBean&lt;/managed-bean-class&gt;
 	&lt;managed-bean-scope&gt;session&lt;/managed-bean-scope&gt;
@@ -1242,10 +1223,10 @@
 		&lt;property-name&gt;skin&lt;/property-name&gt;
 		&lt;value&gt;classic&lt;/value&gt;
   	&lt;/managed-property&gt;
-&lt;/managed-bean&gt;]]&gt;
+&lt;/managed-bean&gt;
 			</programlisting>
 			<para>You can also change the properties of the default skin. To do so, edit the properties of the default skin. The following shows you example page code:</para>
-			<programlisting role="XML">&lt;![CDATA[&lt;h:form&gt;
+			<programlisting role="XML">&lt;h:form&gt;
      &lt;div style="display: block; float: left"&gt;
           &lt;h:selectOneRadio value="#{skinBean.skin}" border="0" layout="pageDirection" title="Changing skin" style="font-size: 8; font-family: comic" onchange="submit()"&gt;
                	&lt;f:selectItem itemLabel="plain" itemValue="plain" /&gt;
@@ -1271,7 +1252,7 @@
 	&lt;/rich:panelBarItem&gt;
           &lt;/rich:panelBar&gt;
      &lt;/div&gt;
-&lt;/h:form&gt;]]&gt;</programlisting>
+&lt;/h:form&gt;</programlisting>
 			<para>
 				The above code will generate the following list of options:
 			</para>
@@ -1381,15 +1362,15 @@
 			<itemizedlist>
 			    <listitem>
 				<para>basic elements nested within elements with a <emphasis>rich-container</emphasis> class. For example:</para>
-					<programlisting role="CSS">&lt;![CDATA[...
+					<programlisting role="CSS">...
 .rich-container select {
    //class content
 }
-...]]&gt;</programlisting>
+...</programlisting>
 			    </listitem>
 			    <listitem>
 				<para>Elements with a class name that corresponds to one of the basic element names or types are mapped with the  <literal>rich-&lt;elementName&gt;[-&lt;elementType&gt;]</literal> scheme, as in the following example:</para>
-					<programlisting role="CSS">&lt;![CDATA[...
+					<programlisting role="CSS">...
 .rich-select {
   //class content
 }
@@ -1398,7 +1379,7 @@
   //class content
 }
 
-...]]&gt;</programlisting>
+...</programlisting>
 				    <note>
 					<para>Elements are given classes depending upon their <literal>link</literal> type and pseudo-class name, for example, <literal>rich-link</literal>, <literal>rich-link-hover</literal>, <literal>rich-link-visited</literal></para>
 				    </note>
@@ -1406,7 +1387,7 @@
 			</itemizedlist>
 			<para>The predefined rich CSS classes provided can be used as classes for both basic and complex HTML elements.</para>
 			<para>The following code snippet shows several elements as an example:</para>
-			<programlisting role="XML">&lt;![CDATA[...
+			<programlisting role="XML">...
 &lt;u:selector name=".rich-box-bgcolor-header"&gt;
      &lt;u:style name="background-color" skin="headerBackgroundColor" /&gt;
 &lt;/u:selector&gt;
@@ -1428,7 +1409,7 @@
      &lt;/u:style&gt;
      &lt;u:style name="background-repeat" value="repeat-x" /&gt;
 &lt;/u:selector&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 			<para>For a more thorough look at standard component skinning, we recommend exploring the CSS files located in the <filename>ui/core/src/main/resources/org/richfaces/</filename> directory of the RichFaces SVN repository.</para>
 			<section id="BasicLevel" role="NotInToc">
 				<title>Standard Level</title>
@@ -2260,7 +2241,7 @@
 				</table>
 				<note>
 				    <para>The basic skinning level can fail if the <literal>ajaxPortlet</literal> is configured as follows:</para>
-					<programlisting role="XML">&lt;![CDATA[...
+					<programlisting role="XML">...
 &lt;portlet&gt;
    &lt;portlet-name&gt;ajaxPortlet&lt;/portlet-name&gt;
    &lt;header-content&gt;
@@ -2269,7 +2250,7 @@
       &lt;link rel="stylesheet" type="text/css" href="/faces/rfRes/org/richfaces/skin.xcss" /&gt;
    &lt;/header-content&gt;
 &lt;/portlet&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 				</note>
 			</section>
 		</section>
@@ -2278,24 +2259,24 @@
 			<para>Extended skinning of standard HTML controls is applied automatically: the browser type is detected, and if a browser does not fully support extended skinning, only basic skinning is applied.</para>
 			<para>There are some problems with standard HTML controls in certain browsers (Opera and Safari) that may cause problems if you wish to skin your RichFaces components and standard HTML controls manually. You can find more information about disabling skinnability in <xref linkend="ScriptsandStylesLoadStrategy" />.</para>
 			<para>To disable skinnability, set the <varname>org.richfaces.LoadStyleStrategy</varname> parameter to <literal>NONE</literal> in your <filename>web.xml</filename> file, like so:</para>
-			<programlisting role="XML">&lt;![CDATA[...
+			<programlisting role="XML">...
 &lt;context-param&gt;
 	&lt;param-name&gt;org.richfaces.LoadStyleStrategy&lt;/param-name&gt;
 	&lt;param-value&gt;NONE&lt;/param-value&gt;
 &lt;/context-param&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 			<para>You should also include the style sheets that apply skins to RichFaces components and standard HTML controls.</para>
 			<para>To work around the problem of extended skinning in Opera and Safari, the <filename>skinning.js</filename> client script is added to the RichFaces library. This detects the browser type and enables extended skinning only for browsers that fully support it.</para>
 			<para>Activate the script by inserting the following JavaScript into your page:</para>
-			<programlisting role="XML">&lt;![CDATA[&lt;script type="text/javascript"&gt;
+			<programlisting role="XML">&lt;script type="text/javascript"&gt;
 	window.RICH_FACES_EXTENDED_SKINNING_ON = true;
-&lt;/script&gt;]]&gt;</programlisting><!--tsuzukeru-->
+&lt;/script&gt;</programlisting>
 			<para>When no script-loading strategy is used and extended skinning is enabled, a warning message appears in the console.</para>
 			<para>You must also specify the <varname>media</varname> attribute in the <literal>link</literal> tag. This adds the <filename>extended_both.xcss</filename> style sheet to <literal>rich-extended-skinning</literal>.</para>
 			<para>To include your style sheets to the page when automatic skinnability is disabled, add the following:</para>
-			<programlisting role="XML">&lt;![CDATA[&lt;link href='/YOUR_PROJECT_NAME/a4j_3_2_2-SNAPSHOTorg/richfaces/renderkit/html/css/basic_both.xcss/DATB/eAF7sqpgb-jyGdIAFrMEaw__.jsf' type='text/css' rel='stylesheet' class='component' /&gt;
+			<programlisting role="XML">&lt;link href='/YOUR_PROJECT_NAME/a4j_3_2_2-SNAPSHOTorg/richfaces/renderkit/html/css/basic_both.xcss/DATB/eAF7sqpgb-jyGdIAFrMEaw__.jsf' type='text/css' rel='stylesheet' class='component' /&gt;
 &lt;link media='rich-extended-skinning' href='/ YOUR_PROJECT_NAME /a4j_3_2_2-SNAPSHOTorg/richfaces/renderkit/html/css/extended_both.xcss/DATB/eAF7sqpgb-jyGdIAFrMEaw__.jsf' type='text/css' rel='stylesheet' class='component' /&gt;
-&lt;link href='/ YOUR_PROJECT_NAME /a4j_3_2_2-SNAPSHOT/org/richfaces/skin.xcss/DATB/eAF7sqpgb-jyGdIAFrMEaw__.jsf' type='text/css' rel='stylesheet' class='component' /&gt;]]&gt;</programlisting>
+&lt;link href='/ YOUR_PROJECT_NAME /a4j_3_2_2-SNAPSHOT/org/richfaces/skin.xcss/DATB/eAF7sqpgb-jyGdIAFrMEaw__.jsf' type='text/css' rel='stylesheet' class='component' /&gt;</programlisting>
 			<note>
 				<para>The Base64 encoder now uses <literal>!</literal> instead of <literal>.</literal>, so remember to use the <literal>a4j/versionXXX</literal> resources prefix  instead of <literal>a4j_versionXXX</literal>. </para>
 			</note>
@@ -2304,36 +2285,36 @@
 			<title>XCSS File Format</title>
 			<para>Cross-site Cascading Style Sheet (XCSS) files are the core of RichFaces component skinnability. XCSS is XML-formatted CSS that extends the skinning process. RichFaces parses the XCSS file containing all look and feel parameters of a particular component and compiles the information into a standard CSS file that can be recognized by a web browser.</para>
 			<para>The XCSS file contains CSS properties and skin parameter mappings. Mapping a CSS selector to a skin parameter can be done with <literal>&lt; u:selector &gt;</literal> and <literal>&lt; u:style&gt;</literal> XML tags, which define the mapping structure, as in the following example:</para>
-			<programlisting role="XML">&lt;![CDATA[...
+			<programlisting role="XML">...
 &lt;u:selector name=".rich-component-name"&gt;
 	&lt;u:style name="background-color" skin="additionalBackgroundColor" /&gt;
 	&lt;u:style name="border-color" skin="tableBorderColor" /&gt;
 	&lt;u:style name="border-width" skin="tableBorderWidth" /&gt;
 	&lt;u:style name="border-style" value="solid" /&gt;
 &lt;/u:selector&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 			<para>During processing, this code will be parsed and assembled into a standard CSS format, like so:</para>
-			<programlisting role="CSS">&lt;![CDATA[...
+			<programlisting role="CSS">...
 .rich-component-name {
      background-color: additionalBackgroundColor; /*the value of the constant defined by your skin*/
      border-color: tableBorderColor; /*the value of the constant defined by your skin*/
      border-width: tableBorderWidth; /*the value of the constant defined by your skin*/
      border-style: solid;
 }
-...]]&gt;</programlisting>
+...</programlisting>
 			<para>The <varname>name</varname> attribute of <literal>&lt;u:selector&gt;</literal> defines the CSS selector, while  the <varname>name</varname> attribute of the <literal>&lt;u:style&gt;</literal> tag defines the skin constant that is mapped to a CSS property. You can also use the <varname>value</varname> attribute of the <literal>&lt;u:style&gt;</literal> tag to assign a value to a CSS property.</para>
 			<para>CSS selectors with identical skin properties can be included in a comma-separated list:</para>
-			<programlisting role="XML">&lt;![CDATA[...
+			<programlisting role="XML">...
 &lt;u:selector name=".rich-ordering-control-disabled, .rich-ordering-control-top, .rich-ordering-control-bottom, .rich-ordering-control-up, .rich-ordering-control-down"&gt;
 	&lt;u:style name="border-color" skin="tableBorderColor" /&gt;
 &lt;/u:selector&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 		</section>
 		<section id="PlugnSkin" role="new">
 			<title>Plug-n-Skin</title>
 			<para><emphasis>Plug-n-Skin</emphasis> lets you easily create, customize, and plug in a custom skin to your project. You can create skins based on the parameters of predefined RichFaces skins. Plug-n-Skin also lets you unify the appearance of rich controls with standard HTML elements. This section contains step-by-step instructions for creating your own skin with Plug-n-Skin.</para>
 			<para>First, use Maven to create a template for your new skin. (You can find more information about configuring Maven for RichFaces in the <!--#modify add info?--><ulink url="http://wiki.jboss.org/wiki/HowToConfigureMavenForRichFaces">JBoss wiki article</ulink>. These Maven instructions can be copied and pasted into the command line interface to execute them.</para>
-			<programlisting role="XML">&lt;![CDATA[...
+			<programlisting role="XML">...
 mvn archetype:create
 -DarchetypeGroupId=org.richfaces.cdk
 -DarchetypeArtifactId=maven-archetype-plug-n-skin
@@ -2341,7 +2322,7 @@
 -DartifactId=ARTIFACT-ID
 -DgroupId=GROUP-ID
 -Dversion=VERSION
-...]]&gt;</programlisting>
+...</programlisting>
 			<para>Primary keys for the command:</para>
 			<itemizedlist>
 				<listitem>
@@ -2366,10 +2347,10 @@
 			<para>This operation creates a directory named after your <literal>ARTIFACT-ID</literal>. The directory contains a template of the Maven project.</para>
 			<para>The following steps will guide you though creating of the skin itself. </para>
 			<para>Run the following command from the root directory of the Maven project. (This directory will contain your <filename>pom.xml</filename> file.)</para>
-			<programlisting role="XML">&lt;![CDATA[...
+			<programlisting role="XML">...
 mvn cdk:add-skin -Dname=SKIN-NAME -Dpackage=SKIN-PACKAGE
 ...
-]]&gt;</programlisting>
+</programlisting>
 			<para>Primary keys for the command:</para>
 			<itemizedlist>
 				<listitem>
@@ -2457,16 +2438,16 @@
 			<para>You can now start editing the XCSS files located in <filename>\src\main\resources\SKIN-PACKAGE\SKIN-NAME\css\</filename>. Assign new style properties to your selectors (listed in the XCSS files) in either of the following ways:</para>
 			<itemizedlist>
 				<listitem>
-					<para>Standard CSS coding approach (that is, add CSS properties to the selectors). Remember that the selectors must be within <literal>&lt;f:verbatim&gt; &lt;![CDATA[ ...]]&gt; &lt;/f:verbatim&gt;</literal> tags. For example:</para>
-					<programlisting role="XML">&lt;![CDATA[...
+					<para>Standard CSS coding approach (that is, add CSS properties to the selectors). Remember that the selectors must be within <literal>&lt;f:verbatim&gt; &lt;/f:verbatim&gt;</literal> tags. For example:</para>
+					<programlisting role="XML">...
 .rich-calendar-cell {
      background: #537df8;
 }
-...]]&gt;</programlisting>
+...</programlisting>
 				</listitem>
 				<listitem>
-					<para> XCSS coding approach (the usual method of creating XCSS files in RichFaces). XCSS tags must be placed <emphasis>outside</emphasis> <literal>&lt;f:verbatim&gt; &lt;![CDATA[ ...]]&gt; &lt;/f:verbatim&gt;</literal> tags. </para>
-					<programlisting role="XML">&lt;![CDATA[...
+					<para> XCSS coding approach (the usual method of creating XCSS files in RichFaces). XCSS tags must be placed <emphasis>outside</emphasis> <literal>&lt;f:verbatim&gt; &lt;/f:verbatim&gt;</literal> tags. </para>
+					<programlisting role="XML">...
 &lt;u:selector name=".rich-calendar-cell"&gt;
      &lt;u:style name="border-bottom-color" skin="panelBorderColor"/&gt;
      &lt;u:style name="border-right-color" skin="panelBorderColor"/&gt;
@@ -2474,16 +2455,16 @@
      &lt;u:style name="font-size" skin="generalSizeFont"/&gt;
      &lt;u:style name="font-family" skin="generalFamilyFont"/&gt;
 &lt;/u:selector&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 				</listitem>
 			</itemizedlist>
 			<para>Once you have performed these steps and edited the XCSS files, build the new skin and plug it into the project. To build the skin, execute the following command from the root directory of your skin project (the directory that contains your <filename>pom.xml</filename> file):</para>
 			<!--#modify seems a weird way of listing a command, but okay, you are the boss-->
-			<programlisting role="XML">&lt;![CDATA[...
+			<programlisting role="XML">...
 mvn clean install
-...]]&gt;</programlisting>
+...</programlisting>
 			<para>The Plug-n-skin feature also has a number of predefined gradients. The following code can be used to apply a gradient:</para>
-			<programlisting role="XML">&lt;![CDATA[...
+			<programlisting role="XML">...
 &lt;u:selector name=".rich-combobox-item-selected"&gt;
 	&lt;u:style name="border-width" value="1px" /&gt;
 	&lt;u:style name="border-style" value="solid" /&gt;
@@ -2497,20 +2478,20 @@
 		 &lt;/f:resource&gt;
 	&lt;/u:style&gt;
 &lt;/u:selector&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 			<para>The <varname>background-image</varname> CSS property is defined with <literal>&lt;f:resource f:key=&quot;org.richfaces.renderkit.html.CustomizeableGradient&quot;&gt;</literal>, which sets the gradient. The gradient type can be specified in the <filename>SKIN-NAME.properties</filename> with the <varname>gradientType</varname> property, which can be set to <literal>glass</literal>, <literal>plastic</literal>, or <literal>plain</literal>. The gradient can then be adjusted with the <varname>baseColor</varname>, <varname>gradientColor</varname>, <varname>gradientHeight</varname>, <varname>valign</varname> attributes, as seen in the previous code snippet.</para>
 			<para>You can now use your newly-created skin in your project by adding your new skin parameters to the <filename>web.xml</filename> file, and placing the JAR file containing your skin (located in the <filename>target</filename> directory of your skin project) in the <filename>\WebContent\WEB-INF\lib\</filename>.</para>
-			<programlisting role="XML">&lt;![CDATA[...
+			<programlisting role="XML">...
 &lt;context-param&gt;
     &lt;param-name&gt;org.ajax4jsf.SKIN&lt;/param-name&gt;
     &lt;param-value&gt;SKIN-NAME&lt;/param-value&gt;
 &lt;/context-param&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 			<section>
 				<title>Details of Usage</title>
 				<para>This section covers some practical aspects of Plug-n-Skin implementation. We assume that you have read the section of the guide describing the Plug-n-Skin prototype creation process.</para>
 				<para>First, we must create a new skin (as described in the previous section). The following creates a template of the new skin project:</para>
-				<programlisting role="XML">&lt;![CDATA[
+				<programlisting role="XML">
 mvn archetype:create
 -DarchetypeGroupId=org.richfaces.cdk
 -DarchetypeArtifactId=maven-archetype-plug-n-skin
@@ -2518,10 +2499,10 @@
 -DartifactId=P-n-S
 -DgroupId=GROUPID
 -Dversion=1.0.-SNAPSHOT
-]]&gt;</programlisting>
+</programlisting>
 				<para>You can now browse the <filename>P-n-S</filename> directory to view the files and folders created.</para>
 				<para>Next, use Maven to add all required files to the skin project, like so:</para>
-				<programlisting role="XML">&lt;![CDATA[mvn cdk:add-skin -DbaseSkin=blueSky  -DcreateExt=true -Dname=PlugnSkinDemo -Dpackage=SKINPACKAGE]]&gt;</programlisting>
+				<programlisting role="XML">mvn cdk:add-skin -DbaseSkin=blueSky  -DcreateExt=true -Dname=PlugnSkinDemo -Dpackage=SKINPACKAGE</programlisting>
 				<para>As mentioned in the previous section, <!--#modify '-D' typo?--><literal>-DbaseSkin</literal> defines the RichFaces built-in skin to use as a base, and <literal>-DcreateExt=true</literal>, which determines that the new skin will include XCSS files that unify the appearance of the rich components and the standard HTML controls.</para>
 				<para>Once your resources have been created, you can begin refining the newly-created skin. Begin by editing the rich components' XCSS files.</para>
 				<para>As an example of the Plug-n-Skin feature, we will edit some <literal>&lt;rich:calendar&gt;</literal> style attributes and some basic HTML controls. We will show you how to:</para>
@@ -2536,10 +2517,10 @@
 				<para>To edit <literal>&lt;rich:properties&gt;</literal>'s style properties, you must open the <filename>calendar.xcss</filename> file, located in <filename>P-n-S\src\main\resources\skinpackage\plugnskindemo\css\</filename>.</para>
 				<para>In the <filename>calendar.xcss</filename> file, find the <literal>.rich-calendar-today</literal> selector and amend it as follows:<literal>background-color: #075ad1;</literal>. This will change the background color of the current day.</para>
 				<para>Next we will change the font style of a standard HTML <emphasis>submit</emphasis> button. Open the <filename>extended.xcss</filename> file from the <filename>P-n-S\src\main\resources\skinpackage\plugnskindemo\css\</filename> directory and insert <literal>font-weight: bold;</literal> between the curly braces of these selectors, like so:</para>
-				<programlisting role="XML">&lt;![CDATA[
+				<programlisting role="XML">
 button[type=&quot;button&quot;], button[type=&quot;reset&quot;], button[type=&quot;submit&quot;], input[type=&quot;reset&quot;], input[type=&quot;submit&quot;], input[type=&quot;button&quot;] {
 	font-weight: bold;
-}]]&gt;</programlisting>
+}</programlisting>
 				<para>The desired changes have now been made, and you can proceed to building the new <literal>PlugnSkinDemo</literal> skin and importing it into the project.</para>
 				<para>Build the skin by executing <command>mvn clean install</command> from the <filename>P-n-S</filename> directory. This creates a <filename>target</filename> directory containing a JAR file with a newly-compiled skin. In our case, the file is named <filename>P-n-S-1.0.-SNAPSHOT.jar</filename>.</para>
 				<para>Next, import the new <literal>PlugnSkinDemo</literal> skin into your project:</para>
@@ -2549,17 +2530,17 @@
 					</listitem>
 					<listitem>
 						<para>Add the name of the new skin to the <filename>web.xml</filename> file, like so:</para>
-						<programlisting role="XML">&lt;![CDATA[ &lt;context-param&gt;
+						<programlisting role="XML"> &lt;context-param&gt;
 	&lt;param-name&gt;org.ajax4jsf.SKIN&lt;/param-name&gt;
 	&lt;param-value&gt;PlugnSkinDemo&lt;/param-value&gt;
-&lt;/context-param&gt;]]&gt;</programlisting>
+&lt;/context-param&gt;</programlisting>
 					</listitem>
 				</itemizedlist>
 				<para>Remember, standard controls skinning must be enabled in <filename>web.xml</filename>. Add the following to enable standard controls skinning:</para>
-				<programlisting role="XML">&lt;![CDATA[&lt;context-param&gt;
+				<programlisting role="XML">&lt;context-param&gt;
 	&lt;param-name&gt;org.richfaces.CONTROL_SKINNING&lt;/param-name&gt;
 	&lt;param-value&gt;enable&lt;/param-value&gt;
-&lt;/context-param&gt;]]&gt;</programlisting>
+&lt;/context-param&gt;</programlisting>
 				<para>The results of each alteration to the skin are shown in the figures that follow:</para>
 				<figure>
 					<title>Plug-n-Skin feature in action. </title>
@@ -2606,24 +2587,24 @@
 		<itemizedlist>
 			<listitem>
 				<para>Register the State Navigation Handler and the EL Resolver in your <filename>faces-config.xml</filename> file:</para>
-				<programlisting role="XML">&lt;![CDATA[...
+				<programlisting role="XML">...
 &lt;application&gt;
 	&lt;navigation-handler&gt;org.richfaces.ui.application.StateNavigationHandler&lt;/navigation-handler&gt;
 	&lt;el-resolver&gt;org.richfaces.el.StateELResolver&lt;/el-resolver&gt;
 &lt;/application&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 			</listitem>
 			<listitem>
 				<para>Register an additional application factory in the <filename>faces-config.xml</filename>:</para>
-				<programlisting role="XML">&lt;![CDATA[...
+				<programlisting role="XML">...
 &lt;factory&gt;
 	&lt;application-factory&gt;org.richfaces.ui.application.StateApplicationFactory&lt;/application-factory&gt;
 &lt;/factory&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 			</listitem>
 			<listitem>
 				<para>Register two managed beans in the <filename>faces-config.xml</filename>:</para>
-				<programlisting role="XML">&lt;![CDATA[...
+				<programlisting role="XML">...
 &lt;managed-bean&gt;
 	&lt;managed-bean-name&gt;state&lt;/managed-bean-name&gt;
 	&lt;managed-bean-class&gt;org.richfaces.ui.model.States&lt;/managed-bean-class&gt;
@@ -2639,9 +2620,9 @@
 	&lt;managed-bean-class&gt;org.richfaces.demo.stateApi.Config&lt;/managed-bean-class&gt;
 	&lt;managed-bean-scope&gt;none&lt;/managed-bean-scope&gt;
 &lt;/managed-bean&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 				<para>One bean (<literal>config</literal>) defines and stores <varname>State</varname> as seen in the following example:</para>
-				<programlisting role="JAVA">&lt;![CDATA[...
+				<programlisting role="JAVA">...
 public class Config {
 
 	/**
@@ -2709,12 +2690,12 @@
 		return states;
 	}
 }
-...]]&gt;</programlisting>
+...</programlisting>
 				<para>The second bean, with the <literal>org.richfaces.ui.model.States</literal> type (<literal>state</literal>), contains the managed property <property>states</property>, which is bound to the first <literal>config</literal> bean.</para>
 			</listitem>
 			<listitem>
 				<para>Next, use <property>state</property> bindings on the page, as in the following example:</para>
-				<programlisting role="XML">&lt;![CDATA[...
+				<programlisting role="XML">...
 &lt;h:panelGrid columns="3"&gt;
 	&lt;h:outputText value="username" /&gt;
 	&lt;h:inputText value="#{state.bean.name}" id="name" required="true" /&gt;
@@ -2724,7 +2705,7 @@
 	&lt;h:inputSecret value="#{state.bean.confirmPassword}" rendered="#{state.showConfirm}" id="confirm" required="true" /&gt;
 &lt;/h:panelGrid&gt;
 &lt;a4j:commandButton actionListener="#{state.action.listener}" action="#{state.ok}" value="#{state.okBtn}" id="action"/&gt;
-...]]&gt;</programlisting>
+...</programlisting>
 			</listitem>
 		</itemizedlist>
 		<para>To see complete example of the Login/Register dialog, see the <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/stateAPI.jsf?c=stateAPI">RichFaces Live Demo</ulink>.</para>
@@ -2735,9 +2716,9 @@
 		
 		<para>RichFaces also lets you check whether the logged-in user belongs to a certain <property>user role</property> with the <literal>rich:isUserInRole(Object)</literal> function. This function takes a String or a comma-delineated list of Strings, a Collection, etc. as arguments and returns a Boolean value.</para>
 		<para>As an example, imagine that you need to render some controls only for administrators. To do so, create an administrator role (<literal>admin</literal>) in your <filename>web.xml</filename> file. Then implement authorization that assigns the <literal>admin</literal> role to the user that has logged in as an administrator. Once this has been done, you can use the <literal>rich:isUserInRole(Object)</literal> function with the <varname>rendered</varname> attribute of any component. For example:</para>
-		<programlisting role="XML">&lt;![CDATA[...
+		<programlisting role="XML">...
 &lt;rich:editor value="#{bean.text}"  rendered="#{rich:isUserInRole('admin')}" /&gt;
-...]]&gt;</programlisting> 
+...</programlisting> 
 		
 		<para>Here, only a logged-in user with an <literal>admin</literal> role can see the text editor, which will not be rendered for users with other roles.</para>
 	</section>

Modified: projects/docs/enterprise/5.0/RichFaces/en-US/Book_Info.xml
===================================================================
--- projects/docs/enterprise/5.0/RichFaces/en-US/Book_Info.xml	2009-10-28 06:19:57 UTC (rev 95659)
+++ projects/docs/enterprise/5.0/RichFaces/en-US/Book_Info.xml	2009-10-28 06:23:39 UTC (rev 95660)
@@ -7,8 +7,8 @@
 		<subtitle>for Use with JBoss Enterprise Application Platform</subtitle>
 	<productname>JBoss Enterprise Application Platform</productname>
 	<productnumber>5.0</productnumber>
-	<edition>0</edition>
-	<pubsnumber>0</pubsnumber>
+	<edition>1</edition>
+	<pubsnumber>1</pubsnumber>
 	<corpauthor>
 		<inlinemediaobject>
 			<imageobject>

Modified: projects/docs/enterprise/5.0/RichFaces/en-US/FAQ.xml
===================================================================
--- projects/docs/enterprise/5.0/RichFaces/en-US/FAQ.xml	2009-10-28 06:19:57 UTC (rev 95659)
+++ projects/docs/enterprise/5.0/RichFaces/en-US/FAQ.xml	2009-10-28 06:23:39 UTC (rev 95660)
@@ -49,7 +49,7 @@
 
                               <listitem>
                                         <para>Open the <filename>&lt;Maven-Root&gt;/conf/settings.xml</filename> file and add the following to the <literal>&lt;profile&gt;</literal> section:</para>
-                                        <programlisting role="XML">&lt;![CDATA[
+                                        <programlisting role="XML">
    &lt;id&gt;RichFaces&lt;/id&gt;
    &lt;repositories&gt;
       &lt;repository&gt;
@@ -110,9 +110,9 @@
          &lt;layout&gt;default&lt;/layout&gt;
    &lt;/pluginRepository&gt;
  &lt;/pluginRepositories&gt;
-]]&gt;</programlisting>
+</programlisting>
                                         <para>Add the following to the <literal>&lt;activeProfiles&gt;</literal> section:</para>
-                                        <programlisting role="XML">&lt;![CDATA[&lt;activeProfile&gt;RichFaces&lt;/activeProfile&gt;]]&gt;</programlisting>
+                                        <programlisting role="XML">&lt;activeProfile&gt;RichFaces&lt;/activeProfile&gt;</programlisting>
 
                               </listitem>
 
@@ -192,7 +192,7 @@
           <section id="Organizewizards">
                     <title>How do I organize wizards with the <literal>&lt;rich:modalPanel&gt;</literal> component?</title>
                     <para>Place the <literal>&lt;a4j:include&gt;</literal> tag inside the <literal>&lt;rich:modalPanel&gt;</literal> and perform navigation inside it, as in the following example below:</para>
-                   <programlisting role="XML">&lt;![CDATA[...
+                   <programlisting role="XML">...
         &lt;f:verbatim&gt;
                 &lt;a href="javascript:Richfaces.showModalPanel('_panel',{left:'auto', top:'auto'})"&gt;Show Modal Panel&lt;/a&gt;
         &lt;/f:verbatim&gt;
@@ -232,7 +232,7 @@
         &lt;/h:form&gt;
 ...
 
-]]&gt;</programlisting>
+</programlisting>
                     <!--<para>The discussion about <emphasis role="bold">
                                         <property>&lt;a4j:include&gt;</property>
                               </emphasis> and navigation rules can be found on the <ulink
@@ -326,7 +326,7 @@
                                   <para><emphasis>Fast-switching</emphasis> controls: <literal>first</literal>, <literal>last</literal>, <literal>next</literal>, <literal>previous</literal>, <literal>fastforward</literal> and <literal>fastrewind</literal>.</para></listitem>
                     </itemizedlist>
                     <para>You can create fast-switching controls by adding a <literal>facet</literal> component with the corresponding name:</para>
-                    <programlisting role="XML">&lt;![CDATA[ ...
+                    <programlisting role="XML"> ...
     &lt;rich:datascroller for="table" maxPages="10"&gt;
         &lt;f:facet name="first"&gt;
             &lt;h:outputText value="First"/&gt;
@@ -336,7 +336,7 @@
         &lt;/f:facet&gt;
     &lt;/rich:datascroller&gt;
 ...
-]]&gt;</programlisting>
+</programlisting>
                       <para>You can also create disabled states with facets
                     There are also facets used to create the disabled states: <literal>first_disabled</literal>, <literal>last_disabled</literal>, <literal>next_disabled</literal>, <literal>previous_disabled</literal>, <literal>fastforward_disabled</literal>, <literal>fastrewind_disabled</literal>. </para>
           </section>
@@ -344,7 +344,7 @@
           <section>
                     <title>How do I place simple links inside a menu?</title>
                     <para>To include a link to an external URL, use the following approach:</para>
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
         &lt;rich:dropDownMenu&gt; 
         ...
                 &lt;rich:menuItem submitMode="none" 
@@ -356,7 +356,7 @@
         ...
         &lt;/rich:dropDownMenu&gt;
 ...
-]]&gt;</programlisting>
+</programlisting>
                     <para>You can also see a demonstration of the <literal>&lt;rich:dropDownMenu&gt;</literal> component at the <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/dropDownMenu.jsf">RichFaces LiveDemo page</ulink>.</para>
           </section>
 
@@ -368,14 +368,14 @@
           <section>
                     <title>How do I pass my own parameters during a <literal>modalPanel</literal> opening or closing?</title>
                     <para>You can pass your parameters during modalPanel opening or closing like so:</para>
-                    <programlisting role="JAVA">&lt;![CDATA[Richfaces.showModalPanel('panelId', {left: auto}, {param1: value1});]]&gt;</programlisting>
+                    <programlisting role="JAVA">Richfaces.showModalPanel('panelId', {left: auto}, {param1: value1});</programlisting>
                     <para>You can pass any of your own parameters, except for the standard <literal>modalPanel</literal> parameters.</para>
           </section>
 
           <section>
                     <title>How do I add a simple link to the tree node?</title>
                     <para>Use the following simple code:</para>
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
         &lt;rich:tree ...&gt; 
                 ...
                 &lt;rich:treeNode submitMode="none" 
@@ -387,7 +387,7 @@
                 ...
 &lt;/rich:tree ...&gt; 
 ...
-]]&gt;</programlisting>
+</programlisting>
           </section>
 
           <section>
@@ -398,7 +398,7 @@
           <section>
                     <title>How can I use a <literal>commandButton</literal> within the <literal>modalPanel</literal>?</title>
                     <para>Use the following simple code:</para>
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
         &lt;rich:modalPanel&gt; 
                 &lt;f:facet name="header"&gt; 
                         &lt;h:outputText value="Test" /&gt; 
@@ -411,7 +411,7 @@
                 &lt;/h:form&gt; 
         &lt;/rich:modalPanel&gt;
 ...
-]]&gt;</programlisting>
+</programlisting>
                     <para>
                         <note>
                             <para>There are two important rules to follow when using <literal>modalPanel</literal>:</para>
@@ -430,7 +430,7 @@
           <section>
                     <title>How do I define the currently selected tab?</title>
                     <para>Use the following simple code:</para>
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
         &lt;rich:tabPanel selectedTab="t2"&gt;
                 &lt;rich:tab label="tab 1" name="t1"&gt;
                         &lt;h:outputText value="tab 1" /&gt;
@@ -443,7 +443,7 @@
                 &lt;/rich:tab&gt;
         &lt;/rich:tabPanel&gt;
 ...
-]]&gt;</programlisting>
+</programlisting>
           </section>
 
 <!--#modify outdated URLs-->
@@ -466,7 +466,7 @@
           <section>
                     <title>How do I retrieve the current value from the <literal>inputNumberSlider</literal>?</title>
                     <para>You can retrieve the value with the following approach:</para>
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
         &lt;rich:inputNumberSlider width="500" step="20" 
                                 onchange="someFunctionCall(this.input.value)"
                                 minValue="0"
@@ -482,7 +482,7 @@
                 }
         &lt;/script&gt;
 ...
-]]&gt;</programlisting>
+</programlisting>
           </section>
 
           <section>
@@ -504,7 +504,7 @@
           <section>
                     <title>Can I remove the table border and styles from the <literal>datascroller</literal> and show only links?</title>
                     <para>To do this, you must redefine your rich* classes, like so:</para>
-                    <programlisting role="CSS">&lt;![CDATA[.rich-datascr-button { 
+                    <programlisting role="CSS">.rich-datascr-button { 
 border: 0px; 
 } 
 .rich-dtascroller-table { 
@@ -512,7 +512,7 @@
 } 
 .rich-datascr-button { 
 background-color: transparent; 
-}]]&gt;</programlisting>
+}</programlisting>
           </section>
 
 <!--#modify outdated URL-->
@@ -567,7 +567,7 @@
           <section>
                     <title>How do I use the JavaScript API?</title>
                     <para>Use the following simple code:</para>
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
          &lt;a4j:form id="form"&gt;
                 &lt;h:panelGroup id="test" columns="2" style="width: 300px"&gt;
                         &lt;h:selectBooleanCheckbox value="#{bean.check}"&gt;
@@ -581,21 +581,21 @@
                 &lt;/h:panelGroup&gt;
         &lt;/a4j:form&gt;
 ...
-]]&gt;</programlisting>
+</programlisting>
           </section>
 
           <section>
                     <title>How do I load the Scriptaculous library?</title>
                     <para>To load the whole Scriptaculous library shipped with RichFaces, use the <literal>&lt;a4j:loadScript&gt;</literal> tag:</para>
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
 &lt;a4j:loadScript src="resource://scriptaculous.js" /&gt;
 ...
-]]&gt;</programlisting>
+</programlisting>
                     <para>This command lets you load an integrated version of the library that includes all existing Scriptaculous files, <emphasis>except</emphasis> <filename>unittest.js</filename>. If you do not want to load the whole library, but wish to load a specific file (for example, <filename>effect.js</filename>), use the following:</para>
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
 &lt;a4j:loadScript src="resource://scriptaculous/effect.js" /&gt;
 ...
-]]&gt;</programlisting>
+</programlisting>
                     <para>If you load the whole library, you do not need to load a particular file.</para>
 <!--                    <para>For more information see <ulink
                                         url="http://www.jboss.com/index.html?module=bb&amp;op=viewtopic&amp;t=119044"
@@ -605,9 +605,9 @@
           <section>
                     <title>How do I avoid the problem with text wrapping in <literal>&lt;rich:tab&gt;</literal> in Internet Explorer 7?</title>
                     <para>The problem lies with a tab height bug in IE7. (Tab height is correct in Firefox and in IE6.) To work around the bug, you can change the doctype declaration from:</para>
-                    <programlisting role="XML">&lt;![CDATA[&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;]]&gt;</programlisting>
+                    <programlisting role="XML">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;</programlisting>
                     <para>to:</para>
-                    <programlisting role="XML">&lt;![CDATA[&lt;!doctype html public "-//w3c//dtd html 4.0 transitional//en"&gt;]]&gt;</programlisting>
+                    <programlisting role="XML">&lt;!doctype html public "-//w3c//dtd html 4.0 transitional//en"&gt;</programlisting>
                     <para>You can also see the <ulink url="http://jira.jboss.com/jira/browse/RF-1011">JIRA Issue</ulink> for further information.</para>
                     </section>
 
@@ -619,7 +619,7 @@
           <section>
                     <title>How do I send an additional parameter to the server with <literal>&lt;rich:suggestionbox&gt;</literal>?</title>
                     <para>This example code gives you one method:</para>
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
                 &lt;rich:suggestionbox width="200" height="200" for="test" suggestionAction="#{bean.autocomplete}" var="cap"&gt;
                         &lt;h:column&gt; 
                                 &lt;f:facet name="header"&gt;
@@ -632,25 +632,25 @@
                         &lt;/a4j:support&gt;
                 &lt;/rich:suggestionbox&gt;
 ...
-]]&gt;</programlisting>
+</programlisting>
                     <para>In the example, the <literal>onselect</literal> event sends the selected value to the server. You can pass additional fields of the selected object (which do not belong to the <literal>fetchvalue</literal> attribute) in the same way.</para>
           </section>
 
           <section>
                     <title>How do I set the border of <literal>&lt;rich:dataTable&gt;</literal> to 0px?</title>
                     <para>Add the following code to your CSS file:</para>
-                    <programlisting role="CSS">&lt;![CDATA[...
+                    <programlisting role="CSS">...
                 .rich-table, .rich-table-header,.rich-table-headercell, .rich-table-cell, .rich-subtable-cell, .rich-table-footercell, .rich-subtable-footercell {
                                 border-width:0px;
                 }
 ...
-]]&gt;</programlisting>
+</programlisting>
           </section>
 
           <section>
                     <title>How do I dynamically create a <literal>&lt;rich:suggestionbox&gt;</literal>?</title>
                     <para>The following code is a working example:</para>
-                    <programlisting role="JAVA">&lt;![CDATA[...
+                    <programlisting role="JAVA">...
         org.apache.myfaces.component.html.ext.HtmlInputText searchBox = new org.apache.myfaces.component.html.ext.HtmlInputText();
         searchBox.setId( "inputQuery" );
         bar.getChildren().add( searchBox );
@@ -686,7 +686,7 @@
         suggestions.getChildren().add( column );
         bar.getChildren().add( suggestions );
 ...
-]]&gt;</programlisting>
+</programlisting>
                     <!--<para> See also <ulink
                                         url="http://www.jboss.com/index.html?module=bb&amp;op=viewtopic&amp;p=4099047#4099047"
                                         >RichFaces User Forum</ulink>.</para>-->
@@ -709,9 +709,9 @@
           <section id="CheckSendingRequestConditions.CustomJavaScriptBeforeRequest.OnSubmitAttribute">
                     <title>How can I check request conditions before sending a request?</title>
                     <para>To check the terms of sending a request on a client, add the <literal>onSubmit</literal> attribute to all components, like so:</para>
-                    <programlisting role="XML">&lt;![CDATA[&lt;h:inputText id="i" value="#{beanText.kennung}"&gt;
+                    <programlisting role="XML">&lt;h:inputText id="i" value="#{beanText.kennung}"&gt;
             &lt;a4j:support event="onfocus" onsubmit="doSomething();" reRender="panelToReRender"/&gt;
-&lt;/h:inputText&gt;]]&gt;</programlisting>
+&lt;/h:inputText&gt;</programlisting>
                     <para>In this example, the <literal>doSomething()</literal> function is executed before the AJAX request, and if the function returns <literal>false</literal>, the request is not fired.</para>
                     <note>
                         <para>
@@ -735,7 +735,7 @@
                     <note>
                               <para>The onComplete syntax now follows this form:</para>
                               <programlisting role="XML">
-    &lt;![CDATA[&lt;someAjaxActionComponent ...oncomplete="myFunc(req,event,data)".../&gt;]]&gt;
+    &lt;someAjaxActionComponent ...oncomplete="myFunc(req,event,data)".../&gt;
             </programlisting>
                               <para>The <literal>event</literal> is a variable defining the location in which the JavaScript event that fires the request will be placed. <literal>data</literal> is a variable containing the deserialized value of the <varname>data</varname> attribute.</para>
                     </note>
@@ -779,9 +779,9 @@
                     <title>My form will not submit, or, my setter is not called after an AJAX request. What's wrong?</title>
                     <para>This can occur because of conversion or validation errors at submission time. To verify this, place the following update message inside a form:
                     </para>
-                    <programlisting role="XML">&lt;![CDATA[&lt;a4j:outputPanel ajaxRendered="true"&gt;
+                    <programlisting role="XML">&lt;a4j:outputPanel ajaxRendered="true"&gt;
       &lt;h:messages/&gt;
-&lt;/a4j:outputPanel&gt;]]&gt;</programlisting>
+&lt;/a4j:outputPanel&gt;</programlisting>
                 <para>The <literal>&lt;rich:message&gt;</literal> component has built-in AJAX support, and can be combined with the <ulink url="http://www.jsfone.com/blog/max_katz/2008/07/creating_jsf_phase_listener.html">JSF Phase Tracker</ulink> to fix this issue, in some instances.</para>
           </section>
 
@@ -893,7 +893,7 @@
                         </listitem>
                     </orderedlist>
                     <para>Fpr example:</para>
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
 &lt;a4j:outputPanel id="panel"&gt; 
     &lt;h:panelGroup rendered="#{bean.rendered}"&gt;
         &lt;!--Some nested content to be hidden/shown depending on bean.rendered --&gt;
@@ -902,7 +902,7 @@
 ...
 &lt;a4j:commandButton action=".." value=".." reRender="panel"/&gt;
 ...
-]]&gt;</programlisting>
+</programlisting>
               <para>This ensures that the wrapper component presents in the DOM tree, which means that its contents can be updated dynamically.</para>
           </section>
 
@@ -948,7 +948,7 @@
                         need to point reRender on the specific rows. </para-->
                     <para>The <literal>ajaxKeys</literal> attribute defines Strings that are updated after an AJAX request, and lets you update several child components separately without updating the whole page.</para>
 
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
     &lt;a4j:poll interval="1000" action="#{repeater.action}" reRender="text"&gt;
         &lt;table&gt;
             &lt;tbody&gt;
@@ -963,13 +963,13 @@
         &lt;/table&gt;
     &lt;/a4j:poll&gt;
 ...
-]]&gt;</programlisting>
+</programlisting>
           </section>
          
          <section id="RowSelectionInScrollableDataTable">
                     <title>How can I enable row selection in a scrollableDataTable using <literal>one and multi-selection rows mode</literal>?</title>
                     <para>To enable row selection in <literal>one and multi-selection rows mode</literal>, you must use the <varname>selection</varname> attribute. In the example code that follows, when a user submits the form, the current collection of objects selected by the user is placed in the object's property. Upon completion, the <literal>&lt;rich:modalPanel&gt;</literal> will be rendered with the selected data.</para>
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
 &lt;h:form&gt;
         &lt;rich:spacer height="30" /&gt;
         &lt;rich:scrollableDataTable rowKeyVar="rkv" frozenColCount="1" height="200px" 
@@ -1028,10 +1028,10 @@
                 &lt;/rich:column&gt;
         &lt;/rich:dataTable&gt;
 &lt;/rich:modalPanel&gt;
-...]]&gt;</programlisting>
+...</programlisting>
                     <para>
                         To build this application, you can create a managed bean like the one below. The <literal>takeSelection()</literal> method fills the <literal>selectedCars</literal> Array with data retrieved from the <varname>selection</varname>. The <literal>getSelectedCars()</literal> method returns <literal>selectedCars</literal> Array, which is then used to populate select rows of the <literal>&lt;rich:dataTable&gt;</literal>.</para>
-                    <programlisting role="JAVA">&lt;![CDATA[...
+                    <programlisting role="JAVA">...
 public class DataTableScrollerBean {
         private SimpleSelection selection = new SimpleSelection();
         private ArrayList&lt;DemoInventoryItem&gt; selectedCars = new ArrayList&lt;DemoInventoryItem&gt;(); 
@@ -1060,7 +1060,7 @@
                 this.selectedCars = selectedCars;
         }
 }
-...]]&gt;</programlisting>
+...</programlisting>
 <!--                    <para>Some additional information about usage of <property>one and
                                         multi-selection rows mode</property> can be found <ulink
                                         url="http://www.jboss.com/index.html?module=bb&amp;op=viewtopic&amp;t=122543"
@@ -1219,7 +1219,7 @@
                     <para>First, to enable row selection, see the previous section on <xref linkend="RowSelectionInScrollableDataTable" />.</para>
                     <para>
                         To enable the drag-and-drop function on a <literal>dataTable</literal>, use the <literal>&lt;rich:dragSupport&gt;</literal> and <literal>&lt;rich:dropSupport&gt;</literal> components, like so:</para>
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
 &lt;rich:scrollableDataTable rowKeyVar="rkv" frozenColCount="1" height="400px" width="700px" id="carList" rows="40" columnClasses="col"
                                         value="#{dataTableScrollerBean.allCars}" var="category" sortMode="single" selection="#{dataTableScrollerBean.selection}"&gt;
         &lt;rich:column id="make"&gt;
@@ -1301,10 +1301,10 @@
                 &lt;/rich:column&gt;
         &lt;/rich:dataTable&gt;
 &lt;/rich:panel&gt;
-...]]&gt;</programlisting>
+...</programlisting>
                     <para>
                         The previous example is also available on the <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/scrollableDataTable.jsf">RichFaces LiveDemo</ulink> site. Only one method is added where the dropped collection is stored:</para>
-                    <programlisting role="JAVA">&lt;![CDATA[...
+                    <programlisting role="JAVA">...
 public void dropListener(DropEvent event) {
         System.out.println("Drop Listener Fired");
         getDroppedCars().clear();
@@ -1314,14 +1314,14 @@
                 getDroppedCars().add(getAllCars().get(key.intValue()));
         }
 }
-...]]&gt;</programlisting>
+...</programlisting>
           </section>
 
           <section id="SimpleTogglePanelPanelMenuState">
                    <title>How can I save the state of the &lt;rich:simpleTogglePanel&gt;?</title>
                     <para>You can use the <varname>opened</varname> attribute responsible for storing panel state, and an <literal>&lt;a4j:support&gt;</literal> tag bound to <varname>onexpand</varname> and <varname>oncollapse</varname> events.</para>
                     <para>In the following example, when you click on the toggle icon, the  <literal>&lt;rich:simpleTogglePanel&gt;</literal> icon appears and the current state is displayed in the <literal>&lt;rich:modalPanel&gt;</literal>. This state is remembered between page views. </para>
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
 &lt;rich:simpleTogglePanel id="toggleP" label="simpleTogglePanel" switchType="client" width="600px" opened="#{bean.state}"&gt;
         &lt;a4j:support event="onexpand" actionListener="#{bean.stateTrue}" reRender="repeater" oncomplete="Richfaces.showModalPanel('myFrom:panel')" /&gt;
         &lt;a4j:support event="oncollapse" actionListener="#{bean.stateFalse}" reRender="repeater" oncomplete="Richfaces.showModalPanel('myFrom:panel')" /&gt;
@@ -1347,9 +1347,9 @@
         &lt;h:outputText value="Expanded simpleTogglePanel: " style="font-weight:bold;" /&gt;
         &lt;h:outputText value="#{bean.state}" id="repeater" /&gt;
 &lt;/rich:modalPanel&gt;
-...]]&gt;</programlisting>
+...</programlisting>
                     <para>To build this application, create a managed bean like so:</para>
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
 public class bean {
 
         private boolean  state = false;
@@ -1370,14 +1370,14 @@
                 this.state = false;
         } 
 }
-...]]&gt;</programlisting>
+...</programlisting>
           </section>
 
           <section id="PanelMenuGroupState">
                     <title>How can I save the state of &lt;rich:panelMenuGroup&gt;?</title>
                     <para>You can use the <varname>expanded</varname> attribute and an <literal>&lt;a4j:support&gt;</literal> tag bound to <varname>onexpand</varname> and <varname>oncollapse</varname> events.</para>
                     <para>In the following example, when you click on the toggle icon, the <literal>&lt;rich:panelMenuGroup&gt;</literal> expands and the current state is displayed in the <literal>&lt;rich:modalPanel&gt;</literal>. This state is remembered across page views. </para>
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
 &lt;h:form id="myFrom"&gt;
         &lt;rich:panelMenu expandMode="ajax" iconExpandedTopGroup="chevronUp" iconCollapsedTopGroup="chevronDown"&gt;
                 &lt;rich:panelMenuGroup label="Group 1" expanded="#{bean.state}"&gt;
@@ -1399,9 +1399,9 @@
                 &lt;h:outputText value="#{bean.state}" id="repeater" /&gt;
         &lt;/rich:modalPanel&gt;
 &lt;/h:form&gt;
-...]]&gt;</programlisting>
+...</programlisting>
                     <para>To build this application, create a managed bean like so:</para>
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
 public class bean {
 
         private boolean  state = false;
@@ -1422,13 +1422,13 @@
                 this.state = false;
         } 
 }
-...]]&gt;</programlisting>          </section>
+...</programlisting>          </section>
 
 
           <section id="RowSelectionInDataTable">
                    <title>How do I highlight the rows of a dataTable on the mouseover event?</title>
                     <para>Use the <literal>onRowMouseOver</literal> and <literal>onRowMouseOut</literal> attributes, like so:</para>
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
 &lt;h:form&gt;        
         &lt;rich:dataTable onRowMouseOver="this.style.font = 'bold 20pt Arial'"
                                      onRowMouseOut="this.style.font='#{a4jSkin.tableFont}'"
@@ -1513,7 +1513,7 @@
         &lt;/f:facet&gt;
 &lt;/rich:dataTable&gt;
 &lt;/h:form&gt;
-...]]&gt;   </programlisting>
+...   </programlisting>
 
           </section>
 
@@ -1521,7 +1521,7 @@
                    <title>How can I enable selecting the row of a <literal>&lt;rich:dataTable&gt;</literal> when I click on it, even if I click within the bounds of an <literal>&lt;h:inputText&gt;</literal>?</title>
                     <para>
                         Use the following JavaScript function to enable row selection when you click on the row:</para>
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
 &lt;script type="text/javascript"&gt;
         var oldRow;
         function changeColor(row)
@@ -1534,9 +1534,9 @@
                 oldRow=row;
         }
 &lt;/script&gt;
-...]]&gt;</programlisting>
+...</programlisting>
                     <para>You can then use <literal>&lt;a4j:support&gt;</literal> with <varname>event</varname> and <varname>onsubmit</varname> attributes, like so:</para>
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
 &lt;h:form&gt;
         &lt;rich:dataTable cellpadding="0" cellspacing="0" 
                                      width="700" border="0" var="record" value="#{report.expReport.records}"&gt;
@@ -1546,7 +1546,7 @@
                ...
         &lt;/rich:dataTable&gt;
 &lt;/h:form&gt;    
-...]]&gt;</programlisting>
+...</programlisting>
           </section>
           
       
@@ -1555,7 +1555,7 @@
           <section id="reRenderCells">
                    <title>How do I rerender table cells with &lt;a4j:support&gt;?</title>
                     <para>To rerender table cells with <literal>&lt;a4j:support&gt;</literal>, set exact ID values for each component to be updated, and point this <varname>id</varname> to the <varname>reRender</varname> attribute.</para>
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
 &lt;rich:column&gt;
         &lt;f:facet name="header"&gt;
                 &lt;h:outputText  value="Input1"/&gt;
@@ -1576,7 +1576,7 @@
         &lt;/f:facet&gt;
         &lt;h:outputText id="output1" value="#{entry.output1}"/&gt;
 &lt;/rich:column&gt;
-...]]&gt;</programlisting>
+...</programlisting>
                     <note>
                         <para>The value of the <varname>reRender</varname> attribute belonging to the <literal> &lt;a4j:support&gt;</literal> tag defines the sections of the page that will be updated. In the previous example code, the only update made is to the <literal>&lt;h:outputText&gt;</literal> component in the footer, because its <literal>id</literal> value matches the value of the <varname>reRender</varname> attribute. You can update multiple elements on a page by listing their IDs as the value of the <varname>reRender</varname> attribute.</para>
                     </note>
@@ -1787,7 +1787,7 @@
           <section id="DynamicColumns">
                     <title>How can I create dynamic columns?</title>
                     <para>You can create dynamic columns by using the <literal>&lt;rich:column&gt;</literal> with the <varname>rendered</varname> attribute. Set the value of the <varname>rendered</varname> attribute to match the ID of the dynamic cell, as in the following example code:</para>
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
 &lt;ui:composition  template="/WEB-INF/layout/template.xhtml"&gt; 
         &lt;ui:define name="body"&gt;
                 &lt;h2&gt;Table&lt;/h2&gt;
@@ -1829,9 +1829,9 @@
                         &lt;/h:form&gt;
         &lt;/ui:define&gt;
 &lt;/ui:composition&gt;
-...]]&gt;</programlisting>
+...</programlisting>
                     <para>Alternatively, you could create a managed bean, like so:</para>
-                    <programlisting role="JAVA">&lt;![CDATA[
+                    <programlisting role="JAVA">
 public class TableBackingRendered implements Serializable {
     private static final long serialVersionUID = 1L;
     private Random rand = new Random(System.currentTimeMillis());
@@ -1872,7 +1872,7 @@
         this.tableData = tableData;
     }
 }
-...]]&gt;</programlisting>
+...</programlisting>
                     <!--para>Another solution when you are dealing with a significant amount of rows, if you are using facelets you can use c:forEach (jslt).</para>
                 <para>
                         <emphasis role="bold">Example:</emphasis>
@@ -1896,7 +1896,7 @@
           <section id="Trinidad">
                    <title>How can I use RichFaces with Trinidad?</title>
                     <para>The following code is an example of a basic <filename>web.xml</filename> file that integrates RichFaces with Trinidad.</para>
-                    <programlisting role="XML">&lt;![CDATA[
+                    <programlisting role="XML">
 &lt;?xml version="1.0" ?&gt;
 &lt;web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
   xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd" 
@@ -2011,7 +2011,7 @@
   &lt;/welcome-file-list&gt;  
   
 &lt;/web-app&gt;
-]]&gt;</programlisting>
+</programlisting>
           </section>
           
           
@@ -2020,12 +2020,12 @@
                   <title>Why do I see a JavaScript conflict?</title>
                     <para>Richfaces 3.1.3 uses version 1.6.0 of the <filename> prototype.js</filename> instead of version 1.5.1, which has been used in earlier versions. The source of the conflict is that two versions of the prototype script are included. The first is included as a dependency of the toggle panel components, and the second is included explicitly as a link.</para>
                     <para>RichFaces 3.1.3 is bundled with the same scripts included in Prototype 1.6.0 and Scriptaculous 1.8.0:</para>
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
 &lt;context-param&gt;
     &lt;param-name&gt;org.richfaces.ExcludeScripts&lt;/param-name&gt;
     &lt;param-value&gt;Prototype,Scriptaculous&lt;/param-value&gt;
 &lt;/context-param&gt;
-...]]&gt;</programlisting>
+...</programlisting>
                     <para>Using Prototype with RichFaces components can be problematic because issues that were fixed in version 1.6.0 were not always patched in version 1.5.1. When version 1.5.1 is used, some RichFaces components will not work as expected.</para>
           </section>
 
@@ -2033,7 +2033,7 @@
                    <title>How do I use the &lt;rich:fileUpload&gt; component with the Seam Framework?</title>
                     <para>To use the <literal>&lt;rich:fileUpload&gt;</literal> component with the Seam Framework, define initialization parameters for the Seam Filter in your <filename>web.xml</filename> file. The Seam Framework will then automatically set the component up for the AJAX4JSF filter at start-up time.</para>
                     <para>The following code is an example of defining initialization parameters:</para>
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
 &lt;filter&gt;
         &lt;filter-name&gt;Seam Filter&lt;/filter-name&gt;
         &lt;filter-class&gt;org.jboss.seam.servlet.SeamFilter&lt;/filter-class&gt;
@@ -2046,7 +2046,7 @@
                 &lt;param-value&gt;200000&lt;/param-value&gt;
         &lt;/init-param&gt;
 &lt;/filter&gt;
-...]]&gt;</programlisting>
+...</programlisting>
           </section>
           
           <section id="richfileUploadforMyFaces" role="new">
@@ -2055,7 +2055,7 @@
                     <note>
                         <para>To ensure that this sequence wors correctly, map the extension filter on your Faces Servlet, not to <filename>*.jsf</filename>.</para>
                     </note>
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
 &lt;!--Ajax filter definition--&gt;
 &lt;filter&gt;
           &lt;display-name&gt;Ajax4jsf Filter&lt;/display-name&gt;
@@ -2120,7 +2120,7 @@
           &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
           &lt;url-pattern&gt;*.jsf&lt;/url-pattern&gt;
 &lt;/servlet-mapping&gt;
-...]]&gt;</programlisting>
+...</programlisting>
           </section>
           
           <section id="suggestionboxObjectSelection">
@@ -2148,12 +2148,12 @@
           <section id="viewExpiredException">
                    <title>How do I enable handling for ViewExpiredException?</title>
                     <para>This exception appears after your session has timed out. Because RichFaces 3.1 is intended for use with JavaServer Faces 1.1, <exceptionname>ViewExpiredException</exceptionname>s will not generate automatically when RichFaces is used with JavaServer Faces 1.2. To work around this limitation, add the following to your <filename>web.xml</filename> file:</para>
-                        <programlisting role="XML">&lt;![CDATA[...
+                        <programlisting role="XML">...
 &lt;context-param&gt;
         &lt;param-name&gt;com.sun.faces.enableRestoreView11Compatibility&lt;/param-name&gt;
         &lt;param-value&gt;true&lt;/param-value&gt;
 &lt;/context-param&gt;
-...]]&gt;</programlisting>                   
+...</programlisting>                   
           </section>
           
           
@@ -2168,17 +2168,17 @@
                             <para>
                                 Add the following code to your <filename>web.xml</filename>:
                             </para>
-                            <programlisting role="XML">&lt;![CDATA[...
+                            <programlisting role="XML">...
 &lt;context-param&gt;
     &lt;param-name&gt;org.ajax4jsf.handleViewExpiredOnClient&lt;/param-name&gt;
     &lt;param-value&gt;true&lt;/param-value&gt;
 &lt;/context-param&gt; 
-...]]&gt;</programlisting>
+...</programlisting>
                         </listitem>
                         <listitem>
                             <para>
                                 Add custom <literal>onError</literal> and <literal>onExpire</literal> handlers, like so:</para>
-                            <programlisting role="Java">&lt;![CDATA[...
+                            <programlisting role="Java">...
 A4J.AJAX.onError = function(req,status,message){
     window.alert("Custom onError handler "+message);
 }
@@ -2189,7 +2189,7 @@
         return false;
     }
 } 
-...]]&gt;</programlisting>
+...</programlisting>
                             <para>
                                 For a more detailed description of this process, see <xref linkend="RequestErrorsAndSessionExpirationHandling" /> in the Developer Guide.
                             </para>
@@ -2199,12 +2199,12 @@
                 <para>
                     Custom <literal>onError</literal> and <literal>onExpire</literal> handlers will not work under MyFaces, because MyFaces handles exceptions with an internally-generated debug page. To prevent this behavior, use the following code:
                 </para>
-                <programlisting role="XML">&lt;![CDATA[...
+                <programlisting role="XML">...
 &lt;context-param&gt;
     &lt;param-name&gt;org.apache.myfaces.ERROR_HANDLING&lt;/param-name&gt;
     &lt;param-value&gt;false&lt;/param-value&gt;
 &lt;/context-param&gt; 
-...]]&gt;</programlisting>
+...</programlisting>
             </note>
           </section>
           
@@ -2214,7 +2214,7 @@
         <title>How can I add a cookie in an AJAX response?</title>
         <para>
              The bean described below adds a cookie to an AJAX response:</para>
-                    <programlisting role="JAVA">&lt;![CDATA[...
+                    <programlisting role="JAVA">...
 public class CookieBean {
     
     private String testCookie = null;
@@ -2241,11 +2241,11 @@
         return null;
     }
 }
-...]]&gt;</programlisting>
+...</programlisting>
     <para>
         Alternatively, you can define the cookie to be included as shown in the following example. After the <literal>test</literal> cookie is set, the value of that cookie will appear on a page.
     </para>
-        <programlisting role="XML">&lt;![CDATA[...
+        <programlisting role="XML">...
 &lt;h:form&gt;
     &lt;h:outputText id="text" value="Cookie value: #{cookieBean.testCookie}"/&gt;
         &lt;br /&gt;
@@ -2253,7 +2253,7 @@
             &lt;a4j:support event="oncomplete" reRender="text" /&gt;
         &lt;/a4j:commandButton&gt;
 &lt;/h:form&gt;
-...]]&gt;</programlisting>
+...</programlisting>
           </section>
           
           
@@ -2281,7 +2281,7 @@
                     <para>
                         To launch the RichFaces sample application on the JBoss server, add the following code to your <filename>web.xml</filename>:
                     </para>
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
 &lt;context-param&gt;
      &lt;param-name&gt;org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL&lt;/param-name&gt;
      &lt;param-value&gt;true&lt;/param-value&gt;
@@ -2305,7 +2305,7 @@
 ...
 &lt;rich:menuItem style="display: {cd};" value="Launch Craft" disabled="true" submitMode="none"/&gt; 
 &lt;rich:menuItem style="display: {ce};" value="Launch Craft" disabled="false" onclick="launchcrft('{crft}');"/&gt;
-...]]&gt;</programlisting>
+...</programlisting>
                     <para>Use <code>&apos;block&apos;</code> instead of <code>&apos; &apos;</code> to avoid <literal>invalid style</literal> CSS errors.</para>
           </section>
 </chapter>

Modified: projects/docs/enterprise/5.0/RichFaces/en-US/Getting_Started.xml
===================================================================
--- projects/docs/enterprise/5.0/RichFaces/en-US/Getting_Started.xml	2009-10-28 06:19:57 UTC (rev 95659)
+++ projects/docs/enterprise/5.0/RichFaces/en-US/Getting_Started.xml	2009-10-28 06:23:39 UTC (rev 95660)
@@ -40,7 +40,7 @@
                               <title>Registering RichFaces in <filename>web.xml</filename></title>
                               <para>After you add the RichFaces libraries to the project, you must register them in the project <filename>web.xml</filename> file. Add the following to <filename>web.xml</filename>:</para>
                               <programlisting role="XML">
-&lt;![CDATA[...
+...
 &lt;!-- Plugging the "Blue Sky" skin into the project --&gt;
 &lt;context-param&gt;
    &lt;param-name&gt;org.richfaces.SKIN&lt;/param-name&gt;
@@ -67,12 +67,12 @@
    &lt;dispatcher&gt;FORWARD&lt;/dispatcher&gt;
    &lt;dispatcher&gt;INCLUDE&lt;/dispatcher&gt;
 &lt;/filter-mapping&gt;
-...]]&gt;
+...
 			      </programlisting>
                           <para>For more information about RichFaces skins, read <xref linkend="Skinnability" />.</para>
                               <para>Finally, your <filename>web.xml</filename> should look like this: </para>
                               <programlisting role="XML">
-&lt;![CDATA[&lt;?xml version="1.0"?&gt;
+&lt;?xml version="1.0"?&gt;
 &lt;web-app version="2.5" 
                 xmlns="http://java.sun.com/xml/ns/javaee"
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
@@ -128,7 +128,7 @@
 &lt;login-config&gt;
    &lt;auth-method&gt;BASIC&lt;/auth-method&gt;
    &lt;/login-config&gt;
-&lt;/web-app&gt;]]&gt;
+&lt;/web-app&gt;
 			      </programlisting>
                     </section>
 
@@ -153,7 +153,7 @@
                               <title>Registering the bean in <filename>faces-cofig.xml</filename></title>
                               <para>To register the <literal>user</literal> bean, add the following to the <filename>faces-config.xml</filename> file: </para>
                               <programlisting role="XML">
-&lt;![CDATA[&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
 &lt;faces-config version="1.2" 
                     xmlns="http://java.sun.com/xml/ns/javaee"
                     xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -171,15 +171,13 @@
       &lt;/managed-property&gt;
    &lt;/managed-bean&gt;
 &lt;/faces-config&gt;
-]]&gt;
 			      </programlisting>
                     </section>
 
                     <section id="RichFacesGreeterindex">
                               <title>RichFaces Greeter index.jsp</title>
                               <para><application>RichFaces Greeter</application> has only one JSP page. Create <filename>index.jsp</filename> in the root of <literal>WEB CONTENT</literal> folder and add the following to the JSP file:</para>
-                              <programlisting role="XML">
-&lt;![CDATA[&lt;!doctype html public "-//w3c//dtd html 4.0 transitional//en"&gt;
+                              <programlisting role="XML">&lt;!doctype html public "-//w3c//dtd html 4.0 transitional//en"&gt;
 &lt;%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %&gt;
 &lt;%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %&gt;
 &lt;!-- RichFaces tag library declaration --&gt;
@@ -210,13 +208,13 @@
                   &lt;/a4j:form&gt;
             &lt;/f:view&gt;
       &lt;/body&gt;
-&lt;/html&gt;]]&gt;
+&lt;/html&gt;
 			      </programlisting>
                               <para>The application uses three RichFaces components: <emphasis role="bold"><property>&lt;rich:panel&gt;</property></emphasis> is used as visual container for information; <emphasis role="bold"><property>&lt;a4j:commandButton&gt;</property></emphasis> with built-in AJAX support lets a greeting be rendered dynamically after a response returns; and <emphasis role="bold"><property>&lt;a4j:form&gt;</property></emphasis> helps the button to perform the action.</para>
                               <note>
 			      <para>The RichFaces tag library should be declared on each JSP page. For XHTML pages, add the following lines to declare your tag libraries:</para>
-                              <programlisting role="XML">&lt;![CDATA[&lt;xmlns:a4j="http://richfaces.org/a4j"&gt;
-&lt;xmlns:rich="http://richfaces.org/rich"&gt;]]&gt;</programlisting>
+                              <programlisting role="XML">&lt;xmlns:a4j="http://richfaces.org/a4j"&gt;
+&lt;xmlns:rich="http://richfaces.org/rich"&gt;</programlisting>
                               <para>Now, run the application on the server by pointing your browser to the <filename>index.jsp</filename> page: <literal>http://localhost:8080/Greeter/index.jsf</literal>
                               </para>
                               <figure>
@@ -238,8 +236,7 @@
                     <para>To create the project structure and populate it with basic content, we use the <literal>maven-archetype-jsfwebapp</literal> Maven archetype, which is a part of the RichFaces CDK.</para>
                     <para>The <literal>maven-archetype-jsfwebapp</literal> archetype and the project itself require extra repositories: <literal>http://snapshots.jboss.org/maven2/</literal> and <literal>http://repository.jboss.com/maven2/</literal>. The easist way to make these repositories visible to Maven is to create a profile in <filename>maven_installation_folder/conf/settings.xml</filename>. Add the following beneath the <literal>&lt;profiles&gt;</literal> element:</para>
           
-          <programlisting role="XML">&lt;![CDATA[
-&lt;profile&gt;
+          <programlisting role="XML">&lt;profile&gt;
 	&lt;id&gt;jsf-app-profile&lt;/id&gt;
 	&lt;repositories&gt;
 		&lt;repository&gt;
@@ -269,21 +266,18 @@
 			&lt;layout&gt;default&lt;/layout&gt;
 		&lt;/repository&gt;
 	&lt;/repositories&gt;
-&lt;/profile&gt;
- ]]&gt;</programlisting> 
+&lt;/profile&gt;</programlisting> 
                     <para>Once you have added the profile, you must also activate it. Add the following beneath the <literal>&lt;activeProfiles&gt;</literal> element.</para>
                     
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
 &lt;activeProfiles&gt;
   &lt;activeProfile&gt;jsf-app-profile&lt;/activeProfile&gt;
-&lt;/activeProfiles&gt;
-...]]&gt;</programlisting> 
+&lt;/activeProfiles&gt;</programlisting> 
                     
                     
                     <para>This fulfills the requirements for creating a project using the <literal>maven-archetype-jsfwebapp</literal> archetype. Create a directory for your project and run the following command from within the directory:</para>
-          <programlisting role="XML" >&lt;![CDATA[...
-mvn archetype:generate -DarchetypeGroupId=org.richfaces.cdk -DarchetypeArtifactId=maven-archetype-jsfwebapp -DarchetypeVersion=3.3.1.GA -DgroupId=org.docs.richfaces -DartifactId=jsf-app
-...]]&gt;</programlisting> 
+          <programlisting role="XML" >...
+mvn archetype:generate -DarchetypeGroupId=org.richfaces.cdk -DarchetypeArtifactId=maven-archetype-jsfwebapp -DarchetypeVersion=3.3.1.GA -DgroupId=org.docs.richfaces -DartifactId=jsf-app</programlisting> 
                   
                   
                   <para>You can adjust some parameters of the command.</para>
@@ -314,7 +308,7 @@
                   
                   <para>This command generates a JSF project that has the following structure:</para>
           
-          <programlisting role="XML">&lt;![CDATA[
+          <programlisting role="XML">
 jsf-app
 |-- pom.xml
 `-- src
@@ -339,14 +333,14 @@
                 `-- docs
                     `-- richfaces
                         `-- BeanTest.java
- ]]&gt;</programlisting> 
+</programlisting> 
           <para>
 	    Go to the <literal>jsf-app</literal> folder and open the project descriptor, <filename>pom.xml</filename> to edit and add dependencies. The <literal>&lt;dependencies&gt;</literal> element should contain at least the following:
           </para>
     
     
     
- <programlisting role="XML">&lt;![CDATA[...
+ <programlisting role="XML">...
 &lt;dependencies&gt;
 	&lt;dependency&gt;
 		&lt;groupId&gt;junit&lt;/groupId&gt;
@@ -420,8 +414,7 @@
 		&lt;artifactId&gt;richfaces-ui&lt;/artifactId&gt;
 		&lt;version&gt;3.3.1.GA&lt;/version&gt;
 	&lt;/dependency&gt;
-&lt;/dependencies&gt;
-...]]&gt;</programlisting>    
+&lt;/dependencies&gt;</programlisting>    
              <para>The final three dependencies add RichFaces libraries to the project. You can now build the project by running the <code>mvn install</code> command.</para>
              <para>When you see <literal>BUILD SUCCESSFUL</literal>, the project is assembled. It can now be imported to an IDE and run on the server.</para>          
 
@@ -429,13 +422,13 @@
                     
                     <para>Once the project is built, you can import it into Eclipse. Then, open <filename>jsf-app/src/main/webapp/WEB-INF/web.xml</filename> to configure it according to the listing under <!--#retag--><xref linkend="RegisteringRichFacesinwebxml" />.</para>                    
                     <para>The project is now configured and now you can start using RichFaces. Open <filename>jsf-app/src/main/webapp/pages/index.jsp</filename> and add the following tag library declaration.</para>
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
 &lt;%@ taglib uri="http://richfaces.org/rich" prefix="rich"%&gt;
-...]]&gt;</programlisting> 
+...</programlisting> 
            
            <para>If you add some RichFaces component to the <filename>index.jsp</filename> page (<literal>&lt;rich:calendar&gt;</literal>, for instance), your <filename>index.jsp</filename> page will look like this:</para>
            
-           <programlisting role="XML">&lt;![CDATA[...
+           <programlisting role="XML">...
 &lt;%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %&gt;
 &lt;%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%&gt;
 &lt;%@ taglib uri="http://richfaces.org/rich" prefix="rich"%&gt;
@@ -449,7 +442,7 @@
 		&lt;/f:view&gt;
 	&lt;/body&gt;	
 &lt;/html&gt;  
-...]]&gt;</programlisting> 
+...</programlisting> 
                     
                     <para>You can now run the application on the Tomcat server and open it in your preferred browser by pointing the browser to <literal>http://localhost:8080/jsf-app/</literal>.</para>
           </section>

Modified: projects/docs/enterprise/5.0/RichFaces/en-US/Revision_History.xml
===================================================================
--- projects/docs/enterprise/5.0/RichFaces/en-US/Revision_History.xml	2009-10-28 06:19:57 UTC (rev 95659)
+++ projects/docs/enterprise/5.0/RichFaces/en-US/Revision_History.xml	2009-10-28 06:23:39 UTC (rev 95660)
@@ -5,6 +5,25 @@
 
 <appendix id="appe-Publican-Revision_History">
 	<title>Revision History</title>
+        <simpara>
+                <revhistory>
+                        <revision>
+                                <revnumber>1.1</revnumber>
+                                <date>Tue Oct 27 2009</date>
+                                <author>
+                                        <firstname>Laura</firstname>
+                                        <surname>Bailey</surname>
+                                        <email>lbailey at redhat.com</email>
+                                </author>
+                                <revdescription>
+                                        <simplelist>
+                                                <member>Applied changes from 
+JBPAPP-2980.</member>
+                                        </simplelist>
+                                </revdescription>
+                        </revision>
+                </revhistory>
+        </simpara>
 	<simpara>
 		<revhistory>
 			<revision>

Modified: projects/docs/enterprise/5.0/RichFaces/en-US/RichFaces_Developer_Guide.xml
===================================================================
--- projects/docs/enterprise/5.0/RichFaces/en-US/RichFaces_Developer_Guide.xml	2009-10-28 06:19:57 UTC (rev 95659)
+++ projects/docs/enterprise/5.0/RichFaces/en-US/RichFaces_Developer_Guide.xml	2009-10-28 06:23:39 UTC (rev 95660)
@@ -5,12 +5,12 @@
 <book>
 	<xi:include href="Book_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
 	<xi:include href="Introduction.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
-    <xi:include href="Technical_Requirements.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+    <!--<xi:include href="Technical_Requirements.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />-->
     <xi:include href="Getting_Started.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
     <xi:include href="Settings.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
     <xi:include href="Architecture_Overview.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
-    <xi:include href="IDE_Support.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
-    <xi:include href="Links_to_Resources.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+    <!--<xi:include href="IDE_Support.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />-->
+    <!--<xi:include href="Links_to_Resources.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />-->
   <xi:include href="Revision_History.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
 	<index />
 </book>

Modified: projects/docs/enterprise/5.0/RichFaces/en-US/Settings.xml
===================================================================
--- projects/docs/enterprise/5.0/RichFaces/en-US/Settings.xml	2009-10-28 06:19:57 UTC (rev 95659)
+++ projects/docs/enterprise/5.0/RichFaces/en-US/Settings.xml	2009-10-28 06:23:39 UTC (rev 95660)
@@ -188,32 +188,32 @@
 	    </para>
 	    
 	    <para>You can find more information about <exceptionname>ViewExpiredException</exceptionname>s when you use RichFaces with JSF 1.2_12 in the <ulink url="http://wiki.jboss.org/auth/wiki//RichFacesCookbook/ViewExpiredException">RichFaces Cookbook</ulink> article.</para>
-          </section>
-          <section id="ApacheMyFaces">
-                   <title>Apache MyFaces</title>
-                    <para>RichFaces works with <application>Apache MyFaces</application> 1.2.5 through specific libraries like TOMAHAWK Sandbox and Trinidad. However, there are several issues to consider when you configure applications to work with MyFaces and RichFaces.</para>
-                    <note>
-		      <para>
-			Sometimes, filters defined in <filename>web.xml</filename> clash, which can be problematic. To avoid this, the RichFaces filter must be the first filter listed in the <filename>web.xml</filename> configuration file.
-		      </para>
-                    </note>
-		    <note>
-		      <para>There is one other issue with using MyFaces and <application>Seam</application>. <literal>&lt;f:view&gt;</literal> does not resolve correctly in MyFaces, so if you use this combination, you should wrap the contents of your <literal>&lt;f:view&gt;</literal> tags with <literal>&lt;a4j:page&gt;</literal>. We are working on a solution to this problem.</para>
-		    </note>
-		    <para>For more information, see: <ulink url="http://myfaces.apache.org"> http://myfaces.apache.org</ulink></para>
-		    
-          </section>
+    </section>
+    <section id="ApacheMyFaces">
+      <title>Apache MyFaces</title>
+      <para>RichFaces works with <application>Apache MyFaces</application> 1.2.5 through specific libraries like TOMAHAWK Sandbox and Trinidad. However, there are several issues to consider when you configure applications to work with MyFaces and RichFaces.</para>
+      <note>
+        <para>
+          Sometimes, filters defined in <filename>web.xml</filename> clash, which can be problematic. To avoid this, the RichFaces filter must be the first filter listed in the <filename>web.xml</filename> configuration file.
+        </para>
+      </note>
+      <note>
+        <para>There is one other issue with using MyFaces and <application>Seam</application>. <literal>&lt;f:view&gt;</literal> does not resolve correctly in MyFaces, so if you use this combination, you should wrap the contents of your <literal>&lt;f:view&gt;</literal> tags with <literal>&lt;a4j:page&gt;</literal>. We are working on a solution to this problem.</para>
+      </note>
+      <para>For more information, see: <ulink url="http://myfaces.apache.org"> http://myfaces.apache.org</ulink></para>
+      
+    </section>
           <section id="FaceletsSupport">
                     <title>Facelets Support</title>
                     <para>RichFaces has high-level support for Facelets, regardless of the version used. However, some JSF frameworks (including Faces) require that their own <literal>ViewHandler</literal> be listed first in the <literal>ViewHandler</literal> chain. RichFaces also requires that its <literal>AjaxViewHandler</literal> be listed first, but because it is installed first, no settings will need to be altered. Where multiple frameworks are used without RichFaces, you can use the <literal>VIEW_HANDLERS</literal> parameter to define the order in which the <literal>ViewHandler</literal>s are used. For example:</para>
 
                     <programlisting role="XML">
-&lt;![CDATA[...
+...
 &lt;context-param&gt;
      &lt;param-name&gt;org.ajax4jsf.VIEW_HANDLERS&lt;/param-name&gt;
      &lt;param-value&gt;com.sun.facelets.FaceletViewHandler&lt;/param-value&gt;
 &lt;/context-param&gt;
-...]]&gt;
+...
 		    </programlisting>
                     <para>This declares that while <literal>Facelets</literal> will officially be first, <literal>AjaxViewHandler</literal> will briefly be ahead of it to perform some small, important task.</para>
                     <note>
@@ -226,7 +226,7 @@
                     
 		    <para>For <application>Seam 1.2</application>, your <filename>web.xml</filename> must be as follows:</para>
                     <programlisting role="XML">
-&lt;![CDATA[&lt;?xml version="1.0" ?&gt;
+&lt;?xml version="1.0" ?&gt;
 &lt;web-app xmlns="http://java.sun.com/xml/ns/j2ee"
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
@@ -299,12 +299,12 @@
           &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
           &lt;url-pattern&gt;*.seam&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
-&lt;/web-app&gt;]]&gt;
+&lt;/web-app&gt;
 		    </programlisting>
                     <para><application>Seam 2.x</application> supports RichFaces Filter, so your <filename>web.xml</filename> must look like this:</para>
 
                     <programlisting role="XML">
-&lt;![CDATA[&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
 &lt;web-app version="2.5"
                    xmlns="http://java.sun.com/xml/ns/javaee"
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -363,7 +363,7 @@
           &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
           &lt;url-pattern&gt;*.seam&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
-&lt;/web-app&gt;]]&gt;
+&lt;/web-app&gt;
 		    </programlisting>
 
                     <para>There is one limitation to using Seam with MyFaces. See <xref linkend="ApacheMyFaces" /> for details.</para>
@@ -379,25 +379,25 @@
                     <para>There is one change required to use EAServer. EAServer calls Servlet <literal>init()</literal> before <literal>ServletContextInitializer</literal>. (This is part of the Servlet 2.3 specification, not an EAServer bug.) You must change the value of <literal>load-on-startup</literal> for the Faces Servlet to <literal>0</literal> in <filename>web.xml</filename>: </para>
 
                     <programlisting role="XML">
-&lt;![CDATA[...
+...
 &lt;servlet&gt;
      &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
      &lt;servlet-class&gt;javax.faces.webapp.FacesServlet&lt;/servlet-class&gt;
      &lt;load-on-startup&gt;0&lt;/load-on-startup&gt;
 &lt;/servlet&gt;
-...]]&gt;
+...
 		    </programlisting>
           </section>
           <section id="OracleAS_OC4J">
                     <title>Oracle AS/OC4J</title>
                     <para>To deploy your project with RichFaces components to an Oracle Application Server, you must prevent the application's class loader from importing the Oracle XML parser. Use the following notation in <filename>orion-application.xml</filename>:</para>
                     
-                    <programlisting role="XML">&lt;![CDATA[...
+                    <programlisting role="XML">...
 &lt;imported-shared-libraries&gt;
      &lt;remove-inherited name="oracle.xml"/&gt;
      &lt;remove-inherited name="oracle.xml.security"/&gt;
 &lt;/imported-shared-libraries&gt;
-...]]&gt;</programlisting>
+...</programlisting>
                     
           </section>
 </chapter>




More information about the jboss-cvs-commits mailing list