org.apache.tapestry.corelib.components
Class PageLink

java.lang.Object
  extended by org.apache.tapestry.corelib.base.AbstractLink
      extended by org.apache.tapestry.corelib.components.PageLink
All Implemented Interfaces:
ClientElement

public class PageLink
extends AbstractLink
implements ClientElement

Generates a render request link to some other page in the application. If an activation context is supplied (as the context parameter), then the context values will be encoded into the URL. If no context is supplied, then the target page itself will supply the context via a passivate event.

Pages are not required to have an activation context. When a page does have an activation context, the value typically represents the identity of some object displayed or otherwise manipulated by the page.


Constructor Summary
PageLink()
           
 
Method Summary
 String getClientId()
          Returns the unique client id for this element.
 
Methods inherited from class org.apache.tapestry.corelib.base.AbstractLink
getLink, isDisabled, writeLink
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageLink

public PageLink()
Method Detail

getClientId

public String getClientId()
Description copied from class: AbstractLink
Returns the unique client id for this element. This is valid only after the component has rendered (its start tag), and then only if the component is enabled.

Specified by:
getClientId in interface ClientElement
Overrides:
getClientId in class AbstractLink


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.