Author: ishabalov
Date: 2007-06-27 14:09:43 -0400 (Wed, 27 Jun 2007)
New Revision: 1351
Modified:
tags/3_0_1/richfaces-samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/source/usage.html
tags/3_0_1/richfaces-samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/source/usage.xhtml
Log:
Merge for doropdown menu samples from trunk
Modified:
tags/3_0_1/richfaces-samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/source/usage.html
===================================================================
---
tags/3_0_1/richfaces-samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/source/usage.html 2007-06-27
16:34:54 UTC (rev 1350)
+++
tags/3_0_1/richfaces-samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/source/usage.html 2007-06-27
18:09:43 UTC (rev 1351)
@@ -1 +1,107 @@
-source code here
\ No newline at end of file
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
+ "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type"
+content="text/html; charset=iso-8859-1">
+<meta name="GENERATOR" content="GNU source-highlight 2.1.2
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite">
+<title>usage.xhtml</title>
+<link rel="stylesheet" href="../../../css/xhtml-source.css"
type="text/css">
+</head>
+<body>
+<pre><tt><span
class="keyword"><div</span><span class="normal">
</span><span class="type">class</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">sample-container</span><span
class="string">"</span><span
class="keyword">></span>
+<span class="normal"> </span><span
class="keyword"><h:form></span>
+
+<span class="normal"> </span><span
class="keyword"><rich:toolBar></span>
+<span class="normal"> </span><span
class="keyword"><rich:dropDownMenu</span><span
class="normal"> </span><span
class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">File</span><span
class="string">"</span><span
class="keyword">></span>
+<span class="normal"> </span>
+<span class="normal"> </span><span
class="keyword"><rich:menuItem</span><span
class="normal"> </span><span
class="type">submitMode</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">ajax</span><span
class="string">"</span><span class="normal">
</span><span class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">New</span><span
class="string">"</span><span class="normal">
</span><span class="type">action</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">#{ddmenu.doNew}</span><span
class="string">"</span><span
class="keyword">></span>
+<span class="normal"> </span><span
class="keyword"></rich:menuItem></span>
+<span class="normal"> </span><span
class="keyword"><rich:menuItem</span><span
class="normal"> </span><span
class="type">submitMode</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">ajax</span><span
class="string">"</span><span class="normal">
</span><span class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">Open</span><span
class="string">"</span><span class="normal">
</span><span class="type">action</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">#{ddmenu.doOpen}</span><span
class="string">"</span><span
class="keyword">/></span>
+<span class="normal"> </span><span
class="keyword"><rich:menuGroup</span><span
class="normal"> </span><span
class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span class="string">Save
As...</span><span class="string">"</span><span
class="keyword">></span>
+<span class="normal"> </span><span
class="keyword"><rich:menuItem</span><span
class="normal"> </span><span
class="type">submitMode</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">ajax</span><span
class="string">"</span><span class="normal">
</span><span class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span class="string">Text
File</span><span class="string">"</span><span
class="normal"> </span><span
class="type">action</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">#{ddmenu.doSaveText}</span><span
class="string">"</span><span
class="keyword">/></span>
+<span class="normal"> </span><span
class="keyword"><rich:menuItem</span><span
class="normal"> </span><span
class="type">submitMode</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">ajax</span><span
class="string">"</span><span class="normal">
</span><span class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span class="string">PDF
File</span><span class="string">"</span><span
class="normal"> </span><span
class="type">action</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">#{ddmenu.doPDF}</span><span
class="string">"</span><span
class="keyword">/></span>
+<span class="normal"> </span><span
class="keyword"></rich:menuGroup></span>
+<span class="normal"> </span><span
class="keyword"><rich:menuItem</span><span
class="normal"> </span><span
class="type">submitMode</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">ajax</span><span
class="string">"</span><span class="normal">
</span><span class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">Close</span><span
class="string">"</span><span class="normal">
</span><span class="type">action</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">#{ddmenu.doClose}</span><span
class="string">"</span><span
class="keyword">/></span>
+<span class="normal"> </span><span
class="keyword"><rich:menuSeparator</span><span
class="normal"> </span><span
class="type">id</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">menuSeparator11</span><span
class="string">"</span><span
class="keyword">/></span>
+<span class="normal"> </span><span
class="keyword"><rich:menuItem</span><span
class="normal"> </span><span
class="type">submitMode</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">ajax</span><span
class="string">"</span><span class="normal">
</span><span class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">Exit</span><span
class="string">"</span><span class="normal">
</span><span class="type">action</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">#{ddmenu.doExit}</span><span
class="string">"</span><span
class="keyword">/></span>
+<span class="normal"> </span>
+<span class="normal"> </span><span
class="keyword"></rich:dropDownMenu></span>
+<span class="normal"> </span>
+<span class="normal"> </span><span
class="keyword"><rich:dropDownMenu></span>
+
+<span class="normal"> </span><span
class="keyword"><f:facet</span><span
class="normal"> </span><span
class="type">name</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">label</span><span
class="string">"</span><span
class="keyword">></span>
+<span class="normal"> </span><span
class="keyword"><h:panelGrid</span><span
class="normal"> </span><span
class="type">cellpadding</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">0</span><span
class="string">"</span><span class="normal">
</span><span class="type">cellspacing</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">0</span><span
class="string">"</span><span class="normal">
</span><span class="type">columns</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">2</span><span
class="string">"</span><span class="normal">
</span><span class="type">style</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">vertical-align:middle</span><span
class="string">"</span><span
class="keyword">></span>
+<span class="normal"> </span><span
class="keyword"><h:graphicImage</span><span
class="normal"> </span><span
class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">/richfaces/toolBar/images/yellow_lamp.gif</span><span
class="string">"</span><span
class="keyword">/></span>
+<span class="normal"> </span><span
class="keyword"><h:outputText</span><span
class="normal"> </span><span
class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">Links</span><span
class="string">"</span><span class="normal">
</span><span class="keyword">/></span>
+<span class="normal"> </span><span
class="keyword"></h:panelGrid></span>
+<span class="normal"> </span><span
class="keyword"></f:facet></span>
+
+<span class="normal"> </span><span
class="keyword"><rich:menuItem</span><span
class="normal"> </span><span
class="type">submitMode</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">none</span><span
class="string">"</span><span class="normal">
</span><span class="type">onclick</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">document.location.href='http://labs.jboss...
class="string">"</span><span
class="keyword">></span>
+<span class="normal"> </span><span
class="keyword"><f:facet</span><span
class="normal"> </span><span
class="type">name</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">icon</span><span
class="string">"</span><span
class="keyword">></span>
+<span class="normal"> </span><span
class="keyword"><h:graphicImage</span><span
class="normal"> </span><span
class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">/richfaces/toolBar/images/webapp_welcome.gif</span><span
class="string">"</span><span class="normal">
</span><span class="keyword">/></span>
+<span class="normal"> </span><span
class="keyword"></f:facet></span>
+<span class="normal"> </span><span
class="keyword"><h:outputLink</span><span
class="normal"> </span><span
class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">http://labs.jboss.com/jbossrichfaces/</spa...
class="string">"</span><span
class="keyword">></span>
+<span class="normal"> </span><span
class="keyword"><h:outputText</span><span
class="normal"> </span><span
class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">RichFaces Home Page</span><span
class="string">"</span><span
class="keyword">></span><span
class="keyword"></h:outputText></span>
+<span class="normal"> </span><span
class="keyword"></h:outputLink></span>
+<span class="normal"> </span><span
class="keyword"></rich:menuItem></span>
+
+<span class="normal"> </span><span
class="keyword"><rich:menuItem</span><span
class="normal"> </span><span
class="type">submitMode</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">none</span><span
class="string">"</span><span class="normal">
</span><span class="type">onclick</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">document.location.href='http://jboss.com/...
class="string">"</span><span
class="keyword">></span>
+<span class="normal"> </span><span
class="keyword"><f:facet</span><span
class="normal"> </span><span
class="type">name</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">icon</span><span
class="string">"</span><span
class="keyword">></span>
+<span class="normal"> </span><span
class="keyword"><h:graphicImage</span><span
class="normal"> </span><span
class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">/richfaces/toolBar/images/timer_task.gif</span><span
class="string">"</span><span class="normal">
</span><span class="keyword">/></span>
+<span class="normal"> </span><span
class="keyword"></f:facet></span>
+<span class="normal"> </span><span
class="keyword"><h:outputLink</span><span
class="normal"> </span><span
class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">http://jboss.com/index.html?module=bb&...
class="string">"</span><span
class="keyword">></span>
+<span class="normal"> </span><span
class="keyword"><h:outputText</span><span
class="normal"> </span><span
class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">RichFaces Forum</span><span
class="string">"</span><span
class="keyword">></span><span
class="keyword"></h:outputText></span>
+<span class="normal"> </span><span
class="keyword"></h:outputLink></span>
+<span class="normal"> </span><span
class="keyword"></rich:menuItem></span>
+
+<span class="normal"> </span><span
class="keyword"></rich:dropDownMenu></span>
+<span class="normal"> </span><span
class="keyword"></rich:toolBar></span>
+<span class="normal"> </span><span
class="keyword"></h:form></span><span
class="normal"> </span>
+<span class="normal"> </span><span
class="keyword"><a4j:outputPanel</span><span
class="normal"> </span><span
class="type">ajaxRendered</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">true</span><span
class="string">"</span><span
class="keyword">></span>
+<span class="normal"> </span><span
class="keyword"><h:outputText</span><span
class="normal"> </span><span
class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">Current Selection: </span><span
class="string">"</span><span
class="keyword">></span><span
class="keyword"></h:outputText></span>
+<span class="normal"> </span><span
class="keyword"><h:outputText</span><span
class="normal"> </span><span
class="type">style</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">font-weight:bold</span><span
class="string">"</span><span class="normal">
</span><span class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">#{ddmenu.current}</span><span
class="string">"</span><span
class="keyword">></span><span
class="keyword"></h:outputText></span>
+<span class="normal"> </span><span
class="keyword"></a4j:outputPanel></span>
+<span class="keyword"></div></span><span
class="normal"> </span>
+<span class="normal">...</span>
+<span class="normal">...</span>
+<span class="keyword"><div</span><span
class="normal"> </span><span
class="type">class</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">sample-container</span><span
class="string">"</span><span
class="keyword">></span>
+<span class="normal"> </span><span
class="keyword"><h:form></span>
+
+<span class="normal"> </span><span
class="keyword"><h:panelGrid</span><span
class="normal"> </span><span
class="type">class</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">vertical-menu-cell</span><span
class="string">"</span><span class="normal">
</span><span class="type">columns</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">1</span><span
class="string">"</span><span class="normal">
</span><span class="type">cellspacing</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">0</span><span
class="string">"</span><span class="normal">
</span><span class="type">cellpadding</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">0</span><span
class="string">"</span><span
class="keyword">></span>
+<span class="normal"> </span><span
class="keyword"><rich:dropDownMenu</span><span
class="normal"> </span><span
class="type">style</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">border:1px solid
#{a4jSkin.panelBorderColor}</span><span
class="string">"</span><span class="normal">
</span><span class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">Option1</span><span
class="string">"</span><span class="normal">
</span><span class="type">direction</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">bottom-right</span><span
class="string">"</span><span class="normal">
</span><span class="type">jointPoint</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">tr</span><span
class="string">"</span><span
class="keyword">></span>
+<span class="normal"> </span><span
class="keyword"><rich:menuItem</span><span
class="normal"> </span><span
class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">Suboption1-1</span><span
class="string">"</span><span class="normal">
</span><span class="keyword">/></span>
+<span class="normal"> </span><span
class="keyword"><rich:menuItem</span><span
class="normal"> </span><span
class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">Suboption1-2</span><span
class="string">"</span><span
class="keyword">></span>
+<span class="normal"> </span><span
class="keyword"><f:facet</span><span
class="normal"> </span><span
class="type">name</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">icon</span><span
class="string">"</span><span
class="keyword">></span>
+<span class="normal"> </span><span
class="keyword"><h:graphicImage</span><span
class="normal"> </span><span
class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">/richfaces/toolBar/images/print.gif</span><span
class="string">"</span><span class="normal">
</span><span class="keyword">/></span>
+<span class="normal"> </span><span
class="keyword"></f:facet></span>
+<span class="normal"> </span>
+<span class="normal"> </span><span
class="keyword"></rich:menuItem></span>
+<span class="normal"> </span><span
class="keyword"><rich:menuItem</span><span
class="normal"> </span><span
class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">Suboption1-3</span><span
class="string">"</span><span class="normal">
</span><span class="keyword">/></span>
+<span class="normal"> </span><span
class="keyword"></rich:dropDownMenu></span>
+<span class="normal"> </span><span
class="keyword"><rich:dropDownMenu</span><span
class="normal"> </span><span
class="type">style</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">border:1px solid
#{a4jSkin.panelBorderColor}</span><span
class="string">"</span><span class="normal">
</span><span class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">Option2</span><span
class="string">"</span><span class="normal">
</span><span class="type">direction</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">bottom-right</span><span
class="string">"</span><span class="normal">
</span><span class="type">jointPoint</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">tr</span><span
class="string">"</span><span
class="keyword">></span>
+<span class="normal"> </span><span
class="keyword"><rich:menuItem</span><span
class="normal"> </span><span
class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">Suboption2-1</span><span
class="string">"</span><span class="normal">
</span><span class="keyword">/></span>
+<span class="normal"> </span><span
class="keyword"><rich:menuItem</span><span
class="normal"> </span><span
class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">Suboption2-2</span><span
class="string">"</span><span class="normal">
</span><span class="keyword">/></span>
+<span class="normal"> </span><span
class="keyword"><rich:menuGroup</span><span
class="normal"> </span><span
class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">Group2</span><span
class="string">"</span><span class="normal">
</span><span class="type">direction</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">#{bean.groupDirection}</span><span
class="string">"</span><span
class="keyword">></span>
+<span class="normal"> </span><span
class="keyword"><rich:menuItem</span><span
class="normal"> </span><span
class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">SuboptionG2-2-1</span><span
class="string">"</span><span class="normal">
</span><span class="keyword">/></span>
+<span class="normal"> </span><span
class="keyword"><rich:menuItem</span><span
class="normal"> </span><span
class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">SuboptionG2-2-2</span><span
class="string">"</span><span class="normal">
</span><span class="keyword">/></span>
+<span class="normal"> </span><span
class="keyword"></rich:menuGroup></span>
+<span class="normal"> </span>
+<span class="normal"> </span><span
class="keyword"><rich:menuItem</span><span
class="normal"> </span><span
class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">Suboption2-3</span><span
class="string">"</span><span class="normal">
</span><span class="keyword">/></span>
+<span class="normal"> </span><span
class="keyword"></rich:dropDownMenu></span>
+<span class="normal"> </span><span
class="keyword"><rich:dropDownMenu</span><span
class="normal"> </span><span
class="type">style</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">border:1px solid
#{a4jSkin.panelBorderColor}</span><span
class="string">"</span><span class="normal">
</span><span class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">Option3</span><span
class="string">"</span><span class="normal">
</span><span class="type">direction</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">bottom-right</span><span
class="string">"</span><span class="normal">
</span><span class="type">jointPoint</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">tr</span><span
class="string">"</span><span
class="keyword">></span>
+<span class="normal"> </span><span
class="keyword"><rich:menuItem</span><span
class="normal"> </span><span
class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">Suboption3-1</span><span
class="string">"</span><span class="normal">
</span><span class="keyword">/></span>
+<span class="normal"> </span><span
class="keyword"><rich:menuItem</span><span
class="normal"> </span><span
class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">Suboption3-2</span><span
class="string">"</span><span class="normal">
</span><span class="keyword">/></span>
+<span class="normal"> </span><span
class="keyword"><rich:menuItem</span><span
class="normal"> </span><span
class="type">value</span><span
class="symbol">=</span><span
class="string">"</span><span
class="string">Suboption3-3</span><span
class="string">"</span><span class="normal">
</span><span class="keyword">/></span>
+<span class="normal"> </span><span
class="keyword"></rich:dropDownMenu></span>
+<span class="normal"> </span>
+<span class="normal"> </span><span
class="keyword"></h:panelGrid></span>
+<span class="normal"> </span><span
class="keyword"></h:form></span><span
class="normal"> </span>
+
+<span class="keyword"></div></span>
+</tt></pre>
+</body>
+</html>
Modified:
tags/3_0_1/richfaces-samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/source/usage.xhtml
===================================================================
---
tags/3_0_1/richfaces-samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/source/usage.xhtml 2007-06-27
16:34:54 UTC (rev 1350)
+++
tags/3_0_1/richfaces-samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/source/usage.xhtml 2007-06-27
18:09:43 UTC (rev 1351)
@@ -1 +1,90 @@
-source code here
\ No newline at end of file
+<div class="sample-container">
+ <h:form>
+
+ <rich:toolBar>
+ <rich:dropDownMenu value="File">
+
+ <rich:menuItem submitMode="ajax" value="New"
action="#{ddmenu.doNew}">
+ </rich:menuItem>
+ <rich:menuItem submitMode="ajax" value="Open"
action="#{ddmenu.doOpen}"/>
+ <rich:menuGroup value="Save As...">
+ <rich:menuItem submitMode="ajax" value="Text File"
action="#{ddmenu.doSaveText}"/>
+ <rich:menuItem submitMode="ajax" value="PDF File"
action="#{ddmenu.doPDF}"/>
+ </rich:menuGroup>
+ <rich:menuItem submitMode="ajax" value="Close"
action="#{ddmenu.doClose}"/>
+ <rich:menuSeparator id="menuSeparator11"/>
+ <rich:menuItem submitMode="ajax" value="Exit"
action="#{ddmenu.doExit}"/>
+
+ </rich:dropDownMenu>
+
+ <rich:dropDownMenu>
+
+ <f:facet name="label">
+ <h:panelGrid cellpadding="0" cellspacing="0"
columns="2" style="vertical-align:middle">
+ <h:graphicImage
value="/richfaces/toolBar/images/yellow_lamp.gif"/>
+ <h:outputText value="Links" />
+ </h:panelGrid>
+ </f:facet>
+
+ <rich:menuItem submitMode="none"
onclick="document.location.href='http://labs.jboss.com/jbossrich...
+ <f:facet name="icon">
+ <h:graphicImage value="/richfaces/toolBar/images/webapp_welcome.gif"
/>
+ </f:facet>
+ <h:outputLink
value="http://labs.jboss.com/jbossrichfaces/">
+ <h:outputText value="RichFaces Home Page"></h:outputText>
+ </h:outputLink>
+ </rich:menuItem>
+
+ <rich:menuItem submitMode="none"
onclick="document.location.href='http://jboss.com/index.html?mod...
+ <f:facet name="icon">
+ <h:graphicImage value="/richfaces/toolBar/images/timer_task.gif"
/>
+ </f:facet>
+ <h:outputLink
value="http://jboss.com/index.html?module=bb&op=viewforum&am...
+ <h:outputText value="RichFaces Forum"></h:outputText>
+ </h:outputLink>
+ </rich:menuItem>
+
+ </rich:dropDownMenu>
+ </rich:toolBar>
+ </h:form>
+ <a4j:outputPanel ajaxRendered="true">
+ <h:outputText value="Current Selection: "></h:outputText>
+ <h:outputText style="font-weight:bold"
value="#{ddmenu.current}"></h:outputText>
+ </a4j:outputPanel>
+</div>
+...
+...
+<div class="sample-container">
+ <h:form>
+
+ <h:panelGrid class="vertical-menu-cell" columns="1"
cellspacing="0" cellpadding="0">
+ <rich:dropDownMenu style="border:1px solid #{a4jSkin.panelBorderColor}"
value="Option1" direction="bottom-right"
jointPoint="tr">
+ <rich:menuItem value="Suboption1-1" />
+ <rich:menuItem value="Suboption1-2">
+ <f:facet name="icon">
+ <h:graphicImage value="/richfaces/toolBar/images/print.gif" />
+ </f:facet>
+
+ </rich:menuItem>
+ <rich:menuItem value="Suboption1-3" />
+ </rich:dropDownMenu>
+ <rich:dropDownMenu style="border:1px solid #{a4jSkin.panelBorderColor}"
value="Option2" direction="bottom-right"
jointPoint="tr">
+ <rich:menuItem value="Suboption2-1" />
+ <rich:menuItem value="Suboption2-2" />
+ <rich:menuGroup value="Group2"
direction="#{bean.groupDirection}">
+ <rich:menuItem value="SuboptionG2-2-1" />
+ <rich:menuItem value="SuboptionG2-2-2" />
+ </rich:menuGroup>
+
+ <rich:menuItem value="Suboption2-3" />
+ </rich:dropDownMenu>
+ <rich:dropDownMenu style="border:1px solid #{a4jSkin.panelBorderColor}"
value="Option3" direction="bottom-right"
jointPoint="tr">
+ <rich:menuItem value="Suboption3-1" />
+ <rich:menuItem value="Suboption3-2" />
+ <rich:menuItem value="Suboption3-3" />
+ </rich:dropDownMenu>
+
+ </h:panelGrid>
+ </h:form>
+
+</div>