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.
| Online: | 27 Members of 4493 |
| Forum: Seam Users |
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!
2 Replies: | |||
|---|---|---|---|
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! |
Marcos Sousa marcossousa.com Enjoy it!