Help

Controls

PermLinkWikiLink

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

Forum: Seam Users Forum ListTopic List
17. Apr 2008, 21:17 CET | Link

Hello,

I'm updated RichFaces to 3.2.0GA to use rich:fileUpload.But it doesn't work with seam.

I have made debugs and I found that UploadEvent doesn't bean created. This code doesn't execute.

 if (e instanceof UploadEvent) {
            FacesContext facesContext = FacesContext.getCurrentInstance();
            MethodBinding binding = getFileUploadListener();
            if (binding != null) {
            	binding.invoke(facesContext, new Object[] { e });
            }

        }

Have have richfaces configured in my components.xml look:

 <web:multipart-filter create-temp-files="true" max-request-size="20485760" url-pattern="*.xhtml" />
      <web:ajax4jsf-filter force-parser="true" enable-cache="false" url-pattern="*.xhtml" />

What can be the problem?

Thanks!

 

Marcos Sousa marcossousa.com Enjoy it!

2 Replies:
17. Apr 2008, 23:04 CET | Link
 

Regards,

Siarhei

18. Apr 2008, 02:23 CET | Link

I saw the problem: it was tomahawk! ExtensionsFilter and Rich Faces Filter. Now I customized ExtensionsFilter removing uploads capabilities, but when listener is called UploadEvent doesn't care the uploaded file. Any idea?

 

Marcos Sousa marcossousa.com Enjoy it!