Author: ayanul
Date: 2008-01-08 08:45:14 -0500 (Tue, 08 Jan 2008)
New Revision: 5177
Modified:
trunk/test-applications/facelets/src/main/java/inputNumberSlider/InputNumberSlider.java
Log:
http://jira.jboss.com/jira/browse/RF-1847
Modified:
trunk/test-applications/facelets/src/main/java/inputNumberSlider/InputNumberSlider.java
===================================================================
---
trunk/test-applications/facelets/src/main/java/inputNumberSlider/InputNumberSlider.java 2008-01-08
13:09:40 UTC (rev 5176)
+++
trunk/test-applications/facelets/src/main/java/inputNumberSlider/InputNumberSlider.java 2008-01-08
13:45:14 UTC (rev 5177)
@@ -19,6 +19,7 @@
private String inputStyle;
private String tipStyle;
private String handleStyle;
+ private String valueChangeListener;
private boolean immediate;
private boolean required;
private boolean showToolTip;
@@ -273,6 +274,11 @@
this.value = value;
}
+ public void valueChangeListener(ValueChangeEvent event) {
+ valueChangeListener = (String)event.getNewValue();
+ System.out.println("valueChangeListener: " + valueChangeListener);
+ }
+
public void bTest1(){
setMinValue("0");
setMaxValue("9");
@@ -285,6 +291,7 @@
setShowToolTip(true);
setShowBoundaryValues(true);
setShowInput(true);
+ setMaxlength(2);
}
public void bTest2(){
@@ -298,6 +305,7 @@
setStep("50");
setShowToolTip(false);
setShowBoundaryValues(true);
+ setMaxlength(5);
}
public void bTest3(){
@@ -311,6 +319,7 @@
setStep("2");
setShowToolTip(false);
setShowBoundaryValues(true);
+ setMaxlength(6);
}
public void bTest4(){
@@ -324,6 +333,7 @@
setStep("2");
setShowToolTip(false);
setShowBoundaryValues(true);
+ setMaxlength(2);
}
public void bTest5(){
@@ -337,5 +347,10 @@
setStep("2");
setShowToolTip(false);
setShowBoundaryValues(false);
+ setMaxlength(8);
}
+
+ public String getValueChangeListener() {
+ return valueChangeListener;
+ }
}