ICEfaces EE Composite Components
Tag slider


The Slider Composite Component

Features

How To Use

  1. Add the <ice-cc:slider/> tag to your page
  2. Add the appropriate styleClass to the h:body tag: styleClass="ice-skin-rime" or styleClass="ice-skin-sam"
  3. Add the CSS file for the chosen theme to the bottom of the page (after closing h:body tag): <h:outputStylesheet library="org.icefaces.component.skins" name="rime.css" />
  4. Bind the 'value' attribute to an integer property on a managed bean
  5. Set the 'id' attribute
  6. Set the 'min' attribute (optional)
  7. Set the 'max' attribute (optional)
  8. Set the 'orientation' attribute (optional)
  9. Set the 'railSize' attribute (optional)
  10. Set the 'thumbImage', and 'handleCss' attributes to customize the image (optional)
  11. Set the 'singleSubmit' attribute (optional)

Example:
<ice-cc:slider id="vertSlider" value="#{sliderExampleBean.value2}" min="-500" max="500" orientation="vertical" thumbImage="./images/icefaces-icon.png" handleCss="width:20px;height:20px;"/>


Tag Information
Tag Classjavax.faces.webapp.FacetTag
TagExtraInfo ClassNone
Body Contenttagdependent
Display NameSlider Composite Component

Attributes
NameRequiredRequest-timeTypeDescription
idtruefalsejava.lang.StringA unique id for the component.
valuetruefalsejava.lang.IntegerAn integer property
minfalsefalsejava.lang.IntegerAn integer value or property (default 0)
maxfalsefalsejava.lang.IntegerAn integer value or property (default 100)
thumbImagefalsefalsejava.lang.StringA url of an image. Basic image included.
handleCssfalsefalsejava.lang.StringCSS properties for the custom handle, usually defining at least width and height
railSizefalsefalsejava.lang.StringCSS length value (default 150px)
orientationfalsefalsejava.lang.Stringvertical or horizontal (default horizontal)
singleSubmitfalsefalsejava.lang.StringTrue enable single submit when the slider move has been completed. False will disable single submit and the invisible input field will updated but not submitted to the server, submission will only occure when the containing form is submitted. Default value is true.
updateOnEventfalsefalsejava.lang.StringDeprecated, use single submit instead.

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.