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

    rich:fileUpload fails inside component with dynamically rend

    Randy Saborio Newbie

      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"/>

      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.