[Seaside] Re: seaside Digest, Vol 106, Issue 13
Boris Popov, DeepCove Labs
boris at deepcovelabs.com
Wed Oct 5 17:23:02 UTC 2011
Ted,
Why doesn't "s refresh" just do it for you?
JSScript>>refresh
self goto: self renderContext actionUrl
-Boris
From: seaside-bounces at lists.squeakfoundation.org
[mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of Ted
Wrinch
Sent: Wednesday, October 05, 2011 1:20 PM
To: seaside at lists.squeakfoundation.org
Subject: [Seaside] Re: seaside Digest, Vol 106, Issue 13
Boris,
You are doing almost the same as I am currently, but without the logout.
I love the announcement framework BTW :). What I'm trying to do beyond
that is to refresh a part of my overall page - the whole page would be
fine too. I'm currently investigating a re-direct: something like
self requestContext redirectTo: request url.
where request was saved from an >>initialRequest: callback. This seems
like the kind of thing that ought to do it, but 'request url' is empty.
T.
Ted Wrinch
On 5 Oct 2011, at 12:43, seaside-request at lists.squeakfoundation.org
wrote:
Message: 6
Date: Wed, 5 Oct 2011 04:42:55 -0700
From: "Boris Popov, DeepCove Labs" <boris at deepcovelabs.com>
Subject: RE: [Seaside] Ajax rendering
To: "Seaside - general discussion"
<seaside at lists.squeakfoundation.org>
Message-ID: <CBE458BB46D12C48A467980CEDA34121055043D5 at Pondo.yvr.png>
Content-Type: text/plain; charset="us-ascii"
Ted,
Could this highlighted bit be what you're looking for?
(html anchor)
onClick: ((html jQuery ajax)
script:
[:s |
self
session announce: RequestingLogout.
s
refresh]);
with: 'Log out'
-Boris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20111005/d786be45/attachment.htm
More information about the seaside
mailing list