net.sf.beanform
Class LinkForm

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.tapestry.AbstractComponent
          extended by org.apache.tapestry.form.Form
              extended by net.sf.beanform.LinkForm
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, FormBehavior, IAction, IComponent, IDirect, IForm, IRender

public abstract class LinkForm
extends Form

A form that expects to be contained by a BeanForm instance and whose direct service link corresponds to the containing BeanForm, rather than itself.

Author:
Daniel Gredler

Nested Class Summary
 class LinkForm.LinkFormSupport
          Providing an instance of this class in newFormSupport(IMarkupWriter, IRequestCycle) is the functional equivalent of overriding Form#getLink(IRequestCycle) so that it returns a link to the containing BeanForm, which we can't do because it is a private method.
 
Field Summary
 
Fields inherited from interface org.apache.tapestry.IForm
ATTRIBUTE_NAME
 
Constructor Summary
LinkForm()
           
 
Method Summary
protected  FormSupport newFormSupport(IMarkupWriter writer, IRequestCycle cycle)
           
 
Methods inherited from class org.apache.tapestry.form.Form
addDeferredRunnable, addEventHandler, addHiddenValue, addHiddenValue, cleanupAfterRender, constructFormNameForActionService, get, getActionService, getCancel, getDelegate, getDirectService, getElementId, getElementId, getLink, getListener, getListenerInvoker, getMethod, getName, getPort, getRefresh, getRequiresSession, getResponse, getScheme, getSuccess, isDirect, isRewinding, isStateful, prepareForRender, prerenderField, registerForFocus, renderComponent, rewind, setEncodingType, trigger, wasPrerendered
 
Methods inherited from class org.apache.tapestry.AbstractComponent
addAsset, addBody, addComponent, checkActiveLock, enterActiveState, finishLoad, finishLoad, format, format, format, format, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getComponent, getComponents, getContainedComponent, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isInActiveState, isParameterBound, isRendering, pageEndRender, render, renderBody, renderInformalParameters, setBinding, setContainedComponent, 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.IForm
getFocus, isClientValidationEnabled
 
Methods inherited from interface org.apache.tapestry.IComponent
addAsset, addBody, addComponent, enterActiveState, finishLoad, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getComponent, getComponents, getContainedComponent, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isRendering, renderBody, setBinding, setContainedComponent, 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

LinkForm

public LinkForm()
Method Detail

newFormSupport

protected FormSupport newFormSupport(IMarkupWriter writer,
                                     IRequestCycle cycle)
Overrides:
newFormSupport in class Form


Copyright © 2006 Daniel Gredler. All Rights Reserved.