Using <tr:inputFile> fails when using PrettyFaces URLs
------------------------------------------------------

                 Key: TRINIDAD-1527
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1527
             Project: MyFaces Trinidad
          Issue Type: Bug
    Affects Versions:  1.2.11-core
         Environment: Ubuntu 9.10, MyFaces-core 1.2.7, Trinidad 1.11 ,Facelets 
1.11
            Reporter: Lincoln Baxter III


So far, what I can tell is: 

When using an action listener on tr:inputFile, the ActionEvent is 
never fired, and when using direct value binding 
(value="#{foo.file}"), the binding is never bound to the backing bean. 
The file *is* actually uploaded, and is wrapped with trinidad's 
version FileUploadRequestWrapper (or whatever it's called, sorry I 
don't have it up at the moment.) 


The thing that confuses me is: After doing some URL parsing, 
PrettyFaces simply forwards all requests to FacesServlet, using native 
JSF viewIds... so I'm not sure why Trinidad would be breaking on a 
Pretty URL as opposed to a non-Pretty URL. I thought it might be 
related to an issue with my PrettyViewHandler, but that method is only 
called once by the form, which is correct behavior in this specific 
scenario. 

A sample maven project to reproduce this can be found here:
http://www.kuro-shishi.be/static/brokenupload-maven-project.zip 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to