Forums Register Login

rich file upload browse button text displaying differently in Chrome browser

+Pie Number of slices to send: Send
hi,


In our application we are using <rich:fileUpload> component to uploading files. As of now its working properly.

We are using rich faces 4.1.0.Final version.

But the issue was, browse button text is displaying as Choose File in the Chrome browser, but in remaining browsers it was displaying as Browse.
And the view of the component is also displaying differently in the Chrome browser.

I tried to change the label using addLabel and addControlLabel attributes. But the issue was still reproducing.

Why this is happening. But i want to display a common text for the button across all the browsers. Am i missing anything?

Can anyone help me and have any idea about this issue?

thanks in advance.
+Pie Number of slices to send: Send
Can you please anyone give me a reason for this.?
+Pie Number of slices to send: Send
Can you provide the XHTML please?
+Pie Number of slices to send: Send
The following is the code that we are used to file upload.




anything wrong in this code...! please let me know...
+Pie Number of slices to send: Send
Does anybody knows, Why this is happening in Chrome browser?
Am struggling with this issue. I googled for the solutions, but i didn't get the solutions.
Please replay me anyone. your help its really appreciated.
+Pie Number of slices to send: Send
hi James Boswell,

I have posted the xhtml code as per your reply. Can you look at the code once and let me know if i missed any thing. Please reply me.
1
+Pie Number of slices to send: Send
Two seconds of Googling turned up this thread, which confirmed my belief that the label on that button cannot be changed on any browser, for security reasons.
A sonic boom would certainly ruin a giant souffle. But this tiny ad would protect it:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 2779 times.
Similar Threads
Web interface to delete folder
Browse button change in file control html
<h:inputText> rendering problem in JSF1.2
Browsers and Their Back Buttons.
Happy New Year! Welcome to our new forums!
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 13:43:29.