Author: SeanRogers
Date: 2009-12-22 00:19:34 -0500 (Tue, 22 Dec 2009)
New Revision: 16186
Added:
root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-a4jinclude-A_wizard_using_a4jinclude-0.xml_sample
root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-a4jinclude-A_wizard_using_a4jinclude-1.xml_sample
root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-a4jinclude-A_wizard_using_a4jinclude-2.xml_sample
Log:
Added a4j:include examples
Added:
root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-a4jinclude-A_wizard_using_a4jinclude-0.xml_sample
===================================================================
---
root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-a4jinclude-A_wizard_using_a4jinclude-0.xml_sample
(rev 0)
+++
root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-a4jinclude-A_wizard_using_a4jinclude-0.xml_sample 2009-12-22
05:19:34 UTC (rev 16186)
@@ -0,0 +1,11 @@
+<h:panelGrid width="100%" columns="2">
+ <a4j:keepAlive beanName="profile" />
+ <rich:panel>
+ <f:facet name="header">
+ <h:outputText value="A wizard using a4j:include" />
+ </f:facet>
+ <h:form>
+ <a4j:include viewId="/richfaces/include/examples/wstep1.xhtml"
/>
+ </h:form>
+ </rich:panel>
+</h:panelGrid>
Added:
root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-a4jinclude-A_wizard_using_a4jinclude-1.xml_sample
===================================================================
---
root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-a4jinclude-A_wizard_using_a4jinclude-1.xml_sample
(rev 0)
+++
root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-a4jinclude-A_wizard_using_a4jinclude-1.xml_sample 2009-12-22
05:19:34 UTC (rev 16186)
@@ -0,0 +1,22 @@
+<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:rich="http://richfaces.org/rich">
+
+ <div style="position:relative;height:140px">
+ <h:panelGrid rowClasses="s1row" columns="3"
columnClasses="wfcol1,wfcol2,wfcol3">
+ <h:outputText value="First Name:" />
+ <h:inputText id="fn" value="#{profile.firstName}"
label="First Name" required="true" />
+ <rich:message for="fn" />
+
+ <h:outputText value="Last Name:" />
+ <h:inputText id="ln" value="#{profile.lastName}"
label="Last Name" required="true" />
+ <rich:message for="ln" />
+ </h:panelGrid>
+ <div class="navPanel" style="width:100%;">
+ <a4j:commandButton style="float:right" action="next"
value="Next >>"/>
+ </div>
+ </div>
+</ui:composition>
Added:
root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-a4jinclude-A_wizard_using_a4jinclude-2.xml_sample
===================================================================
---
root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-a4jinclude-A_wizard_using_a4jinclude-2.xml_sample
(rev 0)
+++
root/docs/trunk/Component_Reference/en-US/extras/exam-Component_Reference-a4jinclude-A_wizard_using_a4jinclude-2.xml_sample 2009-12-22
05:19:34 UTC (rev 16186)
@@ -0,0 +1,25 @@
+<navigation-rule>
+ <from-view-id>/richfaces/include/examples/wstep1.xhtml</from-view-id>
+ <navigation-case>
+ <from-outcome>next</from-outcome>
+ <to-view-id>/richfaces/include/examples/wstep2.xhtml</to-view-id>
+ </navigation-case>
+</navigation-rule>
+<navigation-rule>
+ <from-view-id>/richfaces/include/examples/wstep2.xhtml</from-view-id>
+ <navigation-case>
+ <from-outcome>previous</from-outcome>
+ <to-view-id>/richfaces/include/examples/wstep1.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>next</from-outcome>
+ <to-view-id>/richfaces/include/examples/finalStep.xhtml</to-view-id>
+ </navigation-case>
+</navigation-rule>
+<navigation-rule>
+ <from-view-id>/richfaces/include/examples/finalStep.xhtml</from-view-id>
+ <navigation-case>
+ <from-outcome>previous</from-outcome>
+ <to-view-id>/richfaces/include/examples/wstep2.xhtml</to-view-id>
+ </navigation-case>
+</navigation-rule>