Author: ppitonak(a)redhat.com
Date: 2010-11-24 05:53:46 -0500 (Wed, 24 Nov 2010)
New Revision: 20156
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichInputNumberSliderBean.java
modules/tests/metamer/trunk/application/src/main/webapp/components/richInputNumberSlider/simple.xhtml
Log:
https://jira.jboss.org/browse/RFPL-759
* slider sample improved
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichInputNumberSliderBean.java
===================================================================
---
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichInputNumberSliderBean.java 2010-11-24
01:34:46 UTC (rev 20155)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichInputNumberSliderBean.java 2010-11-24
10:53:46 UTC (rev 20156)
@@ -58,13 +58,13 @@
attributes.setAttribute("enableManualInput", true);
attributes.setAttribute("inputSize", 3);
- attributes.setAttribute("maxValue", 100);
- attributes.setAttribute("minValue", 0);
+ attributes.setAttribute("maxValue", 10);
+ attributes.setAttribute("minValue", -10);
attributes.setAttribute("rendered", true);
attributes.setAttribute("showBoundaryValues", true);
attributes.setAttribute("showInput", true);
attributes.setAttribute("step", 1);
- attributes.setAttribute("value", 0);
+ attributes.setAttribute("value", 2);
attributes.remove("converter");
attributes.remove("validator");
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richInputNumberSlider/simple.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richInputNumberSlider/simple.xhtml 2010-11-24
01:34:46 UTC (rev 20155)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richInputNumberSlider/simple.xhtml 2010-11-24
10:53:46 UTC (rev 20156)
@@ -56,11 +56,10 @@
inputClass="#{richInputNumberSliderBean.attributes['inputClass'].value}"
inputPosition="#{richInputNumberSliderBean.attributes['inputPosition'].value}"
inputSize="#{richInputNumberSliderBean.attributes['inputSize'].value}"
-
localValue="#{richInputNumberSliderBean.attributes['localValue'].value}"
-
localValueSet="#{richInputNumberSliderBean.attributes['localValueSet'].value}"
maxValue="#{richInputNumberSliderBean.attributes['maxValue'].value}"
maxlength="#{richInputNumberSliderBean.attributes['maxlength'].value}"
minValue="#{richInputNumberSliderBean.attributes['minValue'].value}"
+
onchange="#{richInputNumberSliderBean.attributes['onchange'].value}"
rendered="#{richInputNumberSliderBean.attributes['rendered'].value}"
required="#{richInputNumberSliderBean.attributes['required'].value}"
requiredMessage="#{richInputNumberSliderBean.attributes['requiredMessage'].value}"
@@ -71,13 +70,10 @@
step="#{richInputNumberSliderBean.attributes['step'].value}"
style="#{richInputNumberSliderBean.attributes['style'].value}"
styleClass="#{richInputNumberSliderBean.attributes['styleClass'].value}"
-
submittedValue="#{richInputNumberSliderBean.attributes['submittedValue'].value}"
tabindex="#{richInputNumberSliderBean.attributes['tabindex'].value}"
toolTipClass="#{richInputNumberSliderBean.attributes['toolTipClass'].value}"
trackClass="#{richInputNumberSliderBean.attributes['trackClass'].value}"
-
valid="#{richInputNumberSliderBean.attributes['valid'].value}"
validatorMessage="#{richInputNumberSliderBean.attributes['validatorMessage'].value}"
-
validators="#{richInputNumberSliderBean.attributes['validators'].value}"
value="#{richInputNumberSliderBean.attributes['value'].value}"