Author: Alex.Kolonitsky
Date: 2009-06-30 08:31:00 -0400 (Tue, 30 Jun 2009)
New Revision: 14753
Added:
branches/community/3.3.X/samples/panelmenu-sample/src/main/webapp/pages/RF-7390.jsp
Log:
https://jira.jboss.org/jira/browse/RF-7390
panelMenu: There are some problems with icons
Added:
branches/community/3.3.X/samples/panelmenu-sample/src/main/webapp/pages/RF-7390.jsp
===================================================================
--- branches/community/3.3.X/samples/panelmenu-sample/src/main/webapp/pages/RF-7390.jsp
(rev 0)
+++
branches/community/3.3.X/samples/panelmenu-sample/src/main/webapp/pages/RF-7390.jsp 2009-06-30
12:31:00 UTC (rev 14753)
@@ -0,0 +1,28 @@
+<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j"%>
+<%@ taglib
uri="http://labs.jboss.com/jbossrichfaces/ui/panelmenu"
prefix="pm"%>
+
+<html>
+<body>
+<f:view>
+ <h:form id="f">
+ <pm:panelMenu>
+ <pm:panelMenuItem label="CheckBox">
+ <h:selectBooleanCheckbox
value="false"></h:selectBooleanCheckbox>
+ </pm:panelMenuItem>
+ <pm:panelMenuItem>
+ <h:outputText value="CheckBox 2"></h:outputText>
+ <h:selectBooleanCheckbox
value="false"></h:selectBooleanCheckbox>
+ </pm:panelMenuItem>
+ <pm:panelMenuItem label="Action"
onmousedown="alert('OnMouseDown');" />
+ <pm:panelMenuGroup label="Group 1(expanded=true)"
expanded="true" id="pmg">
+ <pm:panelMenuItem label="Item 1" disabled="true"
/>
+ <pm:panelMenuItem label="Item 1 (action)"
onmousedown="alert('OnMouseDown');" />
+ <pm:panelMenuItem label="Item 2" />
+ </pm:panelMenuGroup>
+ </pm:panelMenu>
+ </h:form>
+</f:view>
+</body>
+</html>