Last updated January 14, 2009 16:40, by Jason Lee
Feedicon  
==<sc:slider> - A YUI Slider Wrapper== The slider component can be used to create a numeric input slider, which can be oriented either horizontally or vertically. The value of the slider can also be tied to zero or more components on the page, allowing the value of the slider to be displayed as it changes. <textarea name="code" class="xml"><nowiki> <sc:slider id="slider" min="0" max="250" orientation="horizontal" value="#{testBean.slider1Value}" for="form:input1,form:input2" /> </nowiki></textarea> On the rendered page, that snippet will look like this: [[image:slider.png]] Note that the values of <code>for</code> must be the fully-qualified form element ID, so if you plan on using this feature, you will likely need to provide an explicit ID on every component in the slider's hierarchy.
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close