how to tell when a file upload is finished?

UI Components for JSF
Post Reply
thisisvlad
Posts: 9
Joined: 26 Oct 2010, 21:49

26 Oct 2010, 21:52

i am using the file upload, and i can make it "growl" when complete, but how do i programmatically know when the upload is done? for instance, if i have a form, and the user uploads a file, and i dont want them to be able to submit the form until after the file upload is complete. how can i know?

dmantil
Posts: 93
Joined: 14 Jul 2010, 22:30

07 Dec 2010, 14:26

Hi,
You can do it with the listener.

See the example:
http://www.primefaces.org/showcase/ui/f ... Single.jsf

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 51 guests