<meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  
  
    <div class="moz-cite-prefix">Johan,<br>
      <br>
      thanks a lot for this idea and code draft. It is of course exactly
      what I need. <br>
      <br>
      Given that we use that background process thing at another place
      (show a progress dialog for a long running process), it is sad but
      trrue I didn't think of the same technique for this purpose. But
      of course this is the perfect thing to do. Thus the Ajax's will be
      short running and the browser won't wait for the data. Definitely
      worth it.<br>
      <br>
      Once again: thanks a lot for your guidance and help! I still hope
      one day I can give something back.<br>
      <br>
      Maybe a drink in Prague at ESUG 2016 counts as a first attempt?
      ;-)<br>
      <br>
      Joachim<br>
      <br>
      <br>
      <br>
      Am 20.11.15 um 09:52 schrieb Johan Brichau-2 [via Smalltalk]:<br>
    </div>
    <blockquote style='border-left:2px solid #CCCCCC;padding:0 1em'
      cite="mid:A842D58A-065B-40BE-B517-66D09C5485D9@inceptive.be"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <br class="">
      <div>
        <blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #CCCCCC;padding:0 1em"
          type="cite" class="">
          <div class="">On 20 Nov 2015, at 09:57, Johan Brichau &lt;<a
              moz-do-not-send="true"
              href="/user/SendEmail.jtp?type=node&amp;node=4862164&amp;i=0"
              target="_top" rel="nofollow" link="external">[hidden
              email]</a>&gt; wrote:</div>
          <br class="Apple-interchange-newline">
          <div class="">
            <div style="font-family: Helvetica; font-size: 12px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; orphans: auto; text-align:
              start; text-indent: 0px; text-transform: none;
              white-space: normal; widows: auto; word-spacing: 0px;
              -webkit-text-stroke-width: 0px;" class="">
              <div class="">This perfectly fits your decoration
                implementation. Something along these lines (disclaimer:
                untested code written in email client :) :</div>
            </div>
          </div>
        </blockquote>
        <div><br class="">
        </div>
        <div>The code I sent before will poll a bit too quickly :) I
          forgot to add a wait on the client:</div>
        <br class="">
        <div class="">
          <div style="font-family: Helvetica; font-size: 12px;
            font-style: normal; font-variant: normal; font-weight:
            normal; letter-spacing: normal; orphans: auto; text-align:
            start; text-indent: 0px; text-transform: none; white-space:
            normal; widows: auto; word-spacing: 0px;
            -webkit-text-stroke-width: 0px;" class="">
            <div class=""><br class="">
            </div>
            <div class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>replaced<br
                class="">
              <span class="Apple-tab-span" style="white-space: pre;">        </span><span class="Apple-tab-span" style="white-space: pre;">        </span>ifTrue:
              [div with: [self renderNextOn: html]]<br class="">
              <span class="Apple-tab-span" style="white-space: pre;">        </span><span class="Apple-tab-span" style="white-space: pre;">        </span>ifFalse:
              [<br class="">
              <span class="Apple-tab-span" style="white-space: pre;">        </span><span class="Apple-tab-span" style="white-space: pre;">        </span><span class="Apple-tab-span" style="white-space: pre;">        </span>html
              document addLoadScript: (self loadScriptOn: html).<br
                class="">
            </div>
            <div class=""><span class="Apple-tab-span" style="white-space: pre;">        </span><span class="Apple-tab-span" style="white-space: pre;">        </span><span class="Apple-tab-span" style="white-space: pre;">        </span>div
              with: [<br class="">
              <span class="Apple-tab-span" style="white-space: pre;">        </span><span class="Apple-tab-span" style="white-space: pre;">        </span><span class="Apple-tab-span" style="white-space: pre;">        </span><span class="Apple-tab-span" style="white-space: pre;">        </span>html
              image src: someSpinnerImage<br class="">
              <span class="Apple-tab-span" style="white-space: pre;">        </span><span class="Apple-tab-span" style="white-space: pre;">        </span><span class="Apple-tab-span" style="white-space: pre;">        </span><span class="Apple-tab-span" style="white-space: pre;">        </span>html
              space; text: self message]]</div>
            <div class=""><br class="">
            </div>
            <span class="Apple-tab-span" style="white-space: pre;">        </span>loadScriptOn:
            html</div>
          <div style="font-family: Helvetica; font-size: 12px;
            font-style: normal; font-variant: normal; font-weight:
            normal; letter-spacing: normal; orphans: auto; text-align:
            start; text-indent: 0px; text-transform: none; white-space:
            normal; widows: auto; word-spacing: 0px;
            -webkit-text-stroke-width: 0px;" class=""><br class="">
          </div>
          <div style="font-family: Helvetica; font-size: 12px;
            font-style: normal; font-variant: normal; font-weight:
            normal; letter-spacing: normal; orphans: auto; text-align:
            start; text-indent: 0px; text-transform: none; white-space:
            normal; widows: auto; word-spacing: 0px;
            -webkit-text-stroke-width: 0px;" class="">
            <div class=""><span class="Apple-tab-span" style="white-space: pre;">                </span>(html
              jQuery: self idSelector) load html: [:r |</div>
            <div class=""><span class="Apple-tab-span" style="white-space: pre;">                                        </span>self
              isDataReady</div>
            <div class=""><span class="Apple-tab-span" style="white-space: pre;">                                                </span>ifTrue:[ replaced
              := true.<br class="">
              <span class="Apple-tab-span" style="white-space: pre;">        </span><span class="Apple-tab-span" style="white-space: pre;">        </span><span class="Apple-tab-span" style="white-space: pre;">        </span><span class="Apple-tab-span" style="white-space: pre;">        </span><span class="Apple-tab-span" style="white-space: pre;">                        </span> 
                self renderNextOn: html]</div>
            <div class=""><span class="Apple-tab-span" style="white-space: pre;">                                                </span>ifFalse:
              [ r addLoadScript: ((self loadScriptOn: r) timeout: 1000)
              ]).</div>
          </div>
        </div>
      </div>
      <div class=""><br class="">
      </div>
      <br>
      _______________________________________________
      <br>
      seaside mailing list
      <br>
      <a moz-do-not-send="true"
        href="/user/SendEmail.jtp?type=node&amp;node=4862164&amp;i=1"
        target="_top" rel="nofollow" link="external">[hidden email]</a>
      <br>
      <a moz-do-not-send="true"
href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside"
        target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
      <br>
      <br>
      <hr color="#cccccc" size="1" noshade="noshade">
      <div style="color:#444; font: 12px
        tahoma,geneva,helvetica,arial,sans-serif;">
        <div style="font-weight:bold">If you reply to this email, your
          message will be added to the discussion below:</div>
        <a moz-do-not-send="true"
href="http://forum.world.st/Non-blocking-jQuery-load-tp4861881p4862164.html" target="_top" rel="nofollow" link="external">http://forum.world.st/Non-blocking-jQuery-load-tp4861881p4862164.html</a>
      </div>
      <div style="color:#666; font: 11px
tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
        To unsubscribe from Non-blocking jQuery load, <a
          moz-do-not-send="true"
href="" target="_top" rel="nofollow" link="external">click
          here</a>.<br>
        <a moz-do-not-send="true"
href="http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_top" link="external">NAML</a> </div>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
-----------------------------------------------------------------------
Objektfabrik Joachim Tuchel          <a href="/user/SendEmail.jtp?type=node&node=4862167&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
Fliederweg 1                         <a class="moz-txt-link-freetext" href="http://www.objektfabrik.de" target="_top" rel="nofollow" link="external">http://www.objektfabrik.de</a>
D-71640 Ludwigsburg                  <a class="moz-txt-link-freetext" href="http://joachimtuchel.wordpress.com" target="_top" rel="nofollow" link="external">http://joachimtuchel.wordpress.com</a>
Telefon: +49 7141 56 10 86 0         Fax: +49 7141 56 10 86 1

</pre>
  



        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://forum.world.st/Non-blocking-jQuery-load-tp4861881p4862167.html">Re: Non-blocking jQuery load</a><br/>
Sent from the <a href="http://forum.world.st/Seaside-General-f86180.html">Seaside General mailing list archive</a> at Nabble.com.<br/>