<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Sabine,<br>
      <br>
      fur such things, I set up an instance  variable in the component
      with the text to display, for off a process that does the actual
      processing and updates the variable with the text reperesenting
      the progress.<br>
      <br>
      On the client side, I setup a timeout that will issue an ajax
      callback back to the server every x smsecs and. The server will
      answer the current string. The Javascript code can then update the
      "please wait" dialog, or, in your case, open an alert if the text
      has changed from last time.<br>
      <br>
      I am not near an image right now, so I cannot provide sample
      code...<br>
      <br>
      Joachim<br>
      <br>
      <br>
      <br>
      Am 21.07.17 um 15:39 schrieb Sabine Manaa:<br>
    </div>
    <blockquote
cite="mid:CA+UbgZa3Jadh9kdV-eu0MZ0pdMNLBwsrHVkVv7C8xuv-64=avA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Hi,</div>
        <div><br>
        </div>
        <div>while generating reports, I want to show the user some kind
          of information about the status of the report generation.
          After each step, I want to alert him about the status. Alert
          is only an example for reducing the problem here.  will use
          the mdlSnackbar for it.</div>
        <div><br>
        </div>
        <div>When he clicks on "create reports", an alert should show
          before the first step and then after each next step. In my
          reduced example below, the alerts are all shown at the end,
          AFTER the script.</div>
        <div><br>
        </div>
        <div>How can I do this, I don't get it and could need some
          help...</div>
        <div>Sabine</div>
        <div><br>
        </div>
        <div>reducedExample>>html mdlButton</div>
        <div><span class="gmail-Apple-tab-span" style="white-space:pre">        o</span>nClick:
          (html jQuery ajax</div>
        <div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>script:
          [ :script | </div>
        <div><span class="gmail-Apple-tab-span" style="white-space:pre">                        </span>self
          session reportModel: RKAReportHead new.</div>
        <div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span><span style="white-space:pre">     </span><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>script
          alert: 'Reisekosten' inspect.</div>
        <div><span class="gmail-Apple-tab-span" style="white-space:pre">                        </span>RKAPDFWriter
          new createCostReports: self session.</div>
        <div><span class="gmail-Apple-tab-span" style="white-space:pre">                        </span>script
          alert: 'Belege' inspect.</div>
        <div><span class="gmail-Apple-tab-span" style="white-space:pre">                        </span>RKAPDFWriter
          new createReceiptReports:  self session.</div>
        <div><span class="gmail-Apple-tab-span" style="white-space:pre">                        </span>script
          alert: 'Fahrten' inspect.</div>
        <div><span class="gmail-Apple-tab-span" style="white-space:pre">                        </span>RKAPDFWriter
          new createVehicleReports:  self session.</div>
        <div><span class="gmail-Apple-tab-span" style="white-space:pre">                        </span>script
          alert: 'Buchungen' inspect.</div>
        <div><span class="gmail-Apple-tab-span" style="white-space:pre">                        </span>RKAPDFWriter
          new createBookingReports:  self session ]);</div>
        <div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>with:
          'test'</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
seaside mailing list
<a class="moz-txt-link-abbreviated" href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>
</pre>
    </blockquote>
    <br>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">-- 
-----------------------------------------------------------------------
Objektfabrik Joachim Tuchel          <a class="moz-txt-link-freetext" href="mailto:jtuchel@objektfabrik.de">mailto:jtuchel@objektfabrik.de</a>
Fliederweg 1                         <a class="moz-txt-link-freetext" href="http://www.objektfabrik.de">http://www.objektfabrik.de</a>
D-71640 Ludwigsburg                  <a class="moz-txt-link-freetext" href="http://joachimtuchel.wordpress.com">http://joachimtuchel.wordpress.com</a>
Telefon: +49 7141 56 10 86 0         Fax: +49 7141 56 10 86 1

</pre>
  </body>
</html>