widget = ice.ace.instance('frm:mySlider');
To illustrate this change, see the before and after code example below.
The ice.ace.instance function requires the full client id of the component to be specified, such as "j_idt77:componentId" instead of just "componentId". To reduce the complexity of working with complete IDs with this function it may be preferable in some cases to use prependId="false" in the enclosing form (e.g. <h:form prependId="false">).
h2. Keyboard and ARIA Support
|| Keypress || Result ||
| Left Arrow or Down Arrow | Decrease the value of the slider. |
| Right Arrow or Up Arrow | Increase the value of the slider. |
| Home key | Move to the minimum value of the slider. |
| End key | Move to the maximum value of the slider. |
The following ARIA roles are supported: slider.
h2. CSS Classes
The following markup represents the basic HTML structure of the component and the CSS classes it uses.
<div class="[user defined classes]" style="[user defined styles]"><input /><div></div><div class="ui-slider ui-slider-horizontal ui-widget ui-widget-content ui-corner-all"><a class="ui-slider-handle ui-state-default ui-corner-all"></a></div><div></div></div>
The following known issues exist for the sliderEntry:
The 'showLabels' attribute is not functional in ICEfaces 3.0.0. It does work correctly in 2.0.x and again in ICEfaces-3.3.0
The sliderEntry component appears in the following ICEfaces sample applications: