Author: lfryc(a)redhat.com
Date: 2011-02-18 05:28:20 -0500 (Fri, 18 Feb 2011)
New Revision: 21752
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richPanelMenuGroup/simple.xhtml
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richPanelMenuGroup/TestPanelMenuGroupClientSideHandlers.java
Log:
rich:panelMenuGroup - fixed sample - missing @begin
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richPanelMenuGroup/simple.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richPanelMenuGroup/simple.xhtml 2011-02-18
10:27:25 UTC (rev 21751)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richPanelMenuGroup/simple.xhtml 2011-02-18
10:28:20 UTC (rev 21752)
@@ -78,6 +78,7 @@
onbeforeexpand="#{richPanelMenuGroupBean.attributes['onbeforeexpand'].value}"
onbeforeselect="#{richPanelMenuGroupBean.attributes['onbeforeselect'].value}"
onbeforeswitch="#{richPanelMenuGroupBean.attributes['onbeforeswitch'].value}"
+
onbegin="#{richPanelMenuGroupBean.attributes['onbegin'].value}"
onclick="#{richPanelMenuGroupBean.attributes['onclick'].value}"
oncollapse="#{richPanelMenuGroupBean.attributes['oncollapse'].value}"
oncomplete="#{richPanelMenuGroupBean.attributes['oncomplete'].value}"
@@ -132,6 +133,7 @@
onbeforeexpand="#{richPanelMenuGroupBean.attributes['onbeforeexpand'].value}"
onbeforeselect="#{richPanelMenuGroupBean.attributes['onbeforeselect'].value}"
onbeforeswitch="#{richPanelMenuGroupBean.attributes['onbeforeswitch'].value}"
+
onbegin="#{richPanelMenuGroupBean.attributes['onbegin'].value}"
onclick="#{richPanelMenuGroupBean.attributes['onclick'].value}"
oncollapse="#{richPanelMenuGroupBean.attributes['oncollapse'].value}"
oncomplete="#{richPanelMenuGroupBean.attributes['oncomplete'].value}"
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richPanelMenuGroup/TestPanelMenuGroupClientSideHandlers.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richPanelMenuGroup/TestPanelMenuGroupClientSideHandlers.java 2011-02-18
10:27:25 UTC (rev 21751)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richPanelMenuGroup/TestPanelMenuGroupClientSideHandlers.java 2011-02-18
10:28:20 UTC (rev 21752)
@@ -43,14 +43,16 @@
@Inject
@Use(empty = true)
String event;
- String[] ajaxExpansionEvents = new String[] { "begin",
"beforedomupdate", "beforeexpand", "beforeselect",
- "beforeswitch", "switch", "expand",
"select", "complete" };
- String[] ajaxCollapsionEvents = new String[] { "begin",
"beforedomupdate", "beforecollapse", "beforeswitch",
- "switch", "collapse", "complete" };
- String[] clientExpansionEvents = new String[] { "beforeexpand",
"beforeselect", "beforeswitch", "switch", "expand"
};
- String[] clientCollapsionEvents = new String[] { "beforecollapse",
"beforeswitch", "switch", "collapse" };
- String[] serverExpansionEvents = new String[] { "switch",
"expand" };
- String[] serverCollapsionEvents = new String[] { "switch",
"collapse" };
+ String[] ajaxExpansionEvents = new String[] { "beforeswitch",
"beforeexpand", "beforeselect", "begin",
+ "beforedomupdate", "select", "expand",
"switch", "complete" };
+ String[] ajaxCollapsionEvents = new String[] { "beforeswitch",
"beforecollapse", "beforeselect", "begin",
+ "beforedomupdate", "select", "collapse",
"switch", "complete" };
+ String[] clientExpansionEvents = new String[] { "beforeswitch",
"beforeexpand", "beforeselect", "select",
"expand",
+ "switch" };
+ String[] clientCollapsionEvents = new String[] { "beforeswitch",
"beforecollapse", "beforeselect", "select",
+ "collapse", "switch" };
+ String[] serverExpansionEvents = new String[] { "beforeswitch",
"beforeexpand" };
+ String[] serverCollapsionEvents = new String[] { "beforeswitch",
"beforecollapse" };
@Override
public URL getTestUrl() {
@@ -62,7 +64,7 @@
public void testClientSideCollapsionEvent() {
attributes.setMode(ajax);
menu.setGroupMode(ajax);
-
+
super.testRequestEventsBefore(event);
topGroup.toggle();
super.testRequestEventsAfter(event);