Author: ppitonak(a)redhat.com
Date: 2011-08-12 09:59:42 -0400 (Fri, 12 Aug 2011)
New Revision: 22629
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/templates/richTogglePanel.xhtml
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java
Log:
template with rich:togglePanel fixed
test for collapsible panel fixed
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-12
12:20:35 UTC (rev 22628)
+++
modules/tests/metamer/trunk/application/src/main/webapp/templates/richTogglePanel.xhtml 2011-08-12
13:59:42 UTC (rev 22629)
@@ -26,23 +26,23 @@
-->
<ui:composition>
- <h:commandLink id="tcLink1" value="Item 1">
+ <h:commandLink id="containerTcLink1" value="Item 1">
<rich:toggleControl targetPanel="containerRichTogglePanel"
targetItem="containerItem1" />
</h:commandLink>
<h:outputText value=" | " />
- <h:commandLink id="tcLink2" value="Item 2">
+ <h:commandLink id="containerTcLink2" value="Item 2">
<rich:toggleControl targetPanel="containerRichTogglePanel"
targetItem="containerItem2" />
</h:commandLink>
<h:outputText value=" | " />
- <h:commandLink id="tcLink3" value="Item 3">
+ <h:commandLink id="containerTcLink3" value="Item 3">
<rich:toggleControl targetPanel="containerRichTogglePanel"
targetItem="containerItem3" />
</h:commandLink>
<h:outputText value=" | " />
- <h:commandLink id="tcLink4" value="Item 4">
+ <h:commandLink id="containerTcLink4" value="Item 4">
<rich:toggleControl targetPanel="containerRichTogglePanel"
targetItem="containerItem4" />
</h:commandLink>
<h:outputText value=" | " />
- <h:commandLink id="tcLink5" value="Item 5">
+ <h:commandLink id="containerTcLink5" value="Item 5">
<rich:toggleControl targetPanel="containerRichTogglePanel"
targetItem="containerItem5" />
</h:commandLink>
<br />
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java 2011-08-12
12:20:35 UTC (rev 22628)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java 2011-08-12
13:59:42 UTC (rev 22629)
@@ -58,7 +58,7 @@
private JQueryLocator headerExp = pjq("div[id$=collapsiblePanel:header]
div.rf-cp-lbl-exp");
private JQueryLocator headerColps = pjq("div[id$=collapsiblePanel:header]
div.rf-cp-lbl-colps");
private JQueryLocator content = pjq("div[id$=collapsiblePanel:content]");
- private JQueryLocator leftIcon = pjq("td.rf-cp-ico");
+ private JQueryLocator leftIcon = pjq("div[id$=collapsiblePanel]
td.rf-cp-ico");
private JQueryLocator rightIcon = pjq("td.rf-cp-exp-ico");
@Override