| |
|
| java.lang.Object org.apache.wicket.PageMap
All known Subclasses: org.apache.wicket.AccessStackPageMap,
Inner Class :static interface IVisitor | |
DEFAULT_NAME | final public static String DEFAULT_NAME(Code) | | Name of default pagemap
|
PageMap | public PageMap(String name)(Code) | | Constructor
Parameters: name - The name of this page map Parameters: session - The session holding this page map |
attributePrefix | final String attributePrefix()(Code) | | The attribute prefix for this page map |
continueToOriginalDestination | final public boolean continueToOriginalDestination()(Code) | | Redirects to any intercept page previously specified by a call to
redirectToInterceptPage.
True if an original destination was redirected to See Also: PageMap.redirectToInterceptPage(Page) |
dirty | final protected void dirty()(Code) | | |
forName | public static IPageMap forName(String pageMapName)(Code) | | Gets a page map for a page map name, automatically creating the page map
if it does not exist. If you do not want the pagemap to be automatically
created, you can call Session.pageMapForName(pageMapName, false).
Parameters: pageMapName - The name of the page map to get The PageMap with the given name from the current session |
getMetaData | final public Serializable getMetaData(MetaDataKey key)(Code) | | Gets metadata for this PageMap using the given key.
Parameters: key - The key for the data The metadata or null of no metadata was found for the given key See Also: MetaDataKey |
getSession | final public Session getSession()(Code) | | Session this page map is in |
redirectToInterceptPage | final public void redirectToInterceptPage(Class pageClazz)(Code) | | Redirects browser to an intermediate page such as a sign-in page. The
current request's URL is saved exactly as it was requested for future use
by continueToOriginalDestination(); Only use this method when you plan to
continue to the current URL at some later time; otherwise just use
setResponsePage or, when you are in a constructor, redirectTo.
Parameters: pageClazz - The page clazz to temporarily redirect to |
redirectToInterceptPage | final public void redirectToInterceptPage(Page page)(Code) | | Redirects browser to an intermediate page such as a sign-in page. The
current request's URL is saved exactly as it was requested for future use
by continueToOriginalDestination(); Only use this method when you plan to
continue to the current URL at some later time; otherwise just use
setResponsePage or, when you are in a constructor, redirectTo.
Parameters: page - The page to temporarily redirect to |
setMetaData | final public void setMetaData(MetaDataKey key, Serializable object)(Code) | | Sets the metadata for this PageMap using the given key. If the metadata
object is not of the correct type for the metadata key, an
IllegalArgumentException will be thrown. For information on creating
MetaDataKeys, see
MetaDataKey .
Parameters: key - The singleton key for the metadata Parameters: object - The metadata object throws: IllegalArgumentException - See Also: MetaDataKey |
visitEntries | final protected void visitEntries(IVisitor visitor)(Code) | | Parameters: visitor - The visitor to call at each Page in this PageMap. |
|
|
|