Re: seaside Digest, Vol 106, Issue 13

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: seaside Digest, Vol 106, Issue 13

Ted Wrinch
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, [hidden email] wrote:

Message: 6
Date: Wed, 5 Oct 2011 04:42:55 -0700
From: "Boris Popov, DeepCove Labs" <[hidden email]>
Subject: RE: [Seaside] Ajax rendering
To: "Seaside - general discussion"
<[hidden email]>
Message-ID: <[hidden email]>
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


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside