0 Replies Latest reply on Mar 31, 2008 6:18 PM by rhinox

    rich:fileUpload fails inside component with dynamically rend

    rhinox

      rich:fileUpload doesn't work when using request parameters. Consider the following code:

      <h:form enctype="multipart/form-data" rendered="#{param['someparam'] == 'somevalue'}">
       <rich:fileUpload uploadData="#{bean.files}" fileUploadListener="#{bean.listener}">
       <f:param name="someparam" value="somevalue"/>
       </rich:fileUpload>
      </h:form>


      All generated Javascript code for handling fileUpload (even the generated progress bar code) MUST consider the someparam value, or else, request driven applications will not work. The current release (3.2.0-RC8) ignores the someparam causing the previous code to fail.

      I'm using RichFaces 3.2.0 RC8.

      PLEASE HELP!
      Thanks