3 Replies Latest reply on Jan 9, 2009 10:42 AM by Franco Fernandes

    Thank you for rich:editor and a simple fileupload question

    Franco Fernandes Novice

      Richfaces team,

      Thank you for the new rich:editor component. It worked like a charm and made life so simple.
      I have used it in another J2EE application and love it. Good choice :)


      I have a simple question on rich:fileupload

      I have

      <rich:fileUpload id="upload" acceptedTypes="jpg, gif, png, bmp" maxFilesQuantity="1"
      fileUploadListener="#{itemHome.processImageUpload}"
      autoclear="true" addControlLabel="Browse"
      reRender="itemImage" >
      


      The upload works fine. However after a user uploads an image, the add button is disabled. I set autoclear to true, but that only clears the uploaded image. How do I get the control to return to it's initial state with the add control enabled - to allow the user to change the image if he uploaded an incorrect one the first time ?

      Thanks guys

      Franco