2 Replies Latest reply on Apr 3, 2008 9:44 PM by nohacks

    t:inputFileUpload and Ajax

    nitinn79

      Hi,
      Has anyone tried an ajax action using the t:inputFileUpload tag.
      I just cannot seem to get it working.

      I tried 't:inputFileUpload' with the a4j:commandButton. However the file content appears to be null in the actionListener method.

      Using h:commandButton also, I was unable to get the file content in the actionListener method. However it works fine if the action method is set. But this results in the entire page being refreshed. I am trying to upload an image and display it on the same page without refreshing the entire page content..

      regards
      Nitin