Documentation Archive Developer
Search
Table of Contents Previous Section

WORedirect

Synopsis

WORedirect { url = aURL; };

Description

WORedirect is a component that may be returned to force the user's browser to redirect to another URL. You should only return this component as a response to an action method and never use it in an declarations file directly. This component can be useful, for example, if you have an image map with both static and dynamic actions.

Examples

- (WOComponent *)someAction
{
    WOComponent *aRedirect = [[self application] pageWithName:@"WORedirect"];
    [aRedirect setURL:@"http://enterprise.apple.com"];
    return aRedirect;
}

Table of Contents Next Section