Issue about Primeface Upload button

UI Components for JSF
Post Reply
aslekap
Posts: 1
Joined: 03 Oct 2022, 04:07

03 Oct 2022, 04:15

We found some issue for the "Single Upload"

https://www.primefaces.org/showcase/ui/ ... fwid=c5e62

Step 1: Click "+Choose"
Step 2: Select Any file and Confirm. (e.g. abc.txt)
Step 3: Click "+Choose" again
Step 4: Click "Cancel" (We expect nothing selected)

Founding 1: In DEV Tools, some error prompted in console log.

Image

Founding 2: In UI, the selected file on step 2 name is shown (abc.txt),
However, the item has been cleared.
document.getElementsByName("j_idt339:j_idt340_input")[0].value;
Nothing can be uploaded in this scenario.

Image


FYI. We use this version of Primeface and found the same bug in our system.
Is this possible to have a fix? Thanks.
<dependency>
<groupId>org.primefaces</groupId>
<artifactId>primefaces</artifactId>
<version>11.0.0</version>
<classifier>jakarta</classifier>
</dependency>

tandraschko
PrimeFaces Core Developer
Posts: 3932
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

04 Oct 2022, 13:28

Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

Blakewatkins
Posts: 4
Joined: 06 Oct 2022, 06:03

06 Oct 2022, 06:05

Anyway; considering that the application contains components other than PrimeFaces ones on which there is a master style sheet to be applied on all, is there a way where i can easily apply the style sheet on PrimeFaces components blockpost

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests