Ok, <br><br>&gt;html anchor<br>&gt;&nbsp;&nbsp; onClick: (html updater<br>&gt;&nbsp; &nbsp; &nbsp; id: &#39;someid&#39;;<br>&gt;&nbsp; &nbsp; &nbsp; callback: [ :r |<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; body := aComponent.<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; self renderBodyOn: r ];<br>&gt;&nbsp; &nbsp; with: &#39;menu 1&#39;.
<br><br>r is renderer, but its renderer of&nbsp; html updater or i must write here html renderer when i call this part of code in:<br><br>anotherComponent &gt;&gt; renderConententOn: html<br>&nbsp;html anchor<br> &nbsp; &nbsp;onClick: (html updater
<br> &nbsp; &nbsp; &nbsp; id: &#39;someid&#39;;<br> &nbsp; &nbsp; &nbsp; callback: [ :r |<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; body := aComponent.<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; self renderBodyOn: r ];<br> &nbsp; &nbsp; with: &#39;menu 1&#39;.<br><br>or r is right in this small example?<br><br><br><div>
<span class="gmail_quote">2007/12/30, Lukas Renggli &lt;<a href="mailto:renggli@gmail.com">renggli@gmail.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt; I want do this in root component render left menu head and bottom and<br>&gt; content area. And i want change content with ajax. Sometimes shows new,<br>&gt; sometimes users account info etc. i look on scriptacolous website but i dont
<br>&gt; find any demo to do this. May be it&#39;s problem i dont know whati want to find<br>&gt; because i think there will be now script to call site skript.php from<br>&gt; index.php :). But can anybody show me best way to do what i want?
<br><br>Have a look at the senders of #updater.<br><br>You pass it the id of the div that you want to change its contents and<br>a callback block that renders the contents of that particular div<br>element. Something like:
<br><br>html anchor<br>&nbsp;&nbsp;&nbsp;&nbsp;onClick: (html updater<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id: &#39;someid&#39;;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; callback: [ :r |<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; body := aComponent.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; self renderBodyOn: r ];<br>&nbsp;&nbsp;&nbsp;&nbsp; with: &#39;menu 1&#39;.<br>html div
<br>&nbsp;&nbsp;&nbsp;&nbsp;id: &#39;someid&#39;;<br>&nbsp;&nbsp;&nbsp;&nbsp;with: [ self renderBodyOn: html ]<br><br>Lukas<br><br>--<br>Lukas Renggli<br><a href="http://www.lukas-renggli.ch">http://www.lukas-renggli.ch</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">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
</a><br></blockquote></div><br>