Hi,<div>I have a JQuery Dialog that has a form rendered in it. When the user clicks the "Create" button, I want to serialize the form contents back to the server for validation, and saving in a DB. I want to dialog to stay on the screen until the user clicks "Close"</div>
<div><br></div><div>I have the following code :-</div><div><br></div><div><div><span class="Apple-tab-span" style="white-space:pre">        </span>html div id: (id := html nextId);</div><div><span class="Apple-tab-span" style="white-space:pre">                </span> style: 'display:none';</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span> script: (html jQuery new dialog title: 'Tournaments';</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span> autoOpen: false;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span> draggable: true;</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span> resizable: false;</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span> width: 1000;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span> addButton: 'Create' do: (html jQuery ajax serializeForm callback: [self halt]);</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span> addButton: 'Close' do: html jQuery new dialog close);</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span></div><div><span class="Apple-tab-span" style="white-space:pre">                </span>with: [html render: self createTournamentComponent].</div><div><br></div>I'm not sure what to pass in as the callback, in order to retrieve the serialized fields. The #callback does not accept any parameters. Just getting started with Seaside, and may be thinking about this in the wrong way. </div>
<div><br></div><div>Any help would be appreciated.</div><div><br>-- <br>-JT<br><br><br>
</div>