Author: nbelaevski
Date: 2009-04-13 13:29:53 -0400 (Mon, 13 Apr 2009)
New Revision: 13541
Modified:
trunk/ui/inplaceInput/src/main/config/component/inplaceinput.xml
trunk/ui/inplaceInput/src/main/templates/inplaceinput.jspx
Log:
https://jira.jboss.org/jira/browse/RF-6444
Modified: trunk/ui/inplaceInput/src/main/config/component/inplaceinput.xml
===================================================================
--- trunk/ui/inplaceInput/src/main/config/component/inplaceinput.xml 2009-04-13 17:29:23
UTC (rev 13540)
+++ trunk/ui/inplaceInput/src/main/config/component/inplaceinput.xml 2009-04-13 17:29:53
UTC (rev 13541)
@@ -255,7 +255,13 @@
<classname>java.lang.String</classname>
<description>A localized user presentable name for this
component.</description>
</property>
-
+ <property>
+ <name>maxlength</name>
+ <classname>int</classname>
+ <description>Specifies the maximum number of digits that could be entered
into the input field.
+ The maximum number is unlimited by default.
+ </description>
+ </property>
&html_events;
&ui_input_attributes;
<property hidden="true">
Modified: trunk/ui/inplaceInput/src/main/templates/inplaceinput.jspx
===================================================================
--- trunk/ui/inplaceInput/src/main/templates/inplaceinput.jspx 2009-04-13 17:29:23 UTC
(rev 13540)
+++ trunk/ui/inplaceInput/src/main/templates/inplaceinput.jspx 2009-04-13 17:29:53 UTC
(rev 13541)
@@ -121,7 +121,7 @@
onmouseout='#{component.attributes["oninputmouseout"]}'
onmouseover='#{component.attributes["oninputmouseover"]}'
onmouseup='#{component.attributes["oninputmouseup"]}'
-
+ maxlength='#{component.attributes["maxlength"]}'
/>
<input id='#{clientId}value' name='#{clientId}'
type='hidden' value='#{fieldValue}'/>
<div id="#{clientId}bar" class="rich-inplace-input-controls-set"
style="display:none;">