Author: konstantin.mishin
Date: 2009-05-28 04:49:44 -0400 (Thu, 28 May 2009)
New Revision: 14382
Modified:
branches/community/3.3.X/ui/inputnumber-spinner/src/main/resources/org/richfaces/renderkit/html/css/spinner.xcss
branches/community/3.3.X/ui/inputnumber-spinner/src/main/templates/inputNumberSpinner.jspx
branches/community/3.3.X/ui/inputnumber-spinner/src/test/java/org/richfaces/component/InputNumberSpinnerComponentTest.java
Log:
RF-7221
Modified:
branches/community/3.3.X/ui/inputnumber-spinner/src/main/resources/org/richfaces/renderkit/html/css/spinner.xcss
===================================================================
---
branches/community/3.3.X/ui/inputnumber-spinner/src/main/resources/org/richfaces/renderkit/html/css/spinner.xcss 2009-05-27
19:14:49 UTC (rev 14381)
+++
branches/community/3.3.X/ui/inputnumber-spinner/src/main/resources/org/richfaces/renderkit/html/css/spinner.xcss 2009-05-28
08:49:44 UTC (rev 14382)
@@ -32,7 +32,7 @@
font-size: 0px;
}
-.rich-spinner-bn{
+.rich-spinner-btn{
margin: 0px 1px 1px 0px;
display: block;
border-style: none;
Modified:
branches/community/3.3.X/ui/inputnumber-spinner/src/main/templates/inputNumberSpinner.jspx
===================================================================
---
branches/community/3.3.X/ui/inputnumber-spinner/src/main/templates/inputNumberSpinner.jspx 2009-05-27
19:14:49 UTC (rev 14381)
+++
branches/community/3.3.X/ui/inputnumber-spinner/src/main/templates/inputNumberSpinner.jspx 2009-05-28
08:49:44 UTC (rev 14382)
@@ -79,12 +79,12 @@
<input
type="image"
src="#{up_arrow}"
- class="rich-spinner-bn rich-spinner-button"
+ class="rich-spinner-btn"
style="border:0"
onclick="return false"
- onmousedown="this.className='rich-spinner-bp
rich-spinner-button'"
- onmouseup="this.className='rich-spinner-bn
rich-spinner-button'"
- onmouseout="this.className='rich-spinner-bn
rich-spinner-button'"
+ onmousedown="this.className='rich-spinner-btn-press'"
+ onmouseup="this.className='rich-spinner-btn'"
+ onmouseout="this.className='rich-spinner-btn'"
tabindex="#{component.attributes['tabindex']}" />
<jsp:scriptlet><![CDATA[
} else {
@@ -92,7 +92,7 @@
<input
type="image"
src="#{up_arrow}"
- class="rich-spinner-bn rich-spinner-button"
+ class="rich-spinner-btn"
style="border:0"
onclick="return false"
tabindex="#{component.attributes['tabindex']}"
/>
@@ -106,12 +106,12 @@
<jsp:scriptlet><![CDATA[
if (! disabled) {
]]></jsp:scriptlet>
- <input type="image" src="#{down_arrow}"
class="rich-spinner-bn rich-spinner-button" style="border:0"
onclick="return false"
- onmousedown="this.className='rich-spinner-bp
rich-spinner-button'" onmouseup="this.className='rich-spinner-bn
rich-spinner-button'" onmouseout="this.className='rich-spinner-bn
rich-spinner-button'" />
+ <input type="image" src="#{down_arrow}"
class="rich-spinner-btn" style="border:0" onclick="return
false"
+ onmousedown="this.className='rich-spinner-btn-press'"
onmouseup="this.className='rich-spinner-btn'"
onmouseout="this.className='rich-spinner-btn'" />
<jsp:scriptlet><![CDATA[
} else {
]]></jsp:scriptlet>
- <input type="image" src="#{down_arrow}"
class="rich-spinner-bn rich-spinner-button" style="border:0"
onclick="return false" />
+ <input type="image" src="#{down_arrow}"
class="rich-spinner-btn" style="border:0" onclick="return
false" />
<jsp:scriptlet><![CDATA[
}
]]></jsp:scriptlet>
Modified:
branches/community/3.3.X/ui/inputnumber-spinner/src/test/java/org/richfaces/component/InputNumberSpinnerComponentTest.java
===================================================================
---
branches/community/3.3.X/ui/inputnumber-spinner/src/test/java/org/richfaces/component/InputNumberSpinnerComponentTest.java 2009-05-27
19:14:49 UTC (rev 14381)
+++
branches/community/3.3.X/ui/inputnumber-spinner/src/test/java/org/richfaces/component/InputNumberSpinnerComponentTest.java 2009-05-28
08:49:44 UTC (rev 14382)
@@ -144,7 +144,7 @@
HtmlInput child = (HtmlInput) iter.next();
assertTrue(child.getTypeAttribute().equals("image"));
assertTrue(child.getAttributeValue("class").contains(
- "rich-spinner-bn rich-spinner-button"));
+ "rich-spinner-btn"));
}
}
Show replies by date