3 Replies Latest reply on Jun 4, 2009 10:07 AM by svande

    2 fileUpload elements

    svande

      Hello,
      I have 2 fileUpload components on a page. After I use the one, the other does not work any more. The Add button does not react.
      I have a a4j:support element nested in them to invoke a reRender.
      After a full page reload (both) the elements are working again.
      Does anyone know what's wrong?
      Wilfred

        • 1. Re: 2 fileUpload elements
          ilya_shaikovsky

          which version you using? In 3.2.2 there was such issues as far as I remember. Please update RF to 3.3.1 GA.

          If not helps paste code snippets.

          • 2. Re: 2 fileUpload elements
            svande

            Priviet,
            I ma using the one from 18th of May, with colorPicker and all.
            Here is a snippet. There are 2 of those fileUpload components.

            <a4j:region id="editCustomSkinRegion">
             <a4j:form>
             <s:decorate id="favoriteIconField" template="/layout/edit.xhtml">
             <ui:define name="label">Upload</ui:define>
             <rich:fileUpload>
             <a4j:support event="onuploadcomplete" />
             </rich:fileUpload>
             </s:decorate>


            • 3. Re: 2 fileUpload elements
              svande

              I fixed it by explicitly rerendering the other fileUpload component.
              Thanks anyway.