Author: dbiatenia
Date: 2007-06-01 08:05:57 -0400 (Fri, 01 Jun 2007)
New Revision: 972
Modified:
trunk/sandbox-samples/panelmenu-sample/src/main/webapp/pages/index.jsp
Log:
Modified: trunk/sandbox-samples/panelmenu-sample/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/sandbox-samples/panelmenu-sample/src/main/webapp/pages/index.jsp 2007-06-01
11:44:36 UTC (rev 971)
+++ trunk/sandbox-samples/panelmenu-sample/src/main/webapp/pages/index.jsp 2007-06-01
12:05:57 UTC (rev 972)
@@ -1,11 +1,32 @@
<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib
uri="http://richfaces.ajax4jsf.org/panelmenu"
prefix="pm" %>
<html>
<head>
<title></title>
</head>
<body>
<f:view>
+ <pm:panelMenu iconItemTopPosition="left"
iconItemPosition="left">
+ <pm:panelMenuGroup label="Group 1" iconExpanded="disc"
iconCollapsed="disc">
+ <pm:panelMenuItem value="Item 1" icon="chevronUp">
+ </pm:panelMenuItem>
+ <pm:panelMenuItem value="Item 2" />
+ <pm:panelMenuGroup label="Group 2" iconCollapsed="chevron"
>
+ <pm:panelMenuItem icon="triangleDown">
+ <h:outputText value="Item 3" />
+ </pm:panelMenuItem>
+ </pm:panelMenuGroup>
+ </pm:panelMenuGroup>
+ <pm:panelMenuGroup label="Group 3" iconExpanded=""
iconCollapsed="">
+ <pm:panelMenuItem value="Item 4">
+ </pm:panelMenuItem>
+ </pm:panelMenuGroup>
+ <pm:panelMenuGroup label="Group 4"
iconExpanded="triangleDown" iconCollapsed="triangle"
expanded="true">
+ <pm:panelMenuItem value="Item 5" disabled="true"/>
+ <pm:panelMenuItem value="Item 6"/>
+ </pm:panelMenuGroup>
+ </pm:panelMenu>
</f:view>
</body>