From: gavinc <nu...@jb...> - 2005-05-10 15:42:37
|
In MyFaces you need to define their extenstionsFilter to handle the multipart request that a file upload produces. If this filter is not called the request arrives at the portal's/MyFaces door in multipart/form-data encoding and not application/x-www-form-urlencoded. The request doesn't get handled propely then and you just remain on the same JSF page! I've just replied to a message from Stan regarding this (http://www.jboss.com/index.html?module=bb&op=viewtopic&t=63779) so hopefully he can let me know if there is a different way of doing it! We were also hoping to use Acegi for some of our security mechanisms and this also relies on filters being called before the request is actually handled. I think the portlet filters stuff may work for the security stuff but not for the multipart requests as those need to be handled real early in the request cycle? Cheers, Gav View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877209#3877209 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877209 |