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: &#39;id&#39; put: html nextId ;</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>at: &#39;text&#39; put: &#39;Annuleer&#39; ;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span>at: &#39;click&#39; 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: &#39;id&#39; put: html nextId ;</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>at: &#39;text&#39; put: &#39;Ok&#39; ;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span>at: &#39;click&#39; put: (html jQuery ajax </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 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>
______________________________<u></u>_________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.<u></u>squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.<u></u>org/cgi-bin/mailman/listinfo/<u></u>seaside</a><br>
</blockquote></div><br></div>