Author: ppitonak(a)redhat.com
Date: 2010-10-07 10:35:15 -0400 (Thu, 07 Oct 2010)
New Revision: 19489
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
* rich:inputNumberSlider fixed
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-10-07
11:25:44 UTC (rev 19488)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichInputNumberSliderBean.java 2010-10-07
14:35:15 UTC (rev 19489)
@@ -64,7 +64,12 @@
attributes.setAttribute("showBoundaryValues", true);
attributes.setAttribute("showInput", true);
attributes.setAttribute("step", 1);
+ attributes.setAttribute("value", 0);
+ attributes.remove("converter");
+ attributes.remove("validator");
+ attributes.remove("valueChangeListener");
+ attributes.remove("valueChangeListeners");
}
public Attributes getAttributes() {
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-10-07
11:25:44 UTC (rev 19488)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richInputNumberSlider/simple.xhtml 2010-10-07
14:35:15 UTC (rev 19489)
@@ -42,7 +42,6 @@
<ui:define name="component">
<rich:inputNumberSlider id="slider"
accesskey="#{richInputNumberSliderBean.attributes['accesskey'].value}"
-
converter="#{richInputNumberSliderBean.attributes['converter'].value}"
converterMessage="#{richInputNumberSliderBean.attributes['converterMessage'].value}"
decreaseClass="#{richInputNumberSliderBean.attributes['decreaseClass'].value}"
decreaseSelectedClass="#{richInputNumberSliderBean.attributes['decreaseSelectedClass'].value}"
@@ -77,14 +76,12 @@
toolTipClass="#{richInputNumberSliderBean.attributes['toolTipClass'].value}"
trackClass="#{richInputNumberSliderBean.attributes['trackClass'].value}"
valid="#{richInputNumberSliderBean.attributes['valid'].value}"
-
validator="#{richInputNumberSliderBean.attributes['validator'].value}"
validatorMessage="#{richInputNumberSliderBean.attributes['validatorMessage'].value}"
validators="#{richInputNumberSliderBean.attributes['validators'].value}"
value="#{richInputNumberSliderBean.attributes['value'].value}"
-
valueChangeListener="#{richInputNumberSliderBean.attributes['valueChangeListener'].value}"
-
valueChangeListeners="#{richInputNumberSliderBean.attributes['valueChangeListeners'].value}">
+ >
- <a4j:ajax render="output" execute="@form"/>
+ <a4j:ajax render="output"/>
</rich:inputNumberSlider>