Author: Alex.Kolonitsky
Date: 2009-07-22 10:20:43 -0400 (Wed, 22 Jul 2009)
New Revision: 14976
Added:
branches/community/3.3.X/samples/panelmenu-sample/src/main/webapp/pages/RF-7541.jsp
Log:
panelMenu: icons redefinition not works.
https://jira.jboss.org/jira/browse/RF-7541
Added:
branches/community/3.3.X/samples/panelmenu-sample/src/main/webapp/pages/RF-7541.jsp
===================================================================
--- branches/community/3.3.X/samples/panelmenu-sample/src/main/webapp/pages/RF-7541.jsp
(rev 0)
+++
branches/community/3.3.X/samples/panelmenu-sample/src/main/webapp/pages/RF-7541.jsp 2009-07-22
14:20:43 UTC (rev 14976)
@@ -0,0 +1,39 @@
+<%@ 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
+ iconCollapsedTopGroup="chevronUp"
+
iconExpandedTopGroup="#{facesContext.externalContext.requestContextPath}/images/capitals/alaska.gif"
+
iconExpandedGroup="#{facesContext.externalContext.requestContextPath}/images/capitals/alaska.gif"
+
iconTopItem="#{facesContext.externalContext.requestContextPath}/images/capitals/arzona.gif"
+
iconItem="#{facesContext.externalContext.requestContextPath}/images/capitals/colorado.gif">
+
+ <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" />
+ <pm:panelMenuGroup
+ label="Group 1(expanded=true)"
+ expanded="true"
+ id="pmg"
+ iconExpanded="">
+
+ <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>
\ No newline at end of file