[Seaside] Forcing a page refresh from a callback

Cédrick Béler cdrick65 at gmail.com
Tue May 19 14:12:58 UTC 2009


if Ajax, add a script with onSuccess: or onComplete: so that you have
one of them:

onClick="window.location.reload()"
onClick="history.go(0)"
onClick="window.location.href=window.location.href"

I think (in 2.9) that you can send #refresh to the generated ajax
script (see JSScript>>refresh).

Another option is to use an updater on a div that encapsulate the full page.

hth,


2009/5/19 Cédrick Béler <cdrick65 at gmail.com>:
> Hi,
>
> Except if you use ajax, a callback should reload the page...
>
> Do you use ajax there ?
>
> Cédrick
>
> 2009/5/19 Marco D'Ambros <marco.dambros at lu.unisi.ch>:
>> Hi,
>>
>> is there a way to force a page refresh from a callcack?
>>
>> cheers
>> Marco
>> _______________________________________________
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>
>
>
> --
> Cédrick
>



-- 
Cédrick


More information about the seaside mailing list