[richfaces-svn-commits] JBoss Rich Faces SVN: r15939 - in root/docs/trunk/Component_Reference: en-US and 1 other directories.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Fri Nov 20 00:39:44 EST 2009


Author: SeanRogers
Date: 2009-11-20 00:39:44 -0500 (Fri, 20 Nov 2009)
New Revision: 15939

Added:
   root/docs/trunk/Component_Reference/en-US/extras/
   root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-a4jactionParam-a4jactionParam_example.js
   root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-a4jactionParam-a4jactionParam_example.xmlt
   root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-a4jjsFunction-a4jjsFunction_example.xmlt
   root/docs/trunk/Component_Reference/publican.cfg
Modified:
   root/docs/trunk/Component_Reference/en-US/Actions.xml
   root/docs/trunk/Component_Reference/en-US/Common_Ajax_attributes.xml
   root/docs/trunk/Component_Reference/en-US/Menus_and_toolbars.xml
   root/docs/trunk/Component_Reference/en-US/Panels_and_containers.xml
   root/docs/trunk/Component_Reference/en-US/Preface.xml
   root/docs/trunk/Component_Reference/en-US/Revision_History.xml
   root/docs/trunk/Component_Reference/en-US/Rich_inputs.xml
   root/docs/trunk/Component_Reference/en-US/Tables_and_grids.xml
Log:
Converted to Publican 1 and added code extras

Modified: root/docs/trunk/Component_Reference/en-US/Actions.xml
===================================================================
--- root/docs/trunk/Component_Reference/en-US/Actions.xml	2009-11-20 03:19:39 UTC (rev 15938)
+++ root/docs/trunk/Component_Reference/en-US/Actions.xml	2009-11-20 05:39:44 UTC (rev 15939)
@@ -37,10 +37,10 @@
 		</para>
 		<example id="exam-Component_Reference-a4jactionParam-a4jactionParam_example">
 			<title>&lt;a4j:actionParam&gt; example</title>
-<programlisting language="xml">
-<xi:include parse="text" href="extras/exam-Component_Reference-a4jactionParam-a4jactionParam_example.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+<programlisting language="XML" role="XML">
+<xi:include parse="text" href="extras/exam-Component_Reference-a4jactionParam-a4jactionParam_example.xmlt" xmlns:xi="http://www.w3.org/2001/XInclude" />
 </programlisting>
-<programlisting language="java">
+<programlisting language="Java" role="JAVA">
 <xi:include parse="text" href="extras/exam-Component_Reference-a4jactionParam-a4jactionParam_example.js" xmlns:xi="http://www.w3.org/2001/XInclude" />
 </programlisting>
 		</example>
@@ -197,8 +197,8 @@
 		<example id="exam-Component_Reference-a4jjsFunction-a4jjsFunction_example">
 			<title>&lt;a4j:jsFunction&gt; example</title>
 			
-<programlisting language="xml">
-<xi:include href="extras/exam-Component_Reference-a4jjsFunction-a4jjsFunction_example.xml" parse="text" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
+<programlisting language="XML" role="XML">
+<xi:include href="extras/exam-Component_Reference-a4jjsFunction-a4jjsFunction_example.xmlt" parse="text" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
 </programlisting>
 		</example>
 		<para>

Modified: root/docs/trunk/Component_Reference/en-US/Common_Ajax_attributes.xml
===================================================================
--- root/docs/trunk/Component_Reference/en-US/Common_Ajax_attributes.xml	2009-11-20 03:19:39 UTC (rev 15938)
+++ root/docs/trunk/Component_Reference/en-US/Common_Ajax_attributes.xml	2009-11-20 05:39:44 UTC (rev 15939)
@@ -20,7 +20,7 @@
 			<example id="exam-Component_Reference-render-render_example">
 				<title>render example</title>
 				
-<programlisting language="xml">
+<programlisting language="XML" role="XML">
 &lt;h:form id="form1"&gt;
     &lt;a4j:commandButton value="Basic reference" render="infoBlock, infoBlock2" /&gt;
     &lt;a4j:commandButton value="Specific reference" render=":infoBlock,:sv:infoBlock2" /&gt;
@@ -72,7 +72,7 @@
 			<example id="exam-Component_Reference-limitRender-Rendering_example">
 				<title>Rendering example</title>
 				
-<programlisting language="XML">
+<programlisting language="XML" role="XML">
 &lt;h:form id="form1"&gt;
     &lt;a4j:commandButton value="Normal rendering" render="infoBlock" /&gt;
     &lt;a4j:commandButton value="Limited rendering" render="infoBlock" limitRender="true" /&gt;
@@ -226,7 +226,7 @@
 			<example id="exam-Component_Reference-data-Data_reference_example">
 				<title>Data reference example</title>
 				
-<programlisting language="XML">
+<programlisting language="XML" role="XML">
 &lt;a4j:commandButton value="Update" data="#{userBean.name}" oncomplete="showTheName(data.name)" /&gt;
 </programlisting>
 			</example>

Modified: root/docs/trunk/Component_Reference/en-US/Menus_and_toolbars.xml
===================================================================
--- root/docs/trunk/Component_Reference/en-US/Menus_and_toolbars.xml	2009-11-20 03:19:39 UTC (rev 15938)
+++ root/docs/trunk/Component_Reference/en-US/Menus_and_toolbars.xml	2009-11-20 05:39:44 UTC (rev 15939)
@@ -100,7 +100,7 @@
 		<example id="exam-Component_Reference-richpanelMenuGroup-Using_custom_icons">
 			<title>Using custom icons</title>
 			
-<programlisting language="xml">
+<programlisting language="XML" role="XML">
 &lt;rich:panelMenu&gt;
   &lt;rich:PanelMenuGroup label="Group 1" iconExpanded="\images\img1.png" iconCollapsed="\images\img2.png"&gt;&gt;
     &lt;!--Nested menu components--&gt;
@@ -135,7 +135,7 @@
 		<example id="exam-Component_Reference-richpanelMenuItem-Using_custom_icons">
 			<title>Using custom icons</title>
 			
-<programlisting language="xml">
+<programlisting language="XML" role="XML">
 &lt;rich:panelMenu&gt;
   ...
     &lt;rich:panelMenuItem value="Item 1.1" icon="\images\img1.png" iconDisabled="\images\img2.png" /&gt;

Modified: root/docs/trunk/Component_Reference/en-US/Panels_and_containers.xml
===================================================================
--- root/docs/trunk/Component_Reference/en-US/Panels_and_containers.xml	2009-11-20 03:19:39 UTC (rev 15938)
+++ root/docs/trunk/Component_Reference/en-US/Panels_and_containers.xml	2009-11-20 05:39:44 UTC (rev 15939)
@@ -27,7 +27,7 @@
 		<example id="exam-Component_Reference-richmodalPanel-richmodalPanel_example">
 			<title>&lt;rich:modalPanel&gt; example</title>
 			
-<programlisting language="xml">
+<programlisting language="XML" role="XML">
 &lt;a onclick="Richfaces.showModalPanel(&#39;pnl&#39;);" href="#"&gt;Show ModalPanel&lt;/a&gt;
 &lt;a4j:form&gt;
   &lt;rich:modalPanel id="pnl" &gt;
@@ -170,19 +170,19 @@
 		<example id="exam-Component_Reference-richtogglePanel-State_order_example">
 			<title>State order example</title>
 			
-<programlisting language="xml">
-&gt;rich:togglePanel id="panel" initialState="panelB" switchType="client" stateOrder="panelA,panelB,panelC"&lt;
-  &gt;f:facet name="panelA"&lt;
+<programlisting language="XML" role="XML">
+&lt;rich:togglePanel id="panel" initialState="panelB" switchType="client" stateOrder="panelA,panelB,panelC"&gt;
+  &lt;f:facet name="panelA"&gt;
     ...
-  &gt;/f:facet&lt;
-  &gt;f:facet name="panelB"&lt;
+  &lt;/f:facet&gt;
+  &lt;f:facet name="panelB"&gt;
     ...
-  &gt;/f:facet&lt;
-  &gt;f:facet name="panelC"&lt;
+  &lt;/f:facet&gt;
+  &lt;f:facet name="panelC"&gt;
     ...
-  &gt;/f:facet&lt;
-&gt;/rich:togglePanel&lt; 
-&gt;rich:toggleControl for="panel" value="Switch"/&lt;
+  &lt;/f:facet&gt;
+&lt;/rich:togglePanel&gt; 
+&lt;rich:toggleControl for="panel" value="Switch"/&gt;
 </programlisting>
 		</example>
 	</section>
@@ -201,7 +201,7 @@
 		<example id="exam-Component_Reference-richtoggleControl-Switching_panel_states">
 			<title>Switching panel states</title>
 			
-<programlisting language="xml">
+<programlisting language="XML" role="XML">
 &lt;rich:togglePanel id="panel" initialState="empty" switchType="client"&gt;
   &lt;f:facet name="first"&gt;
     &lt;h:panelGroup&gt;

Modified: root/docs/trunk/Component_Reference/en-US/Preface.xml
===================================================================
--- root/docs/trunk/Component_Reference/en-US/Preface.xml	2009-11-20 03:19:39 UTC (rev 15938)
+++ root/docs/trunk/Component_Reference/en-US/Preface.xml	2009-11-20 05:39:44 UTC (rev 15939)
@@ -4,13 +4,23 @@
 
 <preface id="pref-Component_Reference-Preface">
 	<title>Preface</title>
-	<!--               FOR JDOCBOOK               --><xi:include href="Common_Content/Conventions.xml" xmlns:xi="http://www.w3.org/2001/XInclude"><!--               FOR PUBLICAN               --><xi:fallback xmlns:xi="http://www.w3.org/2001/XInclude"><xi:include href="fallback_content/Conventions.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
-	</xi:fallback>
+	<!--               FOR JDOCBOOK               -->
+	<xi:include href="Common_Content/Conventions.xml" xmlns:xi="http://www.w3.org/2001/XInclude">
+		<!--               FOR PUBLICAN               -->
+		<xi:fallback xmlns:xi="http://www.w3.org/2001/XInclude">
+			<xi:include href="fallback_content/Conventions.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
+		</xi:fallback>
 	</xi:include>
-	<!--               PUBLICAN'S ORIGINAL XINCLUDES               --><xi:include href="Feedback.xml" xmlns:xi="http://www.w3.org/2001/XInclude"><xi:fallback xmlns:xi="http://www.w3.org/2001/XInclude"><xi:include href="Common_Content/Feedback.xml" xmlns:xi="http://www.w3.org/2001/XInclude"><!--               FOR JDOCBOOK               --><xi:fallback xmlns:xi="http://www.w3.org/2001/XInclude"><xi:include href="fallback_content/Feedback.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
-	</xi:fallback>
+	<!--               PUBLICAN'S ORIGINAL XINCLUDES               -->
+	<xi:include href="Feedback.xml" xmlns:xi="http://www.w3.org/2001/XInclude">
+		<xi:fallback xmlns:xi="http://www.w3.org/2001/XInclude">
+			<xi:include href="Common_Content/Feedback.xml" xmlns:xi="http://www.w3.org/2001/XInclude">
+			<!--               FOR JDOCBOOK               -->
+				<xi:fallback xmlns:xi="http://www.w3.org/2001/XInclude">
+					<xi:include href="fallback_content/Feedback.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
+				</xi:fallback>
+			</xi:include>
+		</xi:fallback>
 	</xi:include>
-	</xi:fallback>
-	</xi:include>
 </preface>
 

Modified: root/docs/trunk/Component_Reference/en-US/Revision_History.xml
===================================================================
--- root/docs/trunk/Component_Reference/en-US/Revision_History.xml	2009-11-20 03:19:39 UTC (rev 15938)
+++ root/docs/trunk/Component_Reference/en-US/Revision_History.xml	2009-11-20 05:39:44 UTC (rev 15939)
@@ -8,15 +8,15 @@
 		<revhistory>
 			<revision>
 				<revnumber>1.0</revnumber>
-				<date></date>
+				<date>Fri Nov 20 2009</date>
 				<author>
-					<firstname></firstname>
-					<surname></surname>
-					<email></email>
+					<firstname>Sean</firstname>
+					<surname>Rogers</surname>
+					<email>serogers at redhat.com</email>
 				</author>
 				<revdescription>
 					<simplelist>
-						<member></member>
+						<member>First draft</member>
 					</simplelist>
 				</revdescription>
 			</revision>

Modified: root/docs/trunk/Component_Reference/en-US/Rich_inputs.xml
===================================================================
--- root/docs/trunk/Component_Reference/en-US/Rich_inputs.xml	2009-11-20 03:19:39 UTC (rev 15938)
+++ root/docs/trunk/Component_Reference/en-US/Rich_inputs.xml	2009-11-20 05:39:44 UTC (rev 15939)
@@ -116,7 +116,7 @@
 				<example id="exam-Component_Reference-richcomboBox-Defining_suggestion_values">
 					<title>Defining suggestion values</title>
 					
-<programlisting language="XML">
+<programlisting language="XML" role="XML">
 &lt;rich:comboBox value="#{bean.state}" suggestionValues="#{bean.suggestions}"
 </programlisting>
 				</example>
@@ -128,7 +128,7 @@
 				<example id="exam-Component_Reference-richcomboBox-Defining_list_items_for_richinplaceSelect">
 					<title>Defining list items for &lt;rich:inplaceSelect&gt;</title>
 					
-<programlisting language="XML">
+<programlisting language="XML" role="XML">
 &lt;rich:comboBox value="#{bean.item}" valueChangeListener="#{bean.selectionChanged}" &gt;
     &lt;f:selectItems value="#{bean.selectItems}" /&gt;
     &lt;f.selectItem itemValue="Item 1" /&gt;
@@ -181,7 +181,7 @@
 		<example id="exam-Component_Reference-richfileUpload-Basic_usage_of_richfileUpload">
 			<title>Basic usage of &lt;rich:fileUpload&gt;</title>
 			
-<programlisting language="XML">
+<programlisting language="XML" role="XML">
 &lt;rich:fileUpload uploadData="#{bean.data}" /&gt;
 </programlisting>
 		</example>
@@ -307,7 +307,7 @@
 		<example id="exam-Component_Reference-richinplaceSelect-Defining_list_items_for_richinplaceSelect">
 			<title>Defining list items for &lt;rich:inplaceSelect&gt;</title>
 			
-<programlisting language="XML">
+<programlisting language="XML" role="XML">
 &lt;rich:inplaceSelect value="#{bean.inputValue}" defaultLabel="click to edit" &gt;
     &lt;f:selectItems value="#{bean.selectItems}" /&gt;
     &lt;f.selectItem itemValue="1" itemLabel="Item 1" /&gt;

Modified: root/docs/trunk/Component_Reference/en-US/Tables_and_grids.xml
===================================================================
--- root/docs/trunk/Component_Reference/en-US/Tables_and_grids.xml	2009-11-20 03:19:39 UTC (rev 15938)
+++ root/docs/trunk/Component_Reference/en-US/Tables_and_grids.xml	2009-11-20 05:39:44 UTC (rev 15939)
@@ -18,7 +18,7 @@
 		<example id="exam-Component_Reference-richcolumn-Basic_column_example">
 			<title>Basic column example</title>
 			
-<programlisting language="xml">
+<programlisting language="XML" role="XML">
 &lt;rich:dataTable value="#{capitalsBean.capitals}" var="cap" rows="5"&gt; 
   &lt;rich:column&gt;
     &lt;f:facet name="header"&gt;State Flag&lt;/f:facet&gt;
@@ -53,7 +53,7 @@
 		<example id="exam-Component_Reference-richcolumn-Column_spanning_example">
 			<title>Column spanning example</title>
 			
-<programlisting language="xml">
+<programlisting language="XML" role="XML">
 &lt;rich:dataTable value="#{capitalsBean.capitals}" var="cap" rows="5"&gt; 
   &lt;rich:column colspan="3"&gt;
     &lt;h:graphicImage value="#{cap.stateFlag}"/&gt;
@@ -84,7 +84,7 @@
 		<example id="exam-Component_Reference-richcolumn-Row_spanning_example">
 			<title>Row spanning example</title>
 			
-<programlisting language="xml">
+<programlisting language="XML" role="XML">
 &lt;rich:dataTable value="#{capitalsBean.capitals}" var="cap" rows="5"&gt; 
   &lt;rich:column rowspan="3"&gt;
     &lt;f:facet name="header"&gt;State Flag&lt;/f:facet&gt;
@@ -127,7 +127,7 @@
 		<example id="exam-Component_Reference-richcolumnGroup-Complex_headers_using_column_groups">
 			<title>Complex headers using column groups</title>
 			
-<programlisting language="xml">
+<programlisting language="XML" role="XML">
 &lt;rich:dataTable value="#{capitalsBean.capitals}" var="cap" rows="5" id="sublist"&gt; 
   &lt;f:facet name="header"&gt;
     &lt;rich:columnGroup&gt;
@@ -184,7 +184,7 @@
 		<example id="exam-Component_Reference-richcolumns-Basic_columns_example">
 			<title>Basic columns example</title>
 			
-<programlisting language="xml">
+<programlisting language="XML" role="XML">
 &lt;rich:dataTable value="#{dataTableScrollerBean.model}" var="model" width="750"&gt;
   &lt;rich:columns value="#{dataTableScrollerBean.columns}" var="columns" index="ind" id="column#{ind}"&gt; 
     &lt;f:facet name="header"&gt;

Added: root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-a4jactionParam-a4jactionParam_example.js
===================================================================
--- root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-a4jactionParam-a4jactionParam_example.js	                        (rev 0)
+++ root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-a4jactionParam-a4jactionParam_example.js	2009-11-20 05:39:44 UTC (rev 15939)
@@ -0,0 +1,11 @@
+public class ActionparamBean {
+    private String name = "John";
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+}

Added: root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-a4jactionParam-a4jactionParam_example.xmlt
===================================================================
--- root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-a4jactionParam-a4jactionParam_example.xmlt	                        (rev 0)
+++ root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-a4jactionParam-a4jactionParam_example.xmlt	2009-11-20 05:39:44 UTC (rev 15939)
@@ -0,0 +1,6 @@
+<h:form id="form">
+    <a4j:commandButton value="Set name to Alex" reRender="rep">
+        <a4j:actionparam name="username" value="Alex" assignTo="#{actionparamBean.name}"/>
+    </a4j:commandButton>
+    <h:outputText id="rep" value="Name: #{actionparamBean.name}"/>
+</h:form>

Added: root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-a4jjsFunction-a4jjsFunction_example.xmlt
===================================================================
--- root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-a4jjsFunction-a4jjsFunction_example.xmlt	                        (rev 0)
+++ root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-a4jjsFunction-a4jjsFunction_example.xmlt	2009-11-20 05:39:44 UTC (rev 15939)
@@ -0,0 +1,7 @@
+<h:form>
+    ...
+    <a4j:jsFunction name="callScript" data="#{bean.someProperty1}" reRender="someComponent" oncomplete="myScript(data.subProperty1, data.subProperty2)">
+        <a4j:actionParam name="param_name" assignTo="#{bean.someProperty2}"/>
+    </a4j:jsFunction>
+    ...
+</h:form>

Added: root/docs/trunk/Component_Reference/publican.cfg
===================================================================
--- root/docs/trunk/Component_Reference/publican.cfg	                        (rev 0)
+++ root/docs/trunk/Component_Reference/publican.cfg	2009-11-20 05:39:44 UTC (rev 15939)
@@ -0,0 +1,7 @@
+# Config::Simple 4.59
+# Fri Nov 20 15:18:32 2009
+
+show_remarks: 1
+debug: 1
+xml_lang: en-US
+



More information about the richfaces-svn-commits mailing list