-
1. Re: How to change the SpinnerButton in inputNumberSpinner
v.bannur Jan 25, 2013 8:10 AM (in response to v.bannur)Richfaces,
Please help me
-
2. Re: How to change the SpinnerButton in inputNumberSpinner
jhuska Jan 25, 2013 11:44 AM (in response to v.bannur)Hi there,
have you tried to redefine rf-insp-inc class of inputNumberSpinner ? The background-image property ?
-
3. Re: How to change the SpinnerButton in inputNumberSpinner
v.bannur Jan 28, 2013 3:06 AM (in response to jhuska)Hi Juraj,
I have used the specified class but still arrow images are not replacing. Can you please help me in this.
Is there any parent css class needs to be change?
And i have noticed in firebug the arrow images are coming from the button type image and in src they have hard coded the image path not from the css.
is class rf-insp-inc will override?
My code:
.rf-insp-inc{background-image: url(../images/common/panel_down_arrow.png) !important;}
<rich:inputNumberSpinner id ="noOfRooms"
style="width: 50px; margin-right: 2px; border: 1px solid #cacaca; padding: 0px" inputSize="2"
value="#{hotelSearchBean.searchRequest.noOfRoomItems}" immediate="true" maxValue="6" minValue="1"
enableManualInput="false"
valueChangeListener="#{hotelSearchBean.updateRoomConfiguration}">
<a4j:support ajaxSingle="true" reRender="roomList" event="onchange" oncomplete="return Resize();"/>
</rich:inputNumberSpinner>