<br><br><div class="gmail_quote">On Jan 4, 2008 3:38 PM, Esteban A. Maringolo &lt;<a href="mailto:emaringolo@gmail.com">emaringolo@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Answering myself:<br><div class="Ih2E3d"><br>On Jan 4, 2008 2:23 PM, Esteban A. Maringolo &lt;<a href="mailto:emaringolo@gmail.com">emaringolo@gmail.com</a>&gt; wrote:<br>&gt; Two questions:<br>&gt; 1) What is the way to have 2 SU actions in the onClick event?
<br>&gt; One being the toggle, an other a XHR callback to the component,<br>&gt; notifying about the new layout.<br><br></div>This is pending... yet.<br><div class="Ih2E3d"></div></blockquote><div><br class="webkit-block-placeholder">
</div><div>Mmm, I&#39;m using &quot;comma&quot;, like this:&nbsp;</div><div><br></div><div><div><span class="Apple-tab-span" style="white-space:pre">        </span>html anchor</div><div><span class="Apple-tab-span" style="white-space:pre">
                </span>onClick:&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>(html element id: detailtId; toggle) ,&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>(html updater id: detailtId;&nbsp;
</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>callback: [:render |&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span>render render: (childs add: (self post asShow part: self) )]),
</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>(html updater id: titleId;</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>callback: [:render|&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">
                                        </span>self updateMarks.</div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span>self renderTitleOn: render ]);</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>with: self post name.
</div><div><br class="webkit-block-placeholder"></div></div><div>It&#39;s not the best solution, i think (component is updated even when hidding), but works... :) &nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="Ih2E3d"><br>&gt; 2) How to set the hidden/visible status of the &quot;toggled&quot; element<br>&gt; during the render, but leaving it enabled for a future toggle.<br><br></div>I&#39;ve had to inline the &#39;display: none&#39; style of the affected element.
<br><br><br>ps: I can&#39;t write Scriptaculous name right two times in a row. :-) (see subject)<br><div><div></div><div class="Wj3C7c"><br>--<br>Esteban A. Maringolo<br><a href="mailto:eMaringolo@gmail.com">eMaringolo@gmail.com
</a><br>_______________________________________________<br>seaside mailing list<br><a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br></div></div></blockquote></div><br><br clear="all"><br>-- <br>&quot;Querer es suscitar las paradojas&quot;<br>Camus. El míto de Sísifo.