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

    Problem seam upload and <a4j:commandButton

    marcovi

      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