This content has been marked as final.
Show 3 replies
-
1. Re: How custom <rich:fileUpload> component Default Backgroup Image
michpetrov Jan 19, 2015 8:43 AM (in response to naveen200697)1 of 1 people found this helpfulHi,
there is no direct way the change the image, but you can change it through CSS, the plus sign is defined as the background-image of span.rf-fu-btn-cnt-add.
-
2. Re: How custom <rich:fileUpload> component Default Backgroup Image
naveen200697 Jan 20, 2015 9:12 AM (in response to michpetrov)Can you please provide me syntax, how I can implement this.
As I am new to JSF...
-
3. Re: Re: How custom <rich:fileUpload> component Default Backgroup Image
michpetrov Jan 21, 2015 5:35 AM (in response to naveen200697)This is just CSS, nothing to do with JSF.
You can set a styleClass for the fileUpload:
<rich:fileUpload styleClass="myClass" />
and then define a CSS rule:
.myClass .rf-fu-btn-cnt-add { background-image: url(path/to/custom/image.gif); }