Overview | Library | Tag | Help
| FRAMES NO FRAMES

## ICEfaces EE Composite Components
Tag numberSpinner

## Number Spinner Composite Component

### Features

- The Number Spinner allows you to scroll number values up and down
- The increment and decrement step value can be set on the bean
- A listener interface allows method callbacks on value change events
- Minimum and maxium values can be specified

### How To Use

1. Create an instance of the NumberSpinner class in your managed bean
2. Specify an instance of INumberSpinnerListener in the constructor if you would like to receive value change events
3. Specify the minimum and maximum values for the spinner if you would like to limit the spinner's values
4. Use the numberSpinner tag in your page (eg. ice-cc:numberSpinner). Nest <ice-cc:css/> in your page <head> tag.
5. Bind the 'bean' attribute on the tag to your managed bean property (eg. bean="#{myBean.spinner})
6. Set the 'incrementBy' property on the NumberSpinner object (default is 1)

Example:

    <ice-cc:numberSpinner id="numberSpinnerDemo" bean="#{numberSpinnerExampleBean.spinner}"/>

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

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.spinner.NumberSpinner` | The bean attribute must resolve to an instance of the NumberSpinner class.
readonly | false | false | `java.lang.Boolean` | Passed through to the underlying UIInput component
partialSubmit | false | false | `java.lang.Boolean` | Passed through to the underlying ICEfaces input component (default true)
styleClassInput | false | false | `java.lang.String` | Passed through to styleClass attribute of ice:inputText component
effect | false | false | `com.icesoft.faces.context.effects.Effect` | The Javascript Effect
title | false | false | `java.lang.String` | Passed through to underlying component
disabled | false | false | `java.lang.Boolean` | Flag indicating that this component must never receive focus or be included in a subsequent submit.

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.