Documentation Archive Developer
Search
[an error occurred while processing this directive] PATH  Documentation > WebObjects 4.5 > WebObjects Reference

Table of Contents

WORedirect


Inherits from: WOComponent WOElement NSObject
Package: com.apple.yellow.webobjects


Class Description


WORedirect is a subclass of WOComponent that may be used 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.




Instance Methods



setURL

public void setURL(String aURL)

Sets the URL to which the user's browser should be redirected to aURL.

url

public String url()

Returns the URL to which the user's browser will be redirected when this component is returned.


Table of Contents