I need to upload a file to Jackrabbit Repository using Seam Framework running on Portlet, with the <s:fileUpload/> component.
It doesn't work.
I've tried different ways to solve the problem, but none worked.
It could be a bug.
It seams that when the enctype of h:form is ="multipart/form-data", the method upload of fileManager is not called; if I don't set the enctype of h:form the method upload is called, but the bean file is null.
I'm trying with this configutaration:
<h:form id="myForm" enctype="multipart/form-data" >
<s:fileUpload accept="" fileName="#
<h:commandButton value="Upload" action="#
"file" is the bean that represents the file uploaded
"fileManager" is the bean that use the file uploaded