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>togglePanel
         (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="togglePanel (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="togglePanel.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
         togglePanel
      </h2>
      <hr><p>The &lt;rich:togglePanel&gt; component is used as a base for the other switchable components, the &lt;rich:accordion&gt;
      component and the &lt;rich:tabPanel&gt; component. It provides an abstract switchable component without any associated markup.
      As such, the &lt;rich:togglePanel&gt; component could be customized to provide a switchable component when neither an accordion
      component or a tab panel component is appropriate.</p> @author akolonitsky @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.TogglePanel</td>
         </tr>
         <tr>
            <td>Tag Name</td>
            <td>rich:togglePanel</td>
         </tr>
         <tr>
            <td>Renderer Type</td>
            <td>org.richfaces.TogglePanelRenderer</td>
         </tr>
         <tr>
            <td>Handler Class</td>
            <td>org.richfaces.view.facelets.html.TogglePanelTagHandler</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>activeItem</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Holds the active panel name. This name is a reference to the name identifier of the active child &lt;rich:togglePanelItem&gt;
               component.
            </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>converter</td>
            <td>false</td>
            <td><code>javax.faces.convert.Converter</code></td>
            <td>Converter instance registered with this component.</td>
         </tr>
         <tr valign="top">
            <td>cycledSwitching</td>
            <td>false</td>
            <td><code>boolean</code></td>
            <td>Applicable when cycling through the tabs. If "true", then when the last tab is active, cycling to next will activate the first
               tab, if "false", cycling to next will have not effect. The inverse applies for the first tab, and cycling to previous. Whether
               to Default: false
            </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>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>immediate</td>
            <td>false</td>
            <td><code>boolean</code></td>
            <td>Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values
               phase), rather than waiting until Process Validations phase.
            </td>
         </tr>
         <tr valign="top">
            <td>itemChangeListener</td>
            <td>false</td>
            <td><code>javax.el.MethodExpression</code></td>
            <td>Occurs on the server side when an item is changed through Ajax using the server mode</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>onbeforeitemchange</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The client-side script method to be called before the item is changed.</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>onitemchange</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The client-side script method to be called after the item is changed.</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>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>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>switchType</td>
            <td>false</td>
            <td><code>org.richfaces.component.SwitchType</code></td>
            <td>The switch mode when a panel is activated. One of: "client", "server", "ajax". Default: "ajax"</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>
      </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="togglePanel.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