ICEfaces EE Composite Components
Tag dateSpinner


Date Spinner Composite Component

Features

How To Use

  1. Create an instance of the DateSpinner class in your managed bean
  2. Use the dateSpinner tag in your page (eg. ice-cc:dateSpinner). Nest <ice-cc:css/> in your page <head> tag.
  3. Bind the 'bean' attribute on the tag to your managed bean property (eg. bean="#{myBean.spinner})
  4. Set the 'incrementBy' property on the DateSpinner object (default is 1)
  5. Set the 'dateStyle' attribute on the dateSpinner tag (default is 'default', other valid values are 'short', 'medium', 'long', and 'full')
  6. Set the 'type' attribute on the dateSpinner tag (default is 'both', other valid values are 'date' for showing only the date, and 'time' for showing only the time)
  7. Set the 'width' attribute on the dateSpinner tag (default is '200px')

Example:
<ice-cc:dateSpinner id="dateSpinnerDemo" bean="#{dateSpinnerExampleBean.spinner}" dateStyle="#{dateSpinnerExampleBean.dateStyle}" type="#{dateSpinnerExampleBean.type}" width="200px"/>


Tag Information
Tag Classjavax.faces.webapp.FacetTag
TagExtraInfo ClassNone
Body Contenttagdependent
Display NameDate Spinner

Attributes
NameRequiredRequest-timeTypeDescription
idtruefalsejava.lang.StringA unique id for the component.
beantruefalsecom.icesoft.faces.facelets.component.spinner.DateSpinnerThe bean attribute must resolve to an instance of the DateSpinner class.
typefalsefalsejava.lang.StringSets the dateTimeConverter type property [both|date|time} (default both)
widthfalsefalsejava.lang.StringSets the width of the input field (default 200px)
dateStylefalsefalsejava.lang.StringSets the dateStyle property of the dateTimeConverter [default|short|medium|long|full] (default is 'default')
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.