This content has been marked as final.
Show 2 replies
-
-
2. Re: file upload, determine file type
kleinerroemer May 25, 2008 7:25 PM (in response to kleinerroemer)thanks for the useful link!
the problem is that I ran into another problem with it:
the
<rich:fileUpload id="upload" rendered="true" fileUploadListener="#{uploadfile.file}" maxFilesQuantity="1" reRender="notpersisted" acceptedTypes="bln, cvs, txt"> <ajax:support event="onuploadcomplete" reRender="notpersisted" /> </rich:fileUpload>
doesn't get displayed. I don't know why... The debug output says that the referenced id upload (from an label) is not found in the page..
I've also experienced some problems with ajax (ajax tags can't resolve the properties... they simply can't find any methode in my actions beans).
These problems might be related with each other..
P.s. richfaces namespace is bound to:
xmlns:rich="http://richfaces.org/rich"
and ajax to
xmlns:ajax="http://richfaces.org/a4j"
Greets!