ICEfaces EE Composite Components
Tag numberSpinner


Number Spinner Composite Component

Features

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 Classjavax.faces.webapp.FacetTag
TagExtraInfo ClassNone
Body Contenttagdependent
Display NameNumber Spinner

Attributes
NameRequiredRequest-timeTypeDescription
idtruefalsejava.lang.StringA unique id for the component.
beantruefalsecom.icesoft.faces.facelets.component.spinner.NumberSpinnerThe bean attribute must resolve to an instance of the NumberSpinner class.
readonlyfalsefalsejava.lang.BooleanPassed through to the underlying UIInput component
partialSubmitfalsefalsejava.lang.BooleanPassed through to the underlying ICEfaces input component (default true)
styleClassInputfalsefalsejava.lang.StringPassed through to styleClass attribute of ice:inputText component
effectfalsefalsecom.icesoft.faces.context.effects.EffectThe Javascript Effect
titlefalsefalsejava.lang.StringPassed through to underlying component
disabledfalsefalsejava.lang.BooleanFlag indicating that this component must never receive focus or be included in a subsequent submit.

Variables
No Variables Defined.


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.