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><a4j:actionParam> 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><a4j:jsFunction> 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">
<h:form id="form1">
<a4j:commandButton value="Basic reference" render="infoBlock,
infoBlock2" />
<a4j:commandButton value="Specific reference"
render=":infoBlock,:sv:infoBlock2" />
@@ -72,7 +72,7 @@
<example id="exam-Component_Reference-limitRender-Rendering_example">
<title>Rendering example</title>
-<programlisting language="XML">
+<programlisting language="XML" role="XML">
<h:form id="form1">
<a4j:commandButton value="Normal rendering"
render="infoBlock" />
<a4j:commandButton value="Limited rendering"
render="infoBlock" limitRender="true" />
@@ -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">
<a4j:commandButton value="Update" data="#{userBean.name}"
oncomplete="showTheName(data.name)" />
</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">
<rich:panelMenu>
<rich:PanelMenuGroup label="Group 1"
iconExpanded="\images\img1.png"
iconCollapsed="\images\img2.png">>
<!--Nested menu components-->
@@ -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">
<rich:panelMenu>
...
<rich:panelMenuItem value="Item 1.1"
icon="\images\img1.png" iconDisabled="\images\img2.png" />
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><rich:modalPanel> example</title>
-<programlisting language="xml">
+<programlisting language="XML" role="XML">
<a onclick="Richfaces.showModalPanel('pnl');"
href="#">Show ModalPanel</a>
<a4j:form>
<rich:modalPanel id="pnl" >
@@ -170,19 +170,19 @@
<example
id="exam-Component_Reference-richtogglePanel-State_order_example">
<title>State order example</title>
-<programlisting language="xml">
->rich:togglePanel id="panel" initialState="panelB"
switchType="client" stateOrder="panelA,panelB,panelC"<
- >f:facet name="panelA"<
+<programlisting language="XML" role="XML">
+<rich:togglePanel id="panel" initialState="panelB"
switchType="client" stateOrder="panelA,panelB,panelC">
+ <f:facet name="panelA">
...
- >/f:facet<
- >f:facet name="panelB"<
+ </f:facet>
+ <f:facet name="panelB">
...
- >/f:facet<
- >f:facet name="panelC"<
+ </f:facet>
+ <f:facet name="panelC">
...
- >/f:facet<
->/rich:togglePanel<
->rich:toggleControl for="panel" value="Switch"/<
+ </f:facet>
+</rich:togglePanel>
+<rich:toggleControl for="panel" value="Switch"/>
</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">
<rich:togglePanel id="panel" initialState="empty"
switchType="client">
<f:facet name="first">
<h:panelGroup>
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(a)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">
<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
<rich:inplaceSelect></title>
-<programlisting language="XML">
+<programlisting language="XML" role="XML">
<rich:comboBox value="#{bean.item}"
valueChangeListener="#{bean.selectionChanged}" >
<f:selectItems value="#{bean.selectItems}" />
<f.selectItem itemValue="Item 1" />
@@ -181,7 +181,7 @@
<example
id="exam-Component_Reference-richfileUpload-Basic_usage_of_richfileUpload">
<title>Basic usage of <rich:fileUpload></title>
-<programlisting language="XML">
+<programlisting language="XML" role="XML">
<rich:fileUpload uploadData="#{bean.data}" />
</programlisting>
</example>
@@ -307,7 +307,7 @@
<example
id="exam-Component_Reference-richinplaceSelect-Defining_list_items_for_richinplaceSelect">
<title>Defining list items for <rich:inplaceSelect></title>
-<programlisting language="XML">
+<programlisting language="XML" role="XML">
<rich:inplaceSelect value="#{bean.inputValue}" defaultLabel="click
to edit" >
<f:selectItems value="#{bean.selectItems}" />
<f.selectItem itemValue="1" itemLabel="Item 1" />
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">
<rich:dataTable value="#{capitalsBean.capitals}" var="cap"
rows="5">
<rich:column>
<f:facet name="header">State Flag</f:facet>
@@ -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">
<rich:dataTable value="#{capitalsBean.capitals}" var="cap"
rows="5">
<rich:column colspan="3">
<h:graphicImage value="#{cap.stateFlag}"/>
@@ -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">
<rich:dataTable value="#{capitalsBean.capitals}" var="cap"
rows="5">
<rich:column rowspan="3">
<f:facet name="header">State Flag</f:facet>
@@ -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">
<rich:dataTable value="#{capitalsBean.capitals}" var="cap"
rows="5" id="sublist">
<f:facet name="header">
<rich:columnGroup>
@@ -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">
<rich:dataTable value="#{dataTableScrollerBean.model}"
var="model" width="750">
<rich:columns value="#{dataTableScrollerBean.columns}"
var="columns" index="ind" id="column#{ind}">
<f:facet name="header">
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
+