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

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Mon Feb 25 06:44:09 EST 2008


Author: cluts
Date: 2008-02-25 06:44:09 -0500 (Mon, 25 Feb 2008)
New Revision: 6318

Modified:
   trunk/docs/userguide/en/src/main/docbook/included/support.xml
Log:
http://jira.jboss.com/jira/browse/RF-1199 - updated Java code

Modified: trunk/docs/userguide/en/src/main/docbook/included/support.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/support.xml	2008-02-25 11:40:44 UTC (rev 6317)
+++ trunk/docs/userguide/en/src/main/docbook/included/support.xml	2008-02-25 11:44:09 UTC (rev 6318)
@@ -62,15 +62,15 @@
     <para>A4j support addition is very similar to correspondent event redefinition of a component, i.e. 
 </para>
     <para><emphasis role="bold">Example:</emphasis></para>
-	<programlisting role="XML"><![CDATA[<h:inputText value="#{bean.text}">
+	<programlisting role="XML"><![CDATA[...
+<h:inputText value="#{bean.text}">
     <a4j:support event="onkeyup" reRender="output" action="#{bean.action}"/>
 </h:inputText>
-]]></programlisting>
+...]]></programlisting>
     
    <para> Below you can see example Java code where support was added as facelets, not children:</para>   
     <para><emphasis role="bold">Example:</emphasis></para>
-    <programlisting role="JAVA"><![CDATA[
-HtmlInputText inputText = new HtmlInputText();
+    <programlisting role="JAVA"><![CDATA[HtmlInputText inputText = new HtmlInputText();
 ...
 HtmlAjaxSupport ajaxSupport = new HtmlAjaxSupport();
       ajaxSupport.setActionExpression(FacesContext.getCurrentInstance().getApplication().getExpressionFactory().createMethodExpression(FacesContext.getCurrentInstance().getELContext(), "#{bean.action}", String.class, new Class[] {}));




More information about the richfaces-svn-commits mailing list