[richfaces-svn-commits] JBoss Rich Faces SVN: r14281 - branches/community/3.3.X/test-applications/regressionArea/regressionArea-web/src/main/webapp/pages.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Fri May 22 09:54:09 EDT 2009


Author: mvitenkov
Date: 2009-05-22 09:54:09 -0400 (Fri, 22 May 2009)
New Revision: 14281

Added:
   branches/community/3.3.X/test-applications/regressionArea/regressionArea-web/src/main/webapp/pages/rf7172.xhtml
Log:
RF-7172 test page.

Added: branches/community/3.3.X/test-applications/regressionArea/regressionArea-web/src/main/webapp/pages/rf7172.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/regressionArea/regressionArea-web/src/main/webapp/pages/rf7172.xhtml	                        (rev 0)
+++ branches/community/3.3.X/test-applications/regressionArea/regressionArea-web/src/main/webapp/pages/rf7172.xhtml	2009-05-22 13:54:09 UTC (rev 14281)
@@ -0,0 +1,28 @@
+<!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:ui="http://java.sun.com/jsf/facelets"
+	xmlns:h="http://java.sun.com/jsf/html"
+	xmlns:f="http://java.sun.com/jsf/core"
+	xmlns:a4j="http://richfaces.org/a4j"
+	xmlns:rich="http://richfaces.org/rich">
+
+<ui:composition template="/layout/layout.xhtml">
+	<ui:define name="template">
+		<h:form id="form">
+		<h:outputLink value="#" id="clickID">
+        click
+        <rich:componentControl event="onclick" for="contextMenu" operation="show">
+            <f:param name="testParam" value="testValue"/>
+        </rich:componentControl>
+    </h:outputLink>
+
+    <rich:contextMenu id="contextMenu" attached="false">
+        <rich:menuItem onselect="alert('{testParam}');" id="menuItem">
+            Test
+            <f:param name="testParam" value="{testParam}"/>
+        </rich:menuItem>
+    </rich:contextMenu>
+		</h:form>
+	</ui:define>
+</ui:composition>
+</html>
\ No newline at end of file




More information about the richfaces-svn-commits mailing list