Author: msorokin
Date: 2008-04-25 12:02:20 -0400 (Fri, 25 Apr 2008)
New Revision: 8194
Modified:
trunk/ui/inputnumber-slider/src/main/config/component/inputNumberSlider.xml
Log:
http://jira.jboss.com/jira/browse/RF-2220
http://jira.jboss.com/jira/browse/RF-730
Corrected language and added default values
Modified: trunk/ui/inputnumber-slider/src/main/config/component/inputNumberSlider.xml
===================================================================
--- trunk/ui/inputnumber-slider/src/main/config/component/inputNumberSlider.xml 2008-04-25
16:02:11 UTC (rev 8193)
+++ trunk/ui/inputnumber-slider/src/main/config/component/inputNumberSlider.xml 2008-04-25
16:02:20 UTC (rev 8194)
@@ -52,25 +52,25 @@
<property>
<name> minValue </name>
<classname>java.lang.String</classname>
- <description> Attribute to set a "start" value
</description>
+ <description> Attribute to set the "start" value. Default
value is "0". </description>
<defaultvalue><![CDATA["0"]]></defaultvalue>
</property>
<property>
<name> maxValue </name>
<classname>java.lang.String</classname>
- <description>Attribute to set an "end" value </description>
+ <description>Attribute to set an "end" value. Default value
is "100" </description>
<defaultvalue><![CDATA["100"]]></defaultvalue>
</property>
<property>
<name> step </name>
<classname>java.lang.String</classname>
- <description>Parameter that determines a step between the nearest values
while using a handle</description>
+ <description>Parameter that determines a step between the nearest values
while using a handle. Default value is "1".</description>
<defaultvalue><![CDATA["1"]]></defaultvalue>
</property>
<property>
<name> width </name>
<classname>java.lang.String</classname>
- <description> The width of a slider control</description>
+ <description> The width of a slider control. Default value is
"200px"</description>
<defaultvalue><![CDATA["200px"]]></defaultvalue>
</property>
<property hidden="true">
@@ -81,28 +81,30 @@
<property>
<name> enableManualInput </name>
<classname>boolean</classname>
- <description>False value for this attribute makes a text field
"read-only", so the value can be
- changed only from a handle</description>
+ <description>If set to "false" this attribute makes the
text field "read-only", so the value can be
+ changed only from a handle. Default value is
"true".</description>
<defaultvalue>true</defaultvalue>
</property>
<property>
<name> showInput </name>
<classname>boolean</classname>
- <description>False value for this attribute makes text a field
invisible</description>
+ <description>False value for this attribute makes text a field invisible.
Default value is "true".</description>
<defaultvalue>true</defaultvalue>
</property>
<property>
<name> showBoundaryValues </name>
<classname>boolean</classname>
- <description>If the min/max values are shown on the right/left borders of a
control. Default=true
+ <description>If the min/max values are shown on the right/left borders of a
control. . Default value is "true".
</description>
<defaultvalue>true</defaultvalue>
</property>
<property>
<name> showToolTip </name>
<classname>boolean</classname>
- <description>If the current value will be shown in the tooltip when a handle
control in a
- "dragged" state.Default=true.
+ <description>
+
+ If "true"the current value is shown in the tooltip when a handle
control is in a
+ "dragged" state. Default value is "true".
</description>
<defaultvalue>true</defaultvalue>
</property>
@@ -121,13 +123,13 @@
<property>
<name> inputSize </name>
<classname>int</classname>
- <description> Similar to the "Size" attribute of
h:inputText</description>
+ <description> Similar to the "Size" attribute of h:inputText.
Default value is "3". </description>
<defaultvalue><![CDATA[3]]></defaultvalue>
</property>
<property>
<name> disabled </name>
<classname>boolean</classname>
- <description> Makes a text field and controls non-active. Default is false.
+ <description> Makes a text field and controls non-active. Default value is
"false".
</description>
<defaultvalue>false</defaultvalue>
</property>
@@ -239,72 +241,72 @@
&html_input_attributes;
&html_input_events;
&ui_input_attributes;
- &html_events;
-
- <property>
- <name>oninputclick</name>
- <classname>java.lang.String</classname>
- <description>HTML: a script expression; a pointer button is
clicked</description>
- </property>
- <property>
- <name>oninputdblclick</name>
- <classname>java.lang.String</classname>
- <description>HTML: a script expression; a pointer button is
double-clicked</description>
- </property>
- <property>
- <name>oninputkeydown</name>
- <classname>java.lang.String</classname>
- <description>HTML: a script expression; a key is pressed
down</description>
- </property>
- <property>
- <name>oninputkeypress</name>
- <classname>java.lang.String</classname>
- <description>HTML: a script expression; a key is pressed and
released</description>
- </property>
- <property>
- <name>oninputkeyup</name>
- <classname>java.lang.String</classname>
- <description>HTML: a script expression; a key is
released</description>
- </property>
- <property>
- <name>oninputmousedown</name>
- <classname>java.lang.String</classname>
- <description>HTML: script expression; a pointer button is pressed
down</description>
- </property>
- <property>
- <name>oninputmousemove</name>
- <classname>java.lang.String</classname>
- <description>HTML: a script expression; a pointer is moved
within</description>
- </property>
- <property>
- <name>oninputmouseout</name>
- <classname>java.lang.String</classname>
- <description>HTML: a script expression; a pointer is moved
away</description>
- </property>
- <property>
- <name>oninputmouseover</name>
- <classname>java.lang.String</classname>
- <description>HTML: a script expression; a pointer is moved
onto</description>
- </property>
- <property>
- <name>oninputmouseup</name>
- <classname>java.lang.String</classname>
- <description>HTML: script expression; a pointer button is
released</description>
- </property>
-
- <property elonly="true" hidden="true"
existintag="false" exist="false" >
- <name>onkeydown</name>
- <classname>java.lang.String</classname>
- </property>
- <property elonly="true" hidden="true"
existintag="false" exist="false" >
- <name>onkeypress</name>
- <classname>java.lang.String</classname>
- </property>
- <property elonly="true" hidden="true"
existintag="false" exist="false" >
- <name>onkeyup</name>
- <classname>java.lang.String</classname>
- </property>
+ &html_events;
+ <property>
+ <name>oninputclick</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: a script expression; a pointer button is
clicked</description>
+ </property>
+ <property>
+ <name>oninputdblclick</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: a script expression; a pointer button is
double-clicked</description>
+ </property>
+ <property>
+ <name>oninputkeydown</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: a script expression; a key is pressed
down</description>
+ </property>
+ <property>
+ <name>oninputkeypress</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: a script expression; a key is pressed and
released</description>
+ </property>
+ <property>
+ <name>oninputkeyup</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: a script expression; a key is
released</description>
+ </property>
+ <property>
+ <name>oninputmousedown</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: script expression; a pointer button is pressed
down</description>
+ </property>
+ <property>
+ <name>oninputmousemove</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: a script expression; a pointer is moved
within</description>
+ </property>
+ <property>
+ <name>oninputmouseout</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: a script expression; a pointer is moved
away</description>
+ </property>
+ <property>
+ <name>oninputmouseover</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: a script expression; a pointer is moved
onto</description>
+ </property>
+ <property>
+ <name>oninputmouseup</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: script expression; a pointer button is
released</description>
+ </property>
+
+ <property elonly="true" hidden="true"
existintag="false" exist="false" >
+ <name>onkeydown</name>
+ <classname>java.lang.String</classname>
+ </property>
+ <property elonly="true" hidden="true"
existintag="false" exist="false" >
+ <name>onkeypress</name>
+ <classname>java.lang.String</classname>
+ </property>
+ <property elonly="true" hidden="true"
existintag="false" exist="false" >
+ <name>onkeyup</name>
+ <classname>java.lang.String</classname>
+ </property>
+
<property hidden="true" >
<name>size</name>
<classname>int</classname>
@@ -325,11 +327,11 @@
<property hidden="true">
<name>valid</name>
<classname>boolean</classname>
- </property>
- <property>
- <name>label</name>
- <classname>java.lang.String</classname>
- <description>A localized user presentable name for this
component.</description>
</property>
+ <property>
+ <name>label</name>
+ <classname>java.lang.String</classname>
+ <description>A localized user presentable name for this
component.</description>
+ </property>
</component>
</components>