Author: sergeyhalipov
Date: 2008-03-14 13:53:12 -0400 (Fri, 14 Mar 2008)
New Revision: 6828
Modified:
branches/3.1.x/ui/inputnumber-slider/src/main/templates/inputNumberSlider.jspx
Log:
http://jira.jboss.com/jira/browse/RF-2520
Modified: branches/3.1.x/ui/inputnumber-slider/src/main/templates/inputNumberSlider.jspx
===================================================================
---
branches/3.1.x/ui/inputnumber-slider/src/main/templates/inputNumberSlider.jspx 2008-03-14
17:41:02 UTC (rev 6827)
+++
branches/3.1.x/ui/inputnumber-slider/src/main/templates/inputNumberSlider.jspx 2008-03-14
17:53:12 UTC (rev 6828)
@@ -18,7 +18,10 @@
<f:resource
name="org.richfaces.renderkit.html.images.SliderArrowSelectedImage"
var="arrowSelected" />
<jsp:scriptlet><![CDATA[
- String inputPosition =
(String)component.getAttributes().get("inputPosition");
+ String inputPosition =
(String)component.getAttributes().get("inputPosition");
+ if (!"left".equals(inputPosition) &&
!"right".equals(inputPosition)) {
+ inputPosition = "right";
+ }
boolean disabled = attributeToBoolean(component, "disabled");
boolean showInput = attributeToBoolean(component, "showInput");