Author: jjamrich
Date: 2012-01-24 05:53:16 -0500 (Tue, 24 Jan 2012)
New Revision: 23182
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richContextMenu/components.xhtml
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richContextMenu/TestRichContextMenu.java
Log:
Fix @style for different component testing for rich:contextMenu
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richContextMenu/components.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richContextMenu/components.xhtml 2012-01-24
10:53:00 UTC (rev 23181)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richContextMenu/components.xhtml 2012-01-24
10:53:16 UTC (rev 23182)
@@ -112,7 +112,7 @@
rendered="#{richContextMenuBean.attributes['rendered'].value}"
showDelay="#{richContextMenuBean.attributes['showDelay'].value}"
showEvent="#{richContextMenuBean.attributes['showEvent'].value}"
-
style="#{richContextMenuBean.attributes['showEvent'].value}"
+
style="#{richContextMenuBean.attributes['style'].value}"
styleClass="#{richContextMenuBean.attributes['styleClass'].value}"
title="#{richContextMenuBean.attributes['title'].value}"
verticalOffset="#{richContextMenuBean.attributes['verticalOffset'].value}"
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richContextMenu/TestRichContextMenu.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richContextMenu/TestRichContextMenu.java 2012-01-24
10:53:00 UTC (rev 23181)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richContextMenu/TestRichContextMenu.java 2012-01-24
10:53:16 UTC (rev 23182)
@@ -114,7 +114,7 @@
@Test
public void testAttachTo() {
- contextMenuAttributes.set(attachTo, "form:" + menuElemId);
+ // since @attachTo is set to nestedComponentId, just check if menu displayed
correctly
// contextMenu element is present always. Check if is displayed
assertFalse(selenium.isVisible(contextMenuContent));
Show replies by date