Author: konstantin.mishin
Date: 2011-02-23 13:10:18 -0500 (Wed, 23 Feb 2011)
New Revision: 21896
Modified:
branches/4.0.X/cdk/attributes/src/main/resources/META-INF/cdk/attributes/input-props.xml
branches/4.0.X/ui/input/ui/src/main/templates/inputnumberslider.template.xml
branches/4.0.X/ui/input/ui/src/main/templates/inputnumberspinner.template.xml
Log:
RF-10578
Modified:
branches/4.0.X/cdk/attributes/src/main/resources/META-INF/cdk/attributes/input-props.xml
===================================================================
---
branches/4.0.X/cdk/attributes/src/main/resources/META-INF/cdk/attributes/input-props.xml 2011-02-23
18:10:17 UTC (rev 21895)
+++
branches/4.0.X/cdk/attributes/src/main/resources/META-INF/cdk/attributes/input-props.xml 2011-02-23
18:10:18 UTC (rev 21896)
@@ -46,8 +46,7 @@
<property-extension>
<cdk:pass-through>false</cdk:pass-through>
<cdk:event-name>change</cdk:event-name>
- <cdk:event-name>valueChange</cdk:event-name>
- <default-behavior>true</default-behavior>
+ <cdk:event-name default="true">valueChange</cdk:event-name>
</property-extension>
</property>
Modified: branches/4.0.X/ui/input/ui/src/main/templates/inputnumberslider.template.xml
===================================================================
---
branches/4.0.X/ui/input/ui/src/main/templates/inputnumberslider.template.xml 2011-02-23
18:10:17 UTC (rev 21895)
+++
branches/4.0.X/ui/input/ui/src/main/templates/inputnumberslider.template.xml 2011-02-23
18:10:18 UTC (rev 21896)
@@ -74,7 +74,7 @@
<span class="rf-insl-tt
#{component.attributes['tooltipClass']}">#{getInputValue(facesContext,
component)}</span>
</c:if>
<!-- TODO Rewrite the next line when the CDK will support normal way to take event
handlers from attributes and behaviors. -->
- <cdk:object name="onchange" type="String"
value="#{convertToString(RenderKitUtils.getAttributeAndBehaviorsValue(facesContext,
component, RenderKitUtils.attributes().generic('onchange', 'onchange',
'change').first()))}" />
+ <cdk:object name="onchange" type="String"
value="#{convertToString(RenderKitUtils.getAttributeAndBehaviorsValue(facesContext,
component, RenderKitUtils.attributes().generic('onchange', 'onchange',
'change', 'valueChange').first()))}" />
<script type="text/javascript">new
RichFaces.ui.InputNumberSlider('#{clientId}', {
delay: #{component.attributes['delay']},
disabled: #{component.attributes['disabled']},
Modified: branches/4.0.X/ui/input/ui/src/main/templates/inputnumberspinner.template.xml
===================================================================
---
branches/4.0.X/ui/input/ui/src/main/templates/inputnumberspinner.template.xml 2011-02-23
18:10:17 UTC (rev 21895)
+++
branches/4.0.X/ui/input/ui/src/main/templates/inputnumberspinner.template.xml 2011-02-23
18:10:18 UTC (rev 21896)
@@ -52,7 +52,7 @@
<span class="rf-insp-dec#{component.attributes['disabled'] ?
'-dis' : ''}" cdk:passThrough="onclick:ondownclick" />
</span>
<!-- TODO Rewrite the next line when the CDK will support normal way to take event
handlers from attributes and behaviors. -->
- <cdk:object name="onchange" type="String"
value="#{convertToString(RenderKitUtils.getAttributeAndBehaviorsValue(facesContext,
component, RenderKitUtils.attributes().generic('onchange', 'onchange',
'change').first()))}" />
+ <cdk:object name="onchange" type="String"
value="#{convertToString(RenderKitUtils.getAttributeAndBehaviorsValue(facesContext,
component, RenderKitUtils.attributes().generic('onchange', 'onchange',
'change', 'valueChange').first()))}" />
<script type="text/javascript">new
RichFaces.ui.InputNumberSpinner('#{clientId}', {
cycled: #{component.attributes['cycled']},
maxValue: #{component.attributes['maxValue']},
Show replies by date