0 Replies Latest reply on Jan 21, 2011 12:40 PM by Song Wang

    "+Add" doesn't go with button (rich:fileUpload)

    Song Wang Newbie

      I use JSF 1.2 and IE 6. I put a rich:fileUpload into a simpleTogglePanel. The simpleTogglePanel has a vertical scroll bar. If I scroll it down, the "+Add" text on the upload box button stays but the upload box moves. How am I supposed to fix this bug?

       

      <rich:simpleTogglePanel id="simpleTogglePanel" switchType="client" label="Ingest Content 1" height="50px">

         <h:panelGrid id="components" binding="#{ingestPageBean.ingestPanelGrid}" />

      <h:panelGrid id="fileUploadGrid0" columns="3" columnClasses="top,top">

        <a4j:outputPanel id="out0" ajaxRendered="true" layout="block">

         <!-- Upload box -->

         <h:panelGroup>        

          <rich:fileUpload

           fileUploadListener="#{ingestPageBean.listener}"

           maxFilesQuantity="1" id="upload0"

           immediateUpload="#{ingestPageBean.autoUpload}"

           allowFlash="#{ingestPageBean.useFlash}"

           rendered="#{ingestPageBean.ingestFile == null}"

           immediate="true" listHeight="50" required="true">

           <a4j:support event="onuploadcomplete" reRender="out0" limitToList="out0" />

          </rich:fileUpload>        

         </h:panelGroup>

        </a4j:outputPanel>

      </h:panelGrid>

      </rich:simpleTogglePanel>