Author: ilya_shaikovsky
Date: 2010-10-26 12:13:02 -0400 (Tue, 26 Oct 2010)
New Revision: 19672
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/tabPanel/samples/valueManagement-sample.xhtml
Log:
https://jira.jboss.org/browse/RF-8782
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/tabPanel/samples/valueManagement-sample.xhtml
===================================================================
---
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/tabPanel/samples/valueManagement-sample.xhtml 2010-10-26
16:10:37 UTC (rev 19671)
+++
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/tabPanel/samples/valueManagement-sample.xhtml 2010-10-26
16:13:02 UTC (rev 19672)
@@ -7,12 +7,19 @@
xmlns:rich="http://richfaces.org/rich">
<ui:composition>
- <strong>External controls for switching the panel</strong>
- <br />
- <br />
<h:form>
- <rich:tabPanel switchType="ajax" id="tp"
- headerPosition="top"
+ <strong>External controls for switching the panel:</strong>
+ <br />
+ <h:commandLink value="Previous tab">
+ <rich:toggleControl targetPanel="tp" targetItem="@prev" />
+ </h:commandLink>
+ <h:outputText value=" | " />
+ <h:commandLink value="Next tab">
+ <rich:toggleControl targetPanel="tp" targetItem="@next" />
+ </h:commandLink>
+ <br />
+ <br />
+ <rich:tabPanel switchType="ajax" id="tp"
headerPosition="top"
headerLocation="center">
<rich:tab header="First">
Here is tab #1
@@ -23,14 +30,8 @@
<rich:tab header="Third">
Here is tab #3
</rich:tab>
- </rich:tabPanel>
- <h:commandLink value="Previous tab">
- <rich:toggleControl targetPanel="tp" targetItem="@prev"/>
- </h:commandLink>
- <h:outputText value=" | "/>
- <h:commandLink value="Next tab">
- <rich:toggleControl targetPanel="tp" targetItem="@next"/>
- </h:commandLink>
+ </rich:tabPanel>
+
</h:form>
</ui:composition>
</html>
\ No newline at end of file