net.sf.beanform
Class LinkForm.LinkFormSupport

java.lang.Object
  extended by org.apache.tapestry.form.FormSupportImpl
      extended by net.sf.beanform.LinkForm.LinkFormSupport
All Implemented Interfaces:
FormSupport, FormBehavior
Enclosing class:
LinkForm

public class LinkForm.LinkFormSupport
extends FormSupportImpl

Providing an instance of this class in LinkForm.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.form.FormSupportImpl
FIELD_FOCUS_ATTRIBUTE, FORM_IDS, RESERVED_FORM_IDS, SCRIPT, SUBMIT_MODE
 
Constructor Summary
LinkForm.LinkFormSupport(IMarkupWriter writer, IRequestCycle cycle, IForm form)
           
 
Method Summary
 void render(String method, IRender render, ILink link, String scheme, Integer port)
           
 
Methods inherited from class org.apache.tapestry.form.FormSupportImpl
addDeferredRunnable, addEventHandler, addHiddenValue, addHiddenValue, emitEventManagerInitialization, getElementId, getElementId, isRewinding, prerenderField, registerForFocus, render, rewind, setEncodingType, wasPrerendered, writeHiddenField, writeHiddenFieldList, writeHiddenFields, writeTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkForm.LinkFormSupport

public LinkForm.LinkFormSupport(IMarkupWriter writer,
                                IRequestCycle cycle,
                                IForm form)
Method Detail

render

public void render(String method,
                   IRender render,
                   ILink link,
                   String scheme,
                   Integer port)
Specified by:
render in interface FormSupport
Overrides:
render in class FormSupportImpl


Copyright © 2006 Daniel Gredler. All Rights Reserved.