Author: konstantin.mishin
Date: 2011-01-14 11:24:44 -0500 (Fri, 14 Jan 2011)
New Revision: 21034
Modified:
trunk/ui/input/ui/src/main/templates/inputnumberspinner.template.xml
Log:
RF-10095
Modified: trunk/ui/input/ui/src/main/templates/inputnumberspinner.template.xml
===================================================================
--- trunk/ui/input/ui/src/main/templates/inputnumberspinner.template.xml 2011-01-14
16:02:27 UTC (rev 21033)
+++ trunk/ui/input/ui/src/main/templates/inputnumberspinner.template.xml 2011-01-14
16:24:44 UTC (rev 21034)
@@ -39,12 +39,14 @@
</cc:interface>
<cc:implementation>
<span id="#{clientId}" class="rf-insp
#{component.attributes['styleClass']}" cdk:passThroughWithExclusions="id
class" >
+ <cdk:object name="inputSize" type="Integer"
cast="true" value="#{component.attributes['inputSize']}"
/>
<input name="#{clientId}" type="text"
class="rf-insp-inp #{component.attributes['inputClass']}"
value="#{getInputValue(facesContext, component)}"
cdk:passThrough="accesskey disabled maxlength onblur onfocus
onclick:oninputclick ondblclick:oninputdblclick onkeydown:oninputkeydown
onkeypress:oninputkeypress onkeyup:oninputkeyup onmousedown:oninputmousedown
onmousemove:oninputmousemove onmouseout:oninputmouseout
- onmouseover:oninputmouseover onmouseup:oninputmouseup onselect size:inputSize
tabindex"
- readonly="#{!component.attributes['enableManualInput']}"
autocomplete="#{component.attributes['disableBrowserAutoComplete'] ?
'off' : ''}" />
+ onmouseover:oninputmouseover onmouseup:oninputmouseup onselect tabindex"
+ readonly="#{!component.attributes['enableManualInput']}"
autocomplete="#{component.attributes['disableBrowserAutoComplete'] ?
'off' : ''}"
+ size="#{inputSize > 0 ? inputSize : null}"/>
<span class="rf-insp-btns">
<span class="rf-insp-inc#{component.attributes['disabled'] ?
'-dis' : ''}" cdk:passThrough="onclick:onupclick" />
<span class="rf-insp-dec#{component.attributes['disabled'] ?
'-dis' : ''}" cdk:passThrough="onclick:ondownclick" />