I&#39;ve had the same problem before. The following code should work for returning the URL for a callback block:<br><br><br>&gt;&gt; callbackUrlFor: aBlock on: html<br>&nbsp;| updater callbackKey url |                &nbsp;<br>&nbsp;updater := html updater callback: aBlock.                &nbsp;<br>
&nbsp;callbackKey := html callbacks registerAjaxCallback: [updater process].&nbsp;<br>&nbsp;url := html context actionUrl withParameter: callbackKey.&nbsp;<br>&nbsp;^ url<br><br><p>Then you can use it in your render like this....</p><p></p><p>&gt;&gt; renderContentOn: html&nbsp;<br>
</p><p>| callbackUrl |</p><p>callbackUrl := self callbackUrlFor: [:r | r text: &#39;Example!&#39; ] on: html.</p><p>html anchor class: &#39;jTip&#39;; id: &#39;element-id&#39;; url: callbackUrl; with: &#39;Mouse over for tooltip&#39;.</p>
<br clear="all"><br>-- <br>-------<br>K. Sackey<br><p>Cloud Nine
</p><p></p><p></p><p></p><p></p><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><br>I&#39;m porting an app to seaside that is using jTip<br>(<a href="http://www.codylindley.com/blogstuff/js/jtip/">http://www.codylindley.com/blogstuff/js/jtip/</a>) to handle tooltips.<br>
jTip works on links like the one below<br><br>&lt;a id=&quot;element-id&quot; class=&quot;jTip&quot; href=&quot;/callback-url?width=450&quot;&gt;Mouse<br>over for tooltip&lt;/a&gt;<br><br>where callback-url will return the html to render as the tooltip. How<br>
do I generate the callback-url?<br><br>Searching the archives, the closest I could find was a snippet like:<br><br>html updater<br>&nbsp; callback: [ :r | r render: &#39;bar&#39; ];<br>&nbsp; url.<br><br>However, this just evaluates to <a href="http://localhost:8080/seaside/myapp">http://localhost:8080/seaside/myapp</a><br>
<br>Any help would be appreciated.<br><br>Thanks,<br>Wilkes<br><br></blockquote>