org.apache.tapestry.wml
Class Go

java.lang.Object
  |
  +--org.apache.hivemind.impl.BaseLocatable
        |
        +--org.apache.tapestry.AbstractComponent
              |
              +--org.apache.tapestry.form.Form
                    |
                    +--org.apache.tapestry.wml.Go
All Implemented Interfaces:
IAction, IComponent, IDirect, IForm, IRender, org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder

public abstract class Go
extends Form

The go element declares a go task, indicating navigation to a URI. If the URI names a WML card or deck, it is displayed.

Since:
3.0
Author:
David Solis

Field Summary
 
Fields inherited from interface org.apache.tapestry.IForm
ATTRIBUTE_NAME
 
Constructor Summary
Go()
           
 
Method Summary
protected  void emitEventHandlers(IMarkupWriter writer, IRequestCycle cycle)
          This component doesn't support event handlers.
 IValidationDelegate getDelegate()
          This component doesn't support delegate.
protected  java.lang.String getDisplayName()
          Returns the name of the element.
protected  java.lang.String getTag()
          Returns the tag of the form.
 void setDelegate(IValidationDelegate delegate)
           
protected  void writeAttributes(IMarkupWriter writer, ILink link)
           
protected  void writeHiddenField(IMarkupWriter writer, java.lang.String name, java.lang.String value)
           
 
Methods inherited from class org.apache.tapestry.form.Form
addEventHandler, addHiddenValue, addHiddenValue, buildAllocatedIdList, cleanupAfterRender, get, getActionService, getDirectService, getElementId, getElementId, getListener, getMethod, getName, getRequiresSession, isDirect, isRewinding, isStateful, prepareForRender, reconstructAllocatedIds, renderComponent, rewind, setEncodingType, trigger, writeHiddenField, writeHiddenValues
 
Methods inherited from class org.apache.tapestry.AbstractComponent
addAsset, addBody, addComponent, checkActiveLock, enterActiveState, finishLoad, finishLoad, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getComponent, getComponents, getContainer, getExtendedId, getId, getIdPath, getListeners, getNamespace, getPage, getProperty, isInActiveState, isParameterBound, isRendering, pageEndRender, render, renderBody, renderInformalParameters, setBinding, setContainer, setId, setNamespace, setPage, setProperty, toString
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.tapestry.IComponent
addAsset, addBody, addComponent, enterActiveState, finishLoad, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getComponent, getComponents, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getProperty, getSpecification, isRendering, renderBody, setBinding, setContainer, setId, setNamespace, setPage, setProperty
 
Methods inherited from interface org.apache.tapestry.IRender
render
 
Methods inherited from interface org.apache.hivemind.LocationHolder
setLocation
 
Methods inherited from interface org.apache.hivemind.Locatable
getLocation
 

Constructor Detail

Go

public Go()
Method Detail

writeAttributes

protected void writeAttributes(IMarkupWriter writer,
                               ILink link)
Overrides:
writeAttributes in class Form
Since:
3.0

writeHiddenField

protected void writeHiddenField(IMarkupWriter writer,
                                java.lang.String name,
                                java.lang.String value)
Overrides:
writeHiddenField in class Form
Since:
3.0

emitEventHandlers

protected void emitEventHandlers(IMarkupWriter writer,
                                 IRequestCycle cycle)
This component doesn't support event handlers.

Overrides:
emitEventHandlers in class Form

getDelegate

public IValidationDelegate getDelegate()
This component doesn't support delegate.

Specified by:
getDelegate in interface IForm
Specified by:
getDelegate in class Form

setDelegate

public void setDelegate(IValidationDelegate delegate)
Specified by:
setDelegate in class Form

getTag

protected java.lang.String getTag()
Description copied from class: Form
Returns the tag of the form. The WML equivalent, Go, overrides this.

Overrides:
getTag in class Form

getDisplayName

protected java.lang.String getDisplayName()
Description copied from class: Form
Returns the name of the element. The WML equivalent, Go, overrides this.

Overrides:
getDisplayName in class Form