|
WUI : API |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.westofj.wui.WPage
org.westofj.wui.WExternalPage
Sends a redirect to the clients browser to redirect the client to the target URL.
Constructor Summary | |
WExternalPage()
Constructs an empty external page. |
|
WExternalPage(String url)
Constructs an external page with the specified target url. |
Method Summary | |
String |
getUrl()
Gets the target URL. |
void |
render(WRunner runner,
PrintWriter out)
Renders the page to the display. |
void |
setUrl(String url)
Sets the target URL. |
Methods inherited from class org.westofj.wui.WPage |
getContext, getMargin, getMarginUnit, getRunner, getTitle, getWidget, setContext, setMargin, setMargin, setMarginUnit, setTitle, setTitle, setWidget |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WExternalPage()
public WExternalPage(String url)
url
- the target url.Method Detail |
public String getUrl()
public final void render(WRunner runner, PrintWriter out) throws WRenderException
WPage
render
in class WPage
runner
- the current runner context.out
- the output print writer.
WRenderException
public void setUrl(String url)
url
- the target URL.
|
Copyright (c) 2003 West of J - All rights reserved. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |