Author: ppitonak(a)redhat.com
Date: 2011-08-10 09:14:10 -0400 (Wed, 10 Aug 2011)
New Revision: 22615
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/templates/richAccordion.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/templates/richCollapsiblePanel.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/templates/richTabPanel.xhtml
modules/tests/metamer/trunk/application/src/main/webapp/templates/richTogglePanel.xhtml
Log:
templates for switchable panels changed to client mode
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/templates/richAccordion.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/templates/richAccordion.xhtml 2011-08-10
13:11:47 UTC (rev 22614)
+++
modules/tests/metamer/trunk/application/src/main/webapp/templates/richAccordion.xhtml 2011-08-10
13:14:10 UTC (rev 22615)
@@ -26,7 +26,7 @@
-->
<ui:composition>
- <rich:accordion id="containerRichAccordion"
activeItem="containerItem3">
+ <rich:accordion id="containerRichAccordion"
activeItem="containerItem3" switchType="client">
<rich:accordionItem id="containerItem1"
name="containerItem1" header="Item 1">
content of item 1
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/templates/richCollapsiblePanel.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/templates/richCollapsiblePanel.xhtml 2011-08-10
13:11:47 UTC (rev 22614)
+++
modules/tests/metamer/trunk/application/src/main/webapp/templates/richCollapsiblePanel.xhtml 2011-08-10
13:14:10 UTC (rev 22615)
@@ -25,7 +25,7 @@
-->
<ui:composition>
- <rich:collapsiblePanel id="containerRichCollapsiblePanel">
+ <rich:collapsiblePanel id="containerRichCollapsiblePanel"
switchType="client">
<ui:decorate template="#{templateBean.nextTemplate}.xhtml"
/>
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/templates/richTabPanel.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/templates/richTabPanel.xhtml 2011-08-10
13:11:47 UTC (rev 22614)
+++
modules/tests/metamer/trunk/application/src/main/webapp/templates/richTabPanel.xhtml 2011-08-10
13:14:10 UTC (rev 22615)
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
-
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:rich="http://richfaces.org/rich">
+
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:rich="http://richfaces.org/rich">
- <!--
+<!--
JBoss, Home of Professional Open Source
Copyright 2010-2011, Red Hat, Inc. and individual contributors
by the @authors tag. See the copyright.txt in the distribution for a
@@ -25,26 +25,26 @@
02110-1301 USA, or see the FSF site:
http://www.fsf.org.
-->
- <ui:composition>
- <rich:tabPanel id="containerRichTabPanel"
activeItem="containerItem3">
+<ui:composition>
+ <rich:tabPanel id="containerRichTabPanel"
activeItem="containerItem3" switchType="client">
- <rich:tab id="containerItem1" name="containerItem1"
header="Item 1">
+ <rich:tab id="containerItem1" name="containerItem1"
header="Item 1">
content of item 1
</rich:tab>
- <rich:tab id="containerItem2" name="containerItem2"
header="Item 2">
+ <rich:tab id="containerItem2" name="containerItem2"
header="Item 2">
content of item 2
</rich:tab>
- <rich:tab id="containerItem3" name="containerItem3"
header="Item 3">
- <ui:decorate template="#{templateBean.nextTemplate}.xhtml"
/>
- </rich:tab>
- <rich:tab id="containerItem4" name="containerItem4"
header="Item 4" disabled="true">
+ <rich:tab id="containerItem3" name="containerItem3"
header="Item 3">
+ <ui:decorate template="#{templateBean.nextTemplate}.xhtml"
/>
+ </rich:tab>
+ <rich:tab id="containerItem4" name="containerItem4"
header="Item 4" disabled="true">
content of item 4
</rich:tab>
- <rich:tab id="containerItem5" name="containerItem5"
header="Item 5">
+ <rich:tab id="containerItem5" name="containerItem5"
header="Item 5">
content of item 5
</rich:tab>
- </rich:tabPanel>
+ </rich:tabPanel>
- </ui:composition>
+</ui:composition>
</html>
\ No newline at end of file
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/templates/richTogglePanel.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/templates/richTogglePanel.xhtml 2011-08-10
13:11:47 UTC (rev 22614)
+++
modules/tests/metamer/trunk/application/src/main/webapp/templates/richTogglePanel.xhtml 2011-08-10
13:14:10 UTC (rev 22615)
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
-
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:rich="http://richfaces.org/rich">
+
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:rich="http://richfaces.org/rich">
- <!--
+<!--
JBoss, Home of Professional Open Source
Copyright 2010-2011, Red Hat, Inc. and individual contributors
by the @authors tag. See the copyright.txt in the distribution for a
@@ -25,47 +25,48 @@
02110-1301 USA, or see the FSF site:
http://www.fsf.org.
-->
- <ui:composition>
- <h:commandLink id="tcLink1" value="Item 1">
- <rich:toggleControl targetPanel="containerRichTogglePanel"
targetItem="containerItem1" />
- </h:commandLink>
- <h:outputText value=" | " />
- <h:commandLink id="tcLink2" value="Item 2">
- <rich:toggleControl targetPanel="containerRichTogglePanel"
targetItem="containerItem2" />
- </h:commandLink>
- <h:outputText value=" | " />
- <h:commandLink id="tcLink3" value="Item 3">
- <rich:toggleControl targetPanel="containerRichTogglePanel"
targetItem="containerItem3" />
- </h:commandLink>
- <h:outputText value=" | " />
- <h:commandLink id="tcLink4" value="Item 4">
- <rich:toggleControl targetPanel="containerRichTogglePanel"
targetItem="containerItem4" />
- </h:commandLink>
- <h:outputText value=" | " />
- <h:commandLink id="tcLink5" value="Item 5">
- <rich:toggleControl targetPanel="containerRichTogglePanel"
targetItem="containerItem5" />
- </h:commandLink>
- <br/><br/>
-
- <rich:togglePanel id="containerRichTogglePanel"
activeItem="containerItem3">
+<ui:composition>
+ <h:commandLink id="tcLink1" value="Item 1">
+ <rich:toggleControl targetPanel="containerRichTogglePanel"
targetItem="containerItem1" />
+ </h:commandLink>
+ <h:outputText value=" | " />
+ <h:commandLink id="tcLink2" value="Item 2">
+ <rich:toggleControl targetPanel="containerRichTogglePanel"
targetItem="containerItem2" />
+ </h:commandLink>
+ <h:outputText value=" | " />
+ <h:commandLink id="tcLink3" value="Item 3">
+ <rich:toggleControl targetPanel="containerRichTogglePanel"
targetItem="containerItem3" />
+ </h:commandLink>
+ <h:outputText value=" | " />
+ <h:commandLink id="tcLink4" value="Item 4">
+ <rich:toggleControl targetPanel="containerRichTogglePanel"
targetItem="containerItem4" />
+ </h:commandLink>
+ <h:outputText value=" | " />
+ <h:commandLink id="tcLink5" value="Item 5">
+ <rich:toggleControl targetPanel="containerRichTogglePanel"
targetItem="containerItem5" />
+ </h:commandLink>
+ <br />
+ <br />
- <rich:togglePanelItem id="containerItem1"
name="containerItem1">
+ <rich:togglePanel id="containerRichTogglePanel"
activeItem="containerItem3" switchType="client">
+
+ <rich:togglePanelItem id="containerItem1"
name="containerItem1">
content of item 1
</rich:togglePanelItem>
- <rich:togglePanelItem id="containerItem2"
name="containerItem2">
+ <rich:togglePanelItem id="containerItem2"
name="containerItem2">
content of item 2
</rich:togglePanelItem>
- <rich:togglePanelItem id="containerItem3"
name="containerItem3">
- <ui:decorate template="#{templateBean.nextTemplate}.xhtml"
/>
- </rich:togglePanelItem>
- <rich:togglePanelItem id="containerItem4"
name="containerItem4">
+ <rich:togglePanelItem id="containerItem3"
name="containerItem3">
+ <ui:decorate template="#{templateBean.nextTemplate}.xhtml"
/>
+ </rich:togglePanelItem>
+ <rich:togglePanelItem id="containerItem4"
name="containerItem4">
content of item 4
</rich:togglePanelItem>
- <rich:togglePanelItem id="containerItem5"
name="containerItem5">
+ <rich:togglePanelItem id="containerItem5"
name="containerItem5">
content of item 5
</rich:togglePanelItem>
- </rich:togglePanel>
+ </rich:togglePanel>
- </ui:composition>
+</ui:composition>
</html>
\ No newline at end of file