Overview | Library | Tag | Help
| FRAMES NO FRAMES

## ICEfaces EE Composite Components
Tag editableList

## The Editable List Composite Component

### Allows editing, adding and removing String items in a list

### Features

- The editable list allows you to let the user add and remove items from a list
- The list height and width can be customized

### How To Use

1. Create an instance of the EditableList class in your managed bean
2. If you would like to enforce unique items in the list, use the EditableList(boolean enforceUnique) constructor
3. Use the editableList tag in your page
4. Bind the 'bean' attribute on the tag to your managed bean property (eg. bean="#{myBean.editableList})

Example:

    <ice-cc:editableList id="uniqueId" bean="#{editableListBean} listWidth="100px" listHeight="50px"/>

Tag Information
Tag Class | javax.faces.webapp.FacetTag
TagExtraInfo Class | None
Body Content | tagdependent
Display Name | Editable List

Attributes
Name | Required | Request-time | Type | Description
id | true | false | `java.lang.String` | A unique id for the component.
bean | true | false | `com.icesoft.faces.facelets.component.editablelist.EditableList` | The bean attribute must resolve to an instance of the EditableList class.
listWidth | false | false | `java.lang.String` | Sets the width of the list (default 100px)
listHeight | false | false | `java.lang.String` | Sets the height of the list (default 100px)
autocomplete | false | false | `java.lang.Boolean` | Passed through to the input elements.
disabled | false | false | `java.lang.Boolean` | Flag indicating that this component must never receive focus or be included in a subsequent submit.
effect | false | false | `com.icesoft.faces.context.effects.Effect` | The Javascript Effect
readonly | false | false | `java.lang.Boolean` | Passed through to the underlying UIInput component
size | false | false | `java.lang.String` | Passed through to size attribute in ice:selectManyListbox
title | false | false | `java.lang.String` | Passed through to underlying component
style | false | false | `java.lang.String` | CSS style(s) to be applied when this component is rendered
styleClass | false | false | `java.lang.String` | Space-separated list of CSS style class(es) to be applied when this element is rendered.
styleClassList | false | false | `java.lang.String` | Passed through to styleClass attribute in ice:selectManyListbox
styleClassInput | false | false | `java.lang.String` | Passed through to styleClass attribute in ice:inputText

Variables
| No Variables Defined.

Overview | Library | Tag | Help
| FRAMES NO FRAMES

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.