org.apache.tapestry.contrib.link
Class PopupLinkRenderer
java.lang.Object
org.apache.tapestry.link.DefaultLinkRenderer
org.apache.tapestry.contrib.link.PopupLinkRenderer
- All Implemented Interfaces:
- ILinkRenderer
public class PopupLinkRenderer
- extends DefaultLinkRenderer
This renderer emits javascript to launch the link in a window.
- Since:
- 3.0.1
- Version:
- $Id: PopupLinkRenderer.java 386648 2006-03-17 14:57:32Z jkuhnert $
- Author:
- David Solis
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PopupLinkRenderer
public PopupLinkRenderer()
PopupLinkRenderer
public PopupLinkRenderer(String windowName,
String features)
- Initializes the name and features for javascript window.open function.
- Parameters:
windowName
- the window namefeatures
- the window features
constructURL
protected String constructURL(ILink link,
String anchor,
IRequestCycle cycle)
- Description copied from class:
DefaultLinkRenderer
- Converts the EngineServiceLink into a URI or URL. This implementation
simply invokes
ILink.getURL(String, boolean)
.
- Overrides:
constructURL
in class DefaultLinkRenderer
- See Also:
DefaultLinkRenderer.constructURL(org.apache.tapestry.engine.ILink, String, org.apache.tapestry.IRequestCycle)
getWindowName
public String getWindowName()
setWindowName
public void setWindowName(String windowName)
getFeatures
public String getFeatures()
setFeatures
public void setFeatures(String features)