Hi folks,
When using tr: in combination with PrettyFaces, the uploads don't seem
to work properly. When using an action listener, the event is never
fired and when using direct value binding (value="#{foo.file}"), the
binding is never done so file remains null.
The problem only occurs when using the pretty version of the URL. When
using the default /faces/foo.jspx, it works fine. This has also been
posted on the Pretty Faces mailing list, without a resolution so far. If
anyone knows of a way to fix this, or where the problem might lie,
please speak up :-)
I've created a little sample project which illustrates the problem. It's
pretty self explanatory, just fire it up, upload and look at
the console output. Then try it without the pretty URL and you'll notice
the difference on the console.
http://www.kuro-shishi.be/static/brokenupload-maven-project.zip
PrettyFaces mailing list post:
http://groups.google.com/group/prettyfaces-users/browse_thread/thread/ef3fbf54e40ea8e4
Thanks,
- Bram