Accessing the object of the contained page
Accessing the object of the contained page
- Subject: Accessing the object of the contained page
- From: Florijan Stamenkovic <email@hidden>
- Date: Tue, 19 Apr 2005 18:10:57 +0200
Hi list.
I have a PageWrapper component in which I keep the navbar and some user
info (if user is there). This component has a WOComponentContent in one
big cell. Other components are all partial HTML documents and are
wrapped in the PageWrapper.
If the user is not logged in, the Wrapper holds a hyperlink to the
login page (at least that is my intention). I would like to return the
user back to the page he was on when he clicked the login hyperlink. To
do that I would need to pass the page the user is looking at (that is
wrapped in my PageWrapper) to the login page, hold it there, and return
it on successful login, as I see it. But I can't get it by using "this"
because the component action that returns the login page is in the
PageWrapper component.
Is this the wrong way to do it? I didn't find this particular issue in
the archives, although I also wasn't sure what keywords to search for.
Flor
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden