Author: d.bulahov
Date: 2007-03-21 06:57:43 -0400 (Wed, 21 Mar 2007)
New Revision: 109
Modified:
trunk/richfaces/inputnumber-slider/src/main/templates/inputNumberSlider.jspx
Log:
RFA-322 fixed. I am add "color: gray;" in textinput if disabled slider
Modified: trunk/richfaces/inputnumber-slider/src/main/templates/inputNumberSlider.jspx
===================================================================
---
trunk/richfaces/inputnumber-slider/src/main/templates/inputNumberSlider.jspx 2007-03-21
09:16:21 UTC (rev 108)
+++
trunk/richfaces/inputnumber-slider/src/main/templates/inputNumberSlider.jspx 2007-03-21
10:57:43 UTC (rev 109)
@@ -47,8 +47,13 @@
variables.setVariable("inputReadOnly",
new Boolean(!manualInput || disabled));
+ if (!manualInput || disabled){
+ variables.setVariable("color", "color: gray;");
+ }
+ else{
+ variables.setVariable("color", "");
+ }
-
//if (showInput || manualInput) {
if (showInput) {
]]></jsp:scriptlet>
@@ -57,7 +62,7 @@
value="#{this:getInputValue(context,component)}"
type="text"
class="dr-insldr-field rich-inslider-field
#{component.attributes['inputClass']}"
- style="#{component.attributes['inputStyle']}"
+ style="#{component.attributes['inputStyle']} #{color}"
readonly="#{inputReadOnly}"
onselect="#{component.attributes['onselect']}"
accesskey="#{component.attributes['accesskey']}"
Show replies by date