Thanks for all the answers. Is it possible to get a refresh-url through javascript?<br><br><div class="gmail_quote">On Wed, Nov 4, 2009 at 11:12 PM, Julian Fitzell <span dir="ltr">&lt;<a href="mailto:jfitzell@gmail.com">jfitzell@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">And to be clear, if you really want, you should be able to use #show:<br>
within an ajax callback, just not #call:. You should also be able to<br>
use #answer: as long as the component was displayed with #show: and<br>
not #call:. But of course, you&#39;ll still have to reload the page if you<br>
want to see the result.<br>
<br>
Doing a call in an ajax callback makes little sense because it would<br>
abort the callback without you being able to generate a response<br>
(normal callbacks redirect to another URL which generates the HTML<br>
output).<br>
<font color="#888888"><br>
Julian<br>
</font><div><div></div><div class="h5"><br>
On Wed, Nov 4, 2009 at 1:30 PM, Boris Popov &lt;<a href="mailto:boris@deepcovelabs.com">boris@deepcovelabs.com</a>&gt; wrote:<br>
&gt; If your ajax callback will be forcing a full refresh, aren&#39;t you better off<br>
&gt; just doing a regular callback?<br>
&gt;<br>
&gt; -Boris (via BlackBerry)<br>
&gt; ________________________________<br>
&gt; From: <a href="mailto:seaside-bounces@lists.squeakfoundation.org">seaside-bounces@lists.squeakfoundation.org</a><br>
&gt; &lt;<a href="mailto:seaside-bounces@lists.squeakfoundation.org">seaside-bounces@lists.squeakfoundation.org</a>&gt;<br>
&gt; To: Seaside - general discussion &lt;<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a>&gt;<br>
&gt; Sent: Wed Nov 04 13:16:51 2009<br>
&gt; Subject: Re: [Seaside] Dumb Question: How to render new state after ajax<br>
&gt; callbacks?<br>
&gt;<br>
&gt;<br>
&gt; 2009/10/15 Karsten &lt;<a href="mailto:karsten@heeg.de">karsten@heeg.de</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; Hi Richard,<br>
&gt;&gt;<br>
&gt;&gt; you can&#39;t do that with Ajax easily. The problem is that during an AJAX<br>
&gt;&gt; callback you&#39;re actually rendering and not in the normal callback phase.<br>
&gt;&gt; You could however register a callback that does the answer and send<br>
&gt;&gt; Javascript back to the browser to make the browser jump to the callback&#39;s<br>
&gt;&gt; url. However, that&#39;s a bit tricky :-)<br>
&gt;<br>
&gt;<br>
&gt; Hi.<br>
&gt;<br>
&gt; Why It can not be implemented in simplest, user transparent way as Richard<br>
&gt; wrote? Or it can?<br>
&gt; I think it&#39;s really usefull stuff.<br>
&gt;<br>
</div></div><div><div></div><div class="h5">&gt; _______________________________________________<br>
&gt; seaside mailing list<br>
&gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt;<br>
&gt;<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>