Author: abelevich
Date: 2009-03-19 14:16:07 -0400 (Thu, 19 Mar 2009)
New Revision: 13035
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/contextMenu/contextMenuAutoTest.xhtml
Log:
move ajax attributes to the menu item
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/contextMenu/contextMenuAutoTest.xhtml
===================================================================
---
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/contextMenu/contextMenuAutoTest.xhtml 2009-03-19
18:12:02 UTC (rev 13034)
+++
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/contextMenu/contextMenuAutoTest.xhtml 2009-03-19
18:16:07 UTC (rev 13035)
@@ -9,20 +9,21 @@
<ui:composition template="#{templateBean.autoTestTemplate}">
<ui:define name="component">
<rich:contextMenu id="componentId"
- immediate="#{autoTestBean.immediate}"
- ajaxSingle="#{autoTestBean.ajaxSingle}"
- reRender="#{autoTestBean.reRender}"
- limitToList="#{autoTestBean.limitToList}"
- bypassUpdates="#{autoTestBean.bypassUpdate}"
- actionListener="#{autoTestBean.actionListener}"
rendered="#{autoTestBean.rendered}"
- submitMode="ajax"
- >
+ submitMode="ajax">
<rich:menuItem id="item1"
+ immediate="#{autoTestBean.immediate}"
+ ajaxSingle="#{autoTestBean.ajaxSingle}"
+ reRender="#{autoTestBean.reRender}"
+ limitToList="#{autoTestBean.limitToList}"
+ bypassUpdates="#{autoTestBean.bypassUpdate}"
+ actionListener="#{autoTestBean.actionListener}"
value="Item1"
- oncomplete="#{autoTestBean.oncomplete}" />
- <f:param name="parameter1" value="value1" />
- <f:param name="parameter2" value="value2" />
+ oncomplete="#{autoTestBean.oncomplete}">
+ <f:param name="parameter1" value="value1" />
+ <f:param name="parameter2" value="value2" />
+ </rich:menuItem>
+
</rich:contextMenu>
<a href="#" id="showMenu" onclick="$(getParentId() +
'autoTestForm:componentId').component.show(event)">Show</a>
<a href="#" onclick="$(getParentId() +
'autoTestForm:componentId').component.hide()">Hide</a>