Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<html xmlns:javaee="http://java.sun.com/xml/ns/javaee">
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <title>contextMenu
         (VDL Documentation)
         
      </title>
      <meta name="keywords" content="$tagname">
      <link rel="stylesheet" type="text/css" href="../css/stylesheet.css" title="Style">
   </head><script>
                function asd()
                {
                parent.document.title="contextMenu (VDL Documentation)";
                }
            </script><body bgcolor="white" onload="asd();"><a name="navbar_top"></a><table border="0" width="100%" cellpadding="1" cellspacing="0">
         <tr>
            <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><a NAME="navbar_top_firstrow"></a><table BORDER="0" CELLPADDING="0" CELLSPACING="3">
                  <tr ALIGN="center" VALIGN="top">
                     <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &nbsp;
                        <a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a>
                        &nbsp;
                        
                     </td>
                     <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &nbsp;
                        <a href="tld-summary.html"><font CLASS="NavBarFont1"><b>Library</b></font></a>
                        &nbsp;
                        
                     </td>
                     <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<font CLASS="NavBarFont1Rev">&nbsp;Tag&nbsp;</font>&nbsp;
                        
                     </td>
                     <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &nbsp;
                        <a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a>
                        &nbsp;
                        
                     </td>
                  </tr>
               </table>
            </td>
            <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em></em></td>
         </tr>
         <tr>
            <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2"></font></td>
            <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
                  &nbsp;
                  <a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a>
                  &nbsp;
                  &nbsp;
                  <a href="contextMenu.html" target="_top"><b>NO FRAMES</b></a>
                  &nbsp;
                  <script></script><noscript><a HREF="../alltags-noframe.html" TARGET=""><b>All Tags</b></a></noscript></font></td>
         </tr>
      </table>
      <hr>
      <h2><font size="-1">rich</font><br>
         Tag
         contextMenu
      </h2>
      <hr><p> The &lt;rich:contextMenu&gt; component is used for creating a hierarchical context menu that are activated on events like
      onmouseover, onclick etc. The component can be applied to any element on the page. </p> @author <a href="http://community.jboss.org/people/bleathem">Brian
      Leathem</a><br><p></p>
      <hr>
      <table border="1" cellpadding="3" cellspacing="0" width="100%">
         <tr bgcolor="#CCCCFF" class="TableHeadingColor">
            <td colspan="2"><font size="+2"><b>Tag Information</b></font></td>
         </tr>
         <tr>
            <td>Component type</td>
            <td>org.richfaces.ContextMenu</td>
         </tr>
         <tr>
            <td>Tag Name</td>
            <td>rich:contextMenu</td>
         </tr>
         <tr>
            <td>Renderer Type</td>
            <td>org.richfaces.ContextMenuRenderer</td>
         </tr>
         <tr>
            <td>Handler Class</td>
            <td><i>None</i></td>
         </tr>
      </table><br><p></p>
      <table border="1" cellpadding="3" cellspacing="0" width="100%">
         <tr bgcolor="#CCCCFF" class="TableHeadingColor">
            <td colspan="5"><font size="+2"><b>Attributes</b></font></td>
         </tr>
         <tr>
            <td><b>Name</b></td>
            <td><b>Required</b></td>
            <td><b>Type</b></td>
            <td><b>Description</b></td>
         </tr>
         <tr valign="top">
            <td>attached</td>
            <td>false</td>
            <td><code>boolean</code></td>
            <td>If the value of the 'attached' attribute is true, the component is attached to the component, specified in the 'target' attribute
               or to the parent component, if 'target' is not defined. Default value is 'true'.
            </td>
         </tr>
         <tr valign="top">
            <td>binding</td>
            <td>false</td>
            <td><code>javax.faces.component.UIComponent</code></td>
            <td>The value binding expression used to wire up this component to a component property of a JavaBean class</td>
         </tr>
         <tr valign="top">
            <td>dir</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left).</td>
         </tr>
         <tr valign="top">
            <td>direction</td>
            <td>false</td>
            <td><code>org.richfaces.component.Positioning</code></td>
            <td><p> Set the direction of the popup. Possible values are:<br /> AA (auto), LT (topLeft), RT (topRight), LB (bottomLeft), RB
               (bottomRight, LA (autoLeft), RA (autoRight), AT (topAuto), AB (bottomAuto) </p> <p> Default value is auto </p>
            </td>
         </tr>
         <tr valign="top">
            <td>disabled</td>
            <td>false</td>
            <td><code>boolean</code></td>
            <td>Disables the menu component, so it will not activate/expand</td>
         </tr>
         <tr valign="top">
            <td>hideDelay</td>
            <td>false</td>
            <td><code>int</code></td>
            <td><p>Delay (in ms) between losing focus and menu closing</p> <p>Default value is "300"</p></td>
         </tr>
         <tr valign="top">
            <td>horizontalOffset</td>
            <td>false</td>
            <td><code>int</code></td>
            <td><p> Sets the horizontal offset between popup element and the conjunction point </p> <p> Default value is 0 </p></td>
         </tr>
         <tr valign="top">
            <td>id</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The component identifier for this component. This value must be unique within the closest parent component that is a naming
               container.
            </td>
         </tr>
         <tr valign="top">
            <td>lang</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Code describing the language used in the generated markup for this component.</td>
         </tr>
         <tr valign="top">
            <td>mode</td>
            <td>false</td>
            <td><code>org.richfaces.component.Mode</code></td>
            <td><p> Sets the submission mode for all menu items of the menu except those where this attribute redefined. Possible value are
               'ajax','client' and 'server' </p> <p>Default value is 'server'</p>
            </td>
         </tr>
         <tr valign="top">
            <td>onclick</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is clicked over this element.</td>
         </tr>
         <tr valign="top">
            <td>ondblclick</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is double clicked over this element.</td>
         </tr>
         <tr valign="top">
            <td>ongrouphide</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The client-side script method to be called when a child menuGroup is hidden</td>
         </tr>
         <tr valign="top">
            <td>ongroupshow</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The client-side script method to be called when a child menuGroup is expanded</td>
         </tr>
         <tr valign="top">
            <td>onhide</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The client-side script method to be called when this menu component is hidden</td>
         </tr>
         <tr valign="top">
            <td>onitemclick</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The client-side script method to be called when a menu item is clicked</td>
         </tr>
         <tr valign="top">
            <td>onkeydown</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a key is pressed down over this element.</td>
         </tr>
         <tr valign="top">
            <td>onkeypress</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a key is pressed and released over this element.</td>
         </tr>
         <tr valign="top">
            <td>onkeyup</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a key is released over this element.</td>
         </tr>
         <tr valign="top">
            <td>onmousedown</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is pressed down over this element.</td>
         </tr>
         <tr valign="top">
            <td>onmousemove</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is moved within this element.</td>
         </tr>
         <tr valign="top">
            <td>onmouseout</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is moved away from this element.</td>
         </tr>
         <tr valign="top">
            <td>onmouseover</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is moved onto this element.</td>
         </tr>
         <tr valign="top">
            <td>onmouseup</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is released over this element.</td>
         </tr>
         <tr valign="top">
            <td>onshow</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The client-side script method to be called when this menu component is shown</td>
         </tr>
         <tr valign="top">
            <td>popupWidth</td>
            <td>false</td>
            <td><code>int</code></td>
            <td>Sets minimum width for all lists that will appear.</td>
         </tr>
         <tr valign="top">
            <td>rendered</td>
            <td>false</td>
            <td><code>boolean</code></td>
            <td>Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent
               form submit. The default value for this property is true.
            </td>
         </tr>
         <tr valign="top">
            <td>showDelay</td>
            <td>false</td>
            <td><code>int</code></td>
            <td><p>Delay (in ms) between observing the showEvent and menu opening</p> <p>Default value is "50"</p></td>
         </tr>
         <tr valign="top">
            <td>showEvent</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td><p>Defines an event on the parent element to display the menu</p> <p>Default value is 'contextmenu'</p></td>
         </tr>
         <tr valign="top">
            <td>style</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>CSS style(s) to be applied when this component is rendered.</td>
         </tr>
         <tr valign="top">
            <td>styleClass</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through
               as the "class" attribute on generated markup.
            </td>
         </tr>
         <tr valign="top">
            <td>target</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Client identifier of the component or id of the existing DOM element that is a source for a given event. If target is defined,
               the event is attached on the client. If both attached and target attributes are defined, and attribute attached has value
               'false', it is considered to have higher priority.
            </td>
         </tr>
         <tr valign="top">
            <td>targetSelector</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The jQuery selector used to filter which child DOM elements of the target/parent to which the contextMenu will be attached.</td>
         </tr>
         <tr valign="top">
            <td>title</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Advisory title information about markup elements generated for this component.</td>
         </tr>
         <tr valign="top">
            <td>verticalOffset</td>
            <td>false</td>
            <td><code>int</code></td>
            <td><p> Sets the vertical offset between popup element and the conjunction point </p> <p> Default value is 0 </p></td>
         </tr>
      </table><br><p></p><a name="navbar_bottom"></a><table border="0" width="100%" cellpadding="1" cellspacing="0">
         <tr>
            <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><a NAME="navbar_bottom_firstrow"></a><table BORDER="0" CELLPADDING="0" CELLSPACING="3">
                  <tr ALIGN="center" VALIGN="top">
                     <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &nbsp;
                        <a href="../overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a>
                        &nbsp;
                        
                     </td>
                     <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &nbsp;
                        <a href="tld-summary.html"><font CLASS="NavBarFont1"><b>Library</b></font></a>
                        &nbsp;
                        
                     </td>
                     <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<font CLASS="NavBarFont1Rev">&nbsp;Tag&nbsp;</font>&nbsp;
                        
                     </td>
                     <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    &nbsp;
                        <a HREF="../help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a>
                        &nbsp;
                        
                     </td>
                  </tr>
               </table>
            </td>
            <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em></em></td>
         </tr>
         <tr>
            <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2"></font></td>
            <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
                  &nbsp;
                  <a HREF="../index.html" TARGET="_top"><b>FRAMES</b></a>
                  &nbsp;
                  &nbsp;
                  <a href="contextMenu.html" target="_top"><b>NO FRAMES</b></a>
                  &nbsp;
                  <script></script><noscript><a HREF="../alltags-noframe.html" TARGET=""><b>All Tags</b></a></noscript></font></td>
         </tr>
      </table>
      <hr><small><i>
            Output Generated by
            <a href="http://taglibrarydoc.dev.java.net/" target="_blank">Tag Library Documentation
               Generator</a>.
            </i></small></body>
</html>
New to GrepCode? Check out our FAQ X