Suggestion for file upload (special for images)

UI Components for JSF
Post Reply
averri
Posts: 136
Joined: 07 Sep 2009, 15:51
Location: Brazil

10 Jan 2011, 18:27

There is an interesting photo uploader, with resize option on client side, before upload:

http://www.plupload.com/

icordoba
Posts: 67
Joined: 20 Nov 2010, 19:20

10 Jan 2011, 18:52

Hello,
have you tested it with any JSF2 + PrimeFaces app? (I ask to know if it works with PrimeFaces built in jQuery UI)

Regards,
Ignacio

averri
Posts: 136
Joined: 07 Sep 2009, 15:51
Location: Brazil

10 Jan 2011, 21:04

I'm trying to integrate this project with Primefaces FileUploadFilter.

I must know what is the URL used by the PrimeFaces upload component.

averri
Posts: 136
Joined: 07 Sep 2009, 15:51
Location: Brazil

10 Jan 2011, 21:32

This is a very nice feature: http://www.plupload.com/example_jquery_ui.php

It has integration with JQuery ThemeRoller.

tiagoperes
Posts: 13
Joined: 15 Feb 2011, 21:25

14 Apr 2012, 17:46

Ahh! This would be the greatest addition to the file uploader component! I need to do exactly what Plupload does: resize every image in client side, before they're uploaded to the server.

To solve my problem, I tried to implement a JSF component for plupload, unfortunatelly i can't make it work as intended. As mentioned by averri, Plupload needs an URL to work properly, the URL to receive the files. The problem is: JSF doesn't provide URLs for its methods, so i decided to use a servlet, my problem lies in the communication beetween the JSF and the servlet.

I uploaded the project to Google Code, its current version is 0.2, it works, but with a huge problem in the majority of browsers, I need some help with this, I have no idea about what to do. If you're interested in having a simple way to use Plupload in JSF, please take a look at the project and see if you can help it out ;). Everything you need to know is explained in the 1st page.

http://code.google.com/p/plupload-for-jsf/

Thank you.
JSF 2.1.12 + Primefaces 3.5 + Tomcat 7.0.34 + Maven 3.0.4 + Spring 3.2.2

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 29 guests