1 Reply Latest reply on Mar 5, 2011 2:25 AM by Ilya Sorokoumov

    a4j:commandButton Demo Required

    Hemant Gupta Newbie

      Hi

       

      I have the following requirement:

       

      User has filled a form.

       

      User clicks on <a4j:commandButton /> a method is called that saves the data in database. If data was saved successfully, user should see a popup window with a preview of the form that he has filled. The new window should show the content only if the data was saved successfully.

       

      This popup window should be a new independent window.

       

      Can anyone give me a demo for the same using a4j:commandButton and whatever ajax calls are required?

       

      Thanks in advance