Andre Froes wrote:If I could I would, but the only thing that i have is primefaces, that is good enough, but somethings are still to come :D . Well, i managed doing the input type="file", not perfeclty, but it fits at the moment, but now, my commandButton is not performing the action that it is binded to, this is annoying me hehe. It is not even acessing the method.
http://www.primefaces.org/showcase/ui/fileUploadSingle.jsf
Note that in JSF, if ANY control on a form has an invalid value, the entire form is rejected and the action does not fire. The exception to that rule is if you do a partial form submit using AJAX, in which case only the submitted control values have to be valid.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.