org.apache.tapestry.wml
Class GoFormSupportImpl
java.lang.Object
org.apache.tapestry.form.FormSupportImpl
org.apache.tapestry.wml.GoFormSupportImpl
- All Implemented Interfaces:
- FormSupport, FormBehavior
public class GoFormSupportImpl
- extends FormSupportImpl
Subclass of FormSupportImpl
that adjusts the output markup
to conform to WML.
- Since:
- 4.0
- Author:
- Howard M. Lewis Ship
Methods inherited from class org.apache.tapestry.form.FormSupportImpl |
addDeferredRunnable, addHiddenValue, addHiddenValue, getElementId, getElementId, isRewinding, prerenderField, render, rewind, setEncodingType, wasPrerendered |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GoFormSupportImpl
public GoFormSupportImpl(IMarkupWriter writer,
IRequestCycle cycle,
IForm form)
writeTag
protected void writeTag(IMarkupWriter writer,
java.lang.String method,
java.lang.String url)
- Overrides:
writeTag
in class FormSupportImpl
writeHiddenField
protected void writeHiddenField(IMarkupWriter writer,
java.lang.String name,
java.lang.String id,
java.lang.String value)
- Overrides:
writeHiddenField
in class FormSupportImpl
addEventHandler
public void addEventHandler(FormEventType type,
java.lang.String functionName)
- Description copied from class:
FormSupportImpl
- Adds an event handler for the form, of the given type.
- Specified by:
addEventHandler
in interface FormBehavior
- Overrides:
addEventHandler
in class FormSupportImpl
emitEventManagerInitialization
protected java.lang.String emitEventManagerInitialization()
- Description copied from class:
FormSupportImpl
- Pre-renders the form, setting up some client-side form support. Returns the name of the
client-side form event manager variable.
- Overrides:
emitEventManagerInitialization
in class FormSupportImpl