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"><<a href="mailto:jfitzell@gmail.com">jfitzell@gmail.com</a>></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'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 <<a href="mailto:boris@deepcovelabs.com">boris@deepcovelabs.com</a>> wrote:<br>
> If your ajax callback will be forcing a full refresh, aren't you better off<br>
> just doing a regular callback?<br>
><br>
> -Boris (via BlackBerry)<br>
> ________________________________<br>
> From: <a href="mailto:seaside-bounces@lists.squeakfoundation.org">seaside-bounces@lists.squeakfoundation.org</a><br>
> <<a href="mailto:seaside-bounces@lists.squeakfoundation.org">seaside-bounces@lists.squeakfoundation.org</a>><br>
> To: Seaside - general discussion <<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a>><br>
> Sent: Wed Nov 04 13:16:51 2009<br>
> Subject: Re: [Seaside] Dumb Question: How to render new state after ajax<br>
> callbacks?<br>
><br>
><br>
> 2009/10/15 Karsten <<a href="mailto:karsten@heeg.de">karsten@heeg.de</a>><br>
>><br>
>> Hi Richard,<br>
>><br>
>> you can't do that with Ajax easily. The problem is that during an AJAX<br>
>> callback you're actually rendering and not in the normal callback phase.<br>
>> You could however register a callback that does the answer and send<br>
>> Javascript back to the browser to make the browser jump to the callback's<br>
>> url. However, that's a bit tricky :-)<br>
><br>
><br>
> Hi.<br>
><br>
> Why It can not be implemented in simplest, user transparent way as Richard<br>
> wrote? Or it can?<br>
> I think it's really usefull stuff.<br>
><br>
</div></div><div><div></div><div class="h5">> _______________________________________________<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>
><br>
><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>