FileUpload - property 'handleFileUpload' not found

UI Components for JSF
Post Reply
honyk
Posts: 150
Joined: 28 Sep 2010, 11:14

09 Sep 2011, 23:43

Hello Everyone,

I've successfuly used the PF FileUpload component in my Netbeans 6.9.1 ANT based project on both Tomcat 6 and 7 (with small changes in web.xml).

I use the showcase code for processing uploads.

Now I converted that project into Maven based project and upgraded to Netbeans 7.0.1 with Tomcat 7.

When editing index.xhtml, Netbeans underlines ''handleFileUpload' expression and complains that this property is not found on fileUploadController object (which is true). When I run this project, the following exception is displayed.

Code: Select all

javax.el.ELException: /index.xhtml: Property 'handleFileUpload' not found on type in.drifted.dyschart.FileUploadController
NetBeans requires add there brackets with parameter. I've encountered this complaints earlier when testing version for Tomcat 6 with 'el' libraries (specified also in web.xml) on Tomcat 7. When these libraries were removed, everything was fine again.

In Maven I have no 'el' libraries specified so I really have no clue where the source of my problem is.
Has anybody any experience with this?

Thanks in advance for any hint.

Regards,
Jan

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 49 guests