Author: smukhina
Date: 2007-07-13 08:53:35 -0400 (Fri, 13 Jul 2007)
New Revision: 1619
Modified:
trunk/docs/ajaxguide/en/src/main/docbook/modules/a4jUGenvsettings.xml
trunk/docs/ajaxguide/en/src/main/docbook/modules/a4jUGfaq.xml
trunk/docs/ajaxguide/en/src/main/docbook/modules/a4jUGusingAJAX.xml
Log:
http://jira.jboss.com/jira/browse/AJSF-101
Modified: trunk/docs/ajaxguide/en/src/main/docbook/modules/a4jUGenvsettings.xml
===================================================================
--- trunk/docs/ajaxguide/en/src/main/docbook/modules/a4jUGenvsettings.xml 2007-07-13
12:48:24 UTC (rev 1618)
+++ trunk/docs/ajaxguide/en/src/main/docbook/modules/a4jUGenvsettings.xml 2007-07-13
12:53:35 UTC (rev 1619)
@@ -70,6 +70,10 @@
Ajax4jsf AjaxViewHandler is not an exception. At first Ajax4jsf installs its
ViewHandler in any case, so in case of two frameworks, for example Ajax4jsf + Facelets, no
changes in settings are required. Although, when more then one framework (except Ajax4jsf)
is used, it's possible to use the VIEW_HANDLERS parameter defining these frameworks
view handlers according to its usage order in it.
For example, the
declaration:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"> <context-param>
<param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
<param-value>com.sun.facelets.FaceletViewHandler</param-value>
@@ -195,6 +199,10 @@
<section id="Sybase EAServer">
<title>Sybase EAServer</title>
<para>The load-on-startup for the Faces Servlet had to be set to 0 in
web.xml.</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
<servlet>
<servlet-name>Faces Servlet</servlet-name>
Modified: trunk/docs/ajaxguide/en/src/main/docbook/modules/a4jUGfaq.xml
===================================================================
--- trunk/docs/ajaxguide/en/src/main/docbook/modules/a4jUGfaq.xml 2007-07-13 12:48:24 UTC
(rev 1618)
+++ trunk/docs/ajaxguide/en/src/main/docbook/modules/a4jUGfaq.xml 2007-07-13 12:53:35 UTC
(rev 1619)
@@ -140,6 +140,10 @@
generated xhtml. There are two ways for setting
<property>filters</property> that could
be used in an Ajax4jsf-based application.</para>
<para> The first one:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[<context-param
filter>
<display-name>Ajax4jsf Filter</display-name>
<filter-name>ajax4jsf</filter-name>
@@ -151,6 +155,10 @@
<para> Anyway, some obvious errors could damage a layout, if it happens,
make sure that the
markup corresponds to the xhtml-strict specification. </para>
<para>The second one:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[<filter>
<display-name>org.ajax4jsf.FastFilter</display-name>
<filter-name>ajax4jsf</filter-name>
@@ -163,6 +171,10 @@
processing. </para>
<para><emphasis role="bold">Extra
information</emphasis>. </para>
<para>forceParcer parameters setting for
<property>filters</property>:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[<filter>
...
<init-param>
@@ -185,6 +197,10 @@
<para>This situation could happen because of conversion/validation errors
on form
submission. In order to verify this, it's necessary to place this
updating via
an AJAX error message inside a form:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[<a4j:outputPanel
ajaxRendered="true">
<h:messages/>
</a4j:outpurPanel>]]></programlisting>
Modified: trunk/docs/ajaxguide/en/src/main/docbook/modules/a4jUGusingAJAX.xml
===================================================================
--- trunk/docs/ajaxguide/en/src/main/docbook/modules/a4jUGusingAJAX.xml 2007-07-13
12:48:24 UTC (rev 1618)
+++ trunk/docs/ajaxguide/en/src/main/docbook/modules/a4jUGusingAJAX.xml 2007-07-13
12:53:35 UTC (rev 1619)
@@ -293,6 +293,10 @@
</emphasis> framework method that is called on the <emphasis >
<property>"Session Expiration"</property>
</emphasis> event.</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="JAVA"><![CDATA[A4J.AJAX.onExpired =
function(loc,expiredMsg){
// Custom Developer Code
};