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>pickList
         (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="pickList (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="pickList.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
         pickList
      </h2>
      <hr><p> The &lt;rich:pickList&gt; is a component for selecting items from a list. Additionally, it allows for the selected items
      to be ordered (client-side). From the client side perspective, items are added/removed from the source list, and removed/added
      to the target list. </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.PickList</td>
         </tr>
         <tr>
            <td>Tag Name</td>
            <td>rich:pickList</td>
         </tr>
         <tr>
            <td>Renderer Type</td>
            <td>org.richfaces.PickListRenderer</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>addAllText</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The text to display in the add-all button</td>
         </tr>
         <tr valign="top">
            <td>addText</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The text to display in the add button</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>collectionType</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Optional attribute that is a literal string that is the fully qualified class name of a concrete class that implements java.util.Collection,
               or an EL expression that evaluates to either 1. such a String, or 2. the Class object itself.
            </td>
         </tr>
         <tr valign="top">
            <td>columnClasses</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Space-separated list of CSS style class(es) to be applied to the columns of the list elements. This value must be passed through
               as the "class" attribute on generated markup.
            </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>converterMessage</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>A ValueExpression enabled attribute that, if present, will be used as the text of the converter message, replacing any message
               that comes from the converter.
            </td>
         </tr>
         <tr valign="top">
            <td>disabled</td>
            <td>false</td>
            <td><code>boolean</code></td>
            <td>If "true", this component is disabled.</td>
         </tr>
         <tr valign="top">
            <td>disabledClass</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Space-separated list of CSS style class(es) to be applied to the list element when it is disabled. This value must be passed
               through as the "class" attribute on generated markup.
            </td>
         </tr>
         <tr valign="top">
            <td>downBottomText</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The text to display in the move-to-bottom button</td>
         </tr>
         <tr valign="top">
            <td>downText</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The text to display in the move-down button</td>
         </tr>
         <tr valign="top">
            <td>headerClass</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Space-separated list of CSS style class(es) to be applied to the header element. This value must be passed through as the
               "class" attribute on generated markup.
            </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>itemClass</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Space-separated list of CSS style class(es) to be applied to the list items. This value must be passed through as the "class"
               attribute on generated markup.
            </td>
         </tr>
         <tr valign="top">
            <td>listHeight</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The height of the item list (in pixels).</td>
         </tr>
         <tr valign="top">
            <td>listWidth</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The width of the item list (in pixels).</td>
         </tr>
         <tr valign="top">
            <td>maxListHeight</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The maximum height of the item list (in pixels).</td>
         </tr>
         <tr valign="top">
            <td>minListHeight</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The minimum height of the item list (in pixels).</td>
         </tr>
         <tr valign="top">
            <td>onadditems</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when items are removed from the source list, and added to the target list</td>
         </tr>
         <tr valign="top">
            <td>onblur</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when this element loses focus.</td>
         </tr>
         <tr valign="top">
            <td>onchange</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when the list element loses focus and its value has been modified since gaining focus.</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>onfocus</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when this element receives focus</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>onremoveitems</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when items are removed from the target list, and added to the source list</td>
         </tr>
         <tr valign="top">
            <td>onsourceblur</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when the source list element loses focus.</td>
         </tr>
         <tr valign="top">
            <td>onsourceclick</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is clicked over the source list element .</td>
         </tr>
         <tr valign="top">
            <td>onsourcedblclick</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is double clicked over the source list element .</td>
         </tr>
         <tr valign="top">
            <td>onsourcefocus</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when the source list element receives focus.</td>
         </tr>
         <tr valign="top">
            <td>onsourcekeydown</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a key is pressed down over the source list element .</td>
         </tr>
         <tr valign="top">
            <td>onsourcekeypress</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a key is pressed and released over the source list element .</td>
         </tr>
         <tr valign="top">
            <td>onsourcekeyup</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a key is released over the source list element .</td>
         </tr>
         <tr valign="top">
            <td>onsourcemousedown</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is pressed down over the source list element .</td>
         </tr>
         <tr valign="top">
            <td>onsourcemousemove</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is moved within the source list element .</td>
         </tr>
         <tr valign="top">
            <td>onsourcemouseout</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is moved away from the source list element .</td>
         </tr>
         <tr valign="top">
            <td>onsourcemouseover</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is moved onto the source list element .</td>
         </tr>
         <tr valign="top">
            <td>onsourcemouseup</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is released over the source list element .</td>
         </tr>
         <tr valign="top">
            <td>ontargetblur</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when the target list element loses focus.</td>
         </tr>
         <tr valign="top">
            <td>ontargetclick</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is clicked over the target list element .</td>
         </tr>
         <tr valign="top">
            <td>ontargetdblclick</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is double clicked over the target list element .</td>
         </tr>
         <tr valign="top">
            <td>ontargetfocus</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when the target list element receives focus.</td>
         </tr>
         <tr valign="top">
            <td>ontargetkeydown</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a key is pressed down over the target list element .</td>
         </tr>
         <tr valign="top">
            <td>ontargetkeypress</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a key is pressed and released over the target list element .</td>
         </tr>
         <tr valign="top">
            <td>ontargetkeyup</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a key is released over the target list element .</td>
         </tr>
         <tr valign="top">
            <td>ontargetmousedown</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is pressed down over the target list element .</td>
         </tr>
         <tr valign="top">
            <td>ontargetmousemove</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is moved within the target list element .</td>
         </tr>
         <tr valign="top">
            <td>ontargetmouseout</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is moved away from the target list element .</td>
         </tr>
         <tr valign="top">
            <td>ontargetmouseover</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is moved onto the target list element .</td>
         </tr>
         <tr valign="top">
            <td>ontargetmouseup</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Javascript code executed when a pointer button is released over the target list element .</td>
         </tr>
         <tr valign="top">
            <td>orderable</td>
            <td>false</td>
            <td><code>boolean</code></td>
            <td><p>If "true", then the target list is orderable, and the ordering controls are displayed</p> <p>Default is "false"</p></td>
         </tr>
         <tr valign="top">
            <td>removeAllText</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The text to display in the remove-all button</td>
         </tr>
         <tr valign="top">
            <td>removeText</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The text to display in the remove button</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>required</td>
            <td>false</td>
            <td><code>boolean</code></td>
            <td>Flag indicating that the user is required to provide a submitted value for this input component.</td>
         </tr>
         <tr valign="top">
            <td>requiredMessage</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>A ValueExpression enabled attribute that, if present, will be used as the text of the validation message for the "required"
               facility, if the "required" facility is used.
            </td>
         </tr>
         <tr valign="top">
            <td>selectItemClass</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Space-separated list of CSS style class(es) to be applied to the selected list item. This value must be passed through as
               the "class" attribute on generated markup.
            </td>
         </tr>
         <tr valign="top">
            <td>sourceCaption</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The text placed above the source list of items</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 to this element. This value must be passed through as the "class"
               attribute on generated markup.
            </td>
         </tr>
         <tr valign="top">
            <td>switchByClick</td>
            <td>false</td>
            <td><code>boolean</code></td>
            <td><p>if "true", then clicking an item moves it from one list to another</p> <p>Default is "false"</p></td>
         </tr>
         <tr valign="top">
            <td>switchByDblClick</td>
            <td>false</td>
            <td><code>boolean</code></td>
            <td><p>if "true", then double-clicking an item moves it from one list to another</p> <p>Default is "true"</p></td>
         </tr>
         <tr valign="top">
            <td>targetCaption</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The text placed above the target list of items</td>
         </tr>
         <tr valign="top">
            <td>upText</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The text to display in the move-up button</td>
         </tr>
         <tr valign="top">
            <td>upTopText</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>The text to display in the move-to-top button</td>
         </tr>
         <tr valign="top">
            <td>validator</td>
            <td>false</td>
            <td><code>javax.faces.el.MethodBinding</code></td>
            <td>MethodExpression representing a validator method that will be called during Process Validations to perform correctness checks
               on the value of this component. The expression must evaluate to a public method that takes FacesContext, UIComponent, and
               Object parameters, with a return type of void.
            </td>
         </tr>
         <tr valign="top">
            <td>validatorMessage</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>A ValueExpression enabled attribute that, if present, will be used as the text of the validator message, replacing any message
               that comes from the validator.
            </td>
         </tr>
         <tr valign="top">
            <td>value</td>
            <td>false</td>
            <td><code>java.lang.Object</code></td>
            <td>The current value of this component.</td>
         </tr>
         <tr valign="top">
            <td>valueChangeListener</td>
            <td>false</td>
            <td><code>javax.faces.el.MethodBinding</code></td>
            <td><p> MethodExpression representing a value change listener method that will be notified when a new value has been set for this
               input component. The expression must evaluate to a public method that takes a <code>ValueChangeEvent</code> parameter, with
               a return type of void, <span class="changed_added_2_0">or to a public method that takes no arguments with a return type of
               void. In the latter case, the method has no way of easily knowing what the new value is, but this can be useful in cases where
               a notification is needed that "this value changed".</span> </p>
            </td>
         </tr>
         <tr valign="top">
            <td>var</td>
            <td>false</td>
            <td><code>java.lang.String</code></td>
            <td>Expose the value from the value attribute under this request scoped key so that it may be referred to in EL for the value
               of other attributes.
            </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="pickList.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