<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Thank you so far for your quick respond,<br>
    but do you maybe have another example? Which method calls your
    example-method?<br>
    I tried it with JQDialog&lt;&lt;buttons:&nbsp; but it did not work, am i
    missing something?<br>
    Thank you very much.<br>
    <br>
    Kind Regards<br>
    <br>
    Malte Grunwald<br>
    <br>
    Am 25.11.2011 13:48, schrieb Jan van de Sandt:
    <blockquote
cite="mid:CAGZkxkD8WBqfSytD4=DWkj+L+E9VW9cr0MLP0hWSiTwgOEPS9w@mail.gmail.com"
      type="cite">Hi,
      <div><br>
      </div>
      <div>Sure. I use this a lot. For example you can set the buttons
        of a JQuery dialog this:</div>
      <div><br>
      </div>
      <div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>^
          OrderedCollection new</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>add:
          (Dictionary new</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>at:
          'id' put: html nextId ;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>at:
          'text' put: 'Annuleer' ;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>at:
          'click' put: (html jQuery ajax script: [ :h | self
          actionCancel: h ]) asFunction ;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>yourself)
          ;</div>
        <div><span class="Apple-tab-span" style="white-space: pre; "> </span>add:
          (Dictionary new</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>at:
          'id' put: html nextId ;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>at:
          'text' put: 'Ok' ;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>at:
          'click' put: (html jQuery ajax&nbsp;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>serializeForm:
          (html jQuery id: self personDataFormId) ;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>script:
          [ :s | self actionFinish: s ]) asFunction ;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>yourself)
          ;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>asArray</div>
        <div><br>
        </div>
        <div>In the #actionFinish: method I check the form ans show an
          error message or close the dialog.</div>
        <div><br>
        </div>
        <div>Jan.</div>
        <div><br>
        </div>
        <br>
        <div class="gmail_quote">On Fri, Nov 25, 2011 at 12:55 PM, Malte
          Grunwald <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:malte.grunwald@googlemail.com">malte.grunwald@googlemail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hey
            everyone,<br>
            <br>
            I am actually playing around with the JQDialog, now i have a
            problem.<br>
            <br>
            Beside my close button, i want to create a confirm button,
            which serializes a form and then closes the dialog, like it
            is in every normal Desktopapplication.<br>
            <br>
            Is there any possibility to combine this two actions?<br>
            <br>
            Thank you very much.<br>
            <br>
            Kind Regards<br>
            <br>
            Malte<br>
            _______________________________________________<br>
            seaside mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:seaside@lists.squeakfoundation.org"
              target="_blank">seaside@lists.squeakfoundation.org</a><br>
            <a moz-do-not-send="true"
href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside"
              target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
          </blockquote>
        </div>
        <br>
      </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>
  </body>
</html>