Author: sergeyhalipov
Date: 2007-07-13 09:02:25 -0400 (Fri, 13 Jul 2007)
New Revision: 1620
Modified:
branches/3.0.2/richfaces/inputnumber-slider/src/main/java/org/richfaces/renderkit/InputNumberSliderRendererBase.java
branches/3.0.2/richfaces/inputnumber-slider/src/main/templates/inputNumberSlider.jspx
Log:
http://jira.jboss.com/jira/browse/RF-442
Modified:
branches/3.0.2/richfaces/inputnumber-slider/src/main/java/org/richfaces/renderkit/InputNumberSliderRendererBase.java
===================================================================
---
branches/3.0.2/richfaces/inputnumber-slider/src/main/java/org/richfaces/renderkit/InputNumberSliderRendererBase.java 2007-07-13
12:53:35 UTC (rev 1619)
+++
branches/3.0.2/richfaces/inputnumber-slider/src/main/java/org/richfaces/renderkit/InputNumberSliderRendererBase.java 2007-07-13
13:02:25 UTC (rev 1620)
@@ -22,6 +22,7 @@
package org.richfaces.renderkit;
import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
import org.richfaces.component.UIInputNumberSlider;
@@ -39,5 +40,9 @@
protected boolean attributeToBoolean(UIComponent component, String attributeName) {
return getUtils().isBooleanAttribute(component, attributeName);
}
+
+ public String writeSpace() {
+ return " ";
+ }
}
\ No newline at end of file
Modified:
branches/3.0.2/richfaces/inputnumber-slider/src/main/templates/inputNumberSlider.jspx
===================================================================
---
branches/3.0.2/richfaces/inputnumber-slider/src/main/templates/inputNumberSlider.jspx 2007-07-13
12:53:35 UTC (rev 1619)
+++
branches/3.0.2/richfaces/inputnumber-slider/src/main/templates/inputNumberSlider.jspx 2007-07-13
13:02:25 UTC (rev 1620)
@@ -96,9 +96,9 @@
<td id="#{clientId}Track">
<div style="position : relative">
<div id="#{clientId}Tip" class="dr-insldr-tip
rich-inslider-tip #{component.attributes['tipClass']}" style="display:
none;#{component.attributes['tipStyle']}">
-  </div>
+ #{this:writeSpace()}</div>
<div class="dr-insldr-handler rich-inslider-handler
#{component.attributes['handleClass']}" id="#{clientId}Handle">
-  </div>
+ #{this:writeSpace()}</div>
</div>
<div class="dr-insldr-track rich-inslider-track
#{component.attributes['barClass']}"
style="#{component.attributes['barStyle']}">
<table class="dr-insldr-track-decor-1" cellpadding="0"
cellspacing="0">