Keith,
thanks, interesting. So this snippet lets you render the Pier widget
from another Seaside app, and all the interactions etc work as
expected? Can I interpret it as embedding parts of Pier in a Seaside
app?
PRCurrentContext use: self during: [...] looks pretty mysterious to me.
I'm not sure, but I think that everything is already set up more or
less to run inside Pier once I have logged in. The login executes a
Pier command, and Confirm is another Pier command, both of them are
successful, it's only that Confirm does not go where I want it to go.
Cheers
Matthias
On 8/3/07, Keith Hodges <keith_hodges(a)yahoo.co.uk> wrote:
Matthias,
I tried some stuff in the PRPierControlPanel which operates on pier, yet
runs in the context of the seaside/config
For code which does this check out the Magma-PersistencyManager and it
depends upon Seaside28Jetsam.
This is the crucial bit non trivial bit for me, where self responds to
#context
ControlPanel-callWidget: widget titled: title
PRCurrentContext use: self during: [
WARenderLoop new call: (widget
addDecoration: (WAWindowDecoration new
title: title;
yourself);
yourself) ]
FYI: This was working in 2.7, but no longer works in 2.8
best regards
Keith
_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki