Author: konstantin.mishin
Date: 2010-08-04 11:11:22 -0400 (Wed, 04 Aug 2010)
New Revision: 18480
Modified:
root/sandbox/ui/inputs/inputnumberslider/src/main/config/faces-config.xml
root/sandbox/ui/inputs/inputnumberslider/src/main/templates/input.template.inc
Log:
RF-8983
Modified: root/sandbox/ui/inputs/inputnumberslider/src/main/config/faces-config.xml
===================================================================
--- root/sandbox/ui/inputs/inputnumberslider/src/main/config/faces-config.xml 2010-08-04
14:24:33 UTC (rev 18479)
+++ root/sandbox/ui/inputs/inputnumberslider/src/main/config/faces-config.xml 2010-08-04
15:11:22 UTC (rev 18480)
@@ -128,23 +128,23 @@
</property>
<property>
<property-name>maxValue</property-name>
- <property-class>double</property-class>
+ <property-class>java.lang.Number</property-class>
<default-value>100</default-value>
<property-extension>
<cdk:generate>true</cdk:generate>
</property-extension>
</property>
<property>
- <property-name>minValue</property-name>
- <property-class>double</property-class>
- <default-value>0</default-value>
+ <property-name>maxlength</property-name>
+ <property-class>int</property-class>
+ <default-value>Integer.MIN_VALUE</default-value>
<property-extension>
<cdk:generate>true</cdk:generate>
</property-extension>
</property>
<property>
<property-name>minValue</property-name>
- <property-class>double</property-class>
+ <property-class>java.lang.Number</property-class>
<default-value>0</default-value>
<property-extension>
<cdk:generate>true</cdk:generate>
@@ -184,7 +184,7 @@
</property>
<property>
<property-name>step</property-name>
- <property-class>double</property-class>
+ <property-class>java.lang.Number</property-class>
<default-value>1</default-value>
<property-extension>
<cdk:generate>true</cdk:generate>
Modified: root/sandbox/ui/inputs/inputnumberslider/src/main/templates/input.template.inc
===================================================================
---
root/sandbox/ui/inputs/inputnumberslider/src/main/templates/input.template.inc 2010-08-04
14:24:33 UTC (rev 18479)
+++
root/sandbox/ui/inputs/inputnumberslider/src/main/templates/input.template.inc 2010-08-04
15:11:22 UTC (rev 18480)
@@ -22,8 +22,7 @@
Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301 USA, or see the FSF site:
http://www.fsf.org.
-->
-<input name="#{clientId}" type="text" class="rf-ins-i
#{component.attributes['inputClass']}"
- size="#{component.attributes['inputSize']}"
value="#{getInputValue(facesContext, component)}"
- accesskey="#{component.attributes['accesskey']}"
disabled="#{component.attributes['disabled']}"
- readonly="#{!component.attributes['enableManualInput']}"
+<input
xmlns:cdk="http://richfaces.org/cdk/core"
name="#{clientId}" type="text"
+ class="rf-ins-i #{component.attributes['inputClass']}"
value="#{getInputValue(facesContext, component)}"
+ cdk:passThrough="accesskey disabled maxlength size:inputSize"
readonly="#{!component.attributes['enableManualInput']}"
style="#{component.attributes['showInput'] ? null : 'display:
none;'}" />