Hi list,<div><br></div><div>I've got a problem when rendering a component on an AJAX dialog, I have a table where there is an anchor in each row containing the following (among other stuff):</div><div><br></div><div><div>
<span class="Apple-tab-span" style="white-space:pre"><i>        </i></span><i>| id |</i></div><div><span class="Apple-tab-span" style="white-space:pre"><i>        </i></span><i>(html div)</i></div><div><span class="Apple-tab-span" style="white-space:pre"><i>                </i></span><i>id: (id := html nextId);</i></div>
<div><span class="Apple-tab-span" style="white-space:pre"><i>                </i></span><i>script:</i></div><div><span class="Apple-tab-span" style="white-space:pre"><i>                                </i></span><i>((html jQuery new dialog)</i></div><div><span class="Apple-tab-span" style="white-space:pre"><i>                                                </i></span><i>html: (AComponent new withParameter: anObject);</i></div>
<div><span class="Apple-tab-span" style="white-space:pre"><i>                                                </i></span><i>title: anObject objectName)</i><i>.</i></div><div><span class="Apple-tab-span" style="white-space:pre"><i>        </i></span><i>html</i></div><div>
<span class="Apple-tab-span" style="white-space:pre"><i>                </i></span><i>tableData: [ </i></div><div><span class="Apple-tab-span" style="white-space:pre"><i>                        </i></span><i>(html anchor)</i></div><div><span class="Apple-tab-span" style="white-space:pre"><i>                                </i></span><i>onClick: (html jQuery id: id) dialog open;</i></div>
<div><span class="Apple-tab-span" style="white-space:pre"><i>                                </i></span><i>with: 'Open my component for anObject in a dialog box' ]</i></div></div><div><br></div><div>Now, this works perfectly, but AComponent should also be able to call other simple components and handle their callbacks. Not only this, but it contains a form and it should be able to handle its own callbacks without disappearing. Adding these small subcomponents to AComponent's children doesn't help, could someone please point out the way to proceed or give me some example/documentation?</div>
<div><br></div><div>Thanks a lot!</div><div><br></div><div>Bernat Romagosa.</div>