1 Reply Latest reply on Jun 28, 2007 8:09 AM by Ilya Shaikovsky

    Problem seam upload and <a4j:commandButton

    Marco Vitolo Newbie

      Hi,
      I use in my page seam upload with a4j:commandButton, but doesn't works, otherwise, seam upload works with h:commandButton.

      <h:panelGrid columns="3">
       <s:fileUpload data="#{upload.data}" fileName="#{upload.fileName}"/>
      <a4j:commandButton id="upload_Button" value="Upload" actionListener="#{upload.save}" immediate="false"/>
      </h:panelGrid>
      


      in this way, the value of fileName in the action method save is NULL.

      Thanks Regard
      Marco