Re: Refreshing complete page from a header component
Re: Refreshing complete page from a header component
- Subject: Re: Refreshing complete page from a header component
- From: Paul Lynch <email@hidden>
- Date: Fri, 29 Jun 2007 14:17:30 +0100
On 29 Jun 2007, at 12:31, Johan Henselmans wrote:
I must be missing something: I have a header component, which
contains the menubar, and sets the default language, by calling
session.setlanguages() via a WOHyperlink. After that I want to
return the current page. But a "return this" from within the Header
WOComponent will only return the header. Any idea how to get the
current page returned from within the header component?
This is the structure:
WOComponent->Page
WOComponent->Header
rest....
WOComponent->Footer
Try:
return context().page();
Paul
_______________________________________________
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