@ImmutableSessionPersistedObject public class PageCallback extends Object implements Serializable
Constructor and Description |
---|
PageCallback(String pageName) |
PageCallback(String pageName,
EventContext activationContext) |
PageCallback(String pageName,
String[] activationContext) |
Modifier and Type | Method and Description |
---|---|
protected String |
activationContextDescription()
Returns the activation context as a string of value separated by slashes.
|
String |
getPageName() |
protected boolean |
hasActivationContext()
Does the activation context have any values? Used, typically, inside an override of
toString() . |
Link |
toLink(PageRenderLinkSource linkSource)
Converts the callback (the page name and activation context) to a link; such a link may be
returned from a event handler method to cause Tapestry to redirect to the page.
|
String |
toString() |
public PageCallback(String pageName, String[] activationContext)
public PageCallback(String pageName, EventContext activationContext)
public PageCallback(String pageName)
public String getPageName()
protected final boolean hasActivationContext()
toString()
.protected final String activationContextDescription()
toString()
.public Link toLink(PageRenderLinkSource linkSource)
PageRenderLinkSource
service.linkSource
- used to generate the link5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.