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:
Locatable, LocationHolder, org.apache.tapestry.FormBehavior, org.apache.tapestry.IComponent, org.apache.tapestry.IDirect, org.apache.tapestry.IDirectEvent, org.apache.tapestry.IDynamicInvoker, org.apache.tapestry.IForm, org.apache.tapestry.internal.Component, org.apache.tapestry.IRender

public abstract class LinkForm
extends org.apache.tapestry.form.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 class org.apache.tapestry.AbstractComponent
_body, _bodyCount
 
Constructor Summary
LinkForm()
           
 
Method Summary
protected  org.apache.tapestry.form.FormSupport newFormSupport(org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.IRequestCycle cycle)
           
 
Methods inherited from class org.apache.tapestry.form.Form
addDeferredRunnable, addEventHandler, addHiddenValue, addHiddenValue, cleanupAfterRender, getCancel, getDelegate, getDirectService, getElementId, getElementId, getFormSupportFactory, getListener, getListenerInvoker, getMethod, getName, getPort, getProfile, getRefresh, getRequiresSession, getResponse, getScheme, getSuccess, isFormFieldUpdating, isRewinding, isStateful, peekClientId, prepareForRender, prerenderField, registerForFocus, renderComponent, rewind, setEncodingType, setFormFieldUpdating, trigger, wasPrerendered, wasPrerendered
 
Methods inherited from class org.apache.tapestry.AbstractComponent
addAsset, addBody, addComponent, checkActiveLock, enterActiveState, equals, finishLoad, finishLoad, generateClientId, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getBoundId, getClientId, getComponent, getComponents, getContainedComponent, getContainedRenderers, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getInnerRenderers, getListeners, getMessages, getNamespace, getPage, getRenderWorker, getSpecification, getSpecifiedId, getTemplateTagName, hasEvents, hashCode, isInActiveState, isParameterBound, isRendering, pageEndRender, peekClientId, render, renderBody, renderIdAttribute, renderInformalParameters, setBinding, setClientId, setContainedComponent, setContainer, setHasEvents, setId, setNamespace, setPage, setTemplateTagName, toString, triggerEvent
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, 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, getClientId, getComponent, getComponents, getContainedComponent, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getSpecification, getSpecifiedId, getTemplateTagName, isRendering, peekClientId, renderBody, setBinding, setClientId, setContainedComponent, setContainer, setId, setNamespace, setPage, setTemplateTagName
 
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
 
Methods inherited from interface org.apache.tapestry.IDynamicInvoker
getUpdateComponents, isAsync, isJson
 

Constructor Detail

LinkForm

public LinkForm()
Method Detail

newFormSupport

protected org.apache.tapestry.form.FormSupport newFormSupport(org.apache.tapestry.IMarkupWriter writer,
                                                              org.apache.tapestry.IRequestCycle cycle)
Overrides:
newFormSupport in class org.apache.tapestry.form.Form


Copyright © 2005-2008 SourceForge.net. All Rights Reserved.