|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hivemind.impl.BaseLocatable org.apache.tapestry.AbstractComponent org.apache.tapestry.form.AbstractFormComponent net.sf.tacos.ajax.components.AbstractSubmit net.sf.tacos.ajax.components.AjaxSubmit
public abstract class AjaxSubmit
Implements a component that manages an HTML <input type=submit> form element.
This component is generally only used when the form has multiple submit buttons, and it is important for the application to know which one was pressed.
Constructor Summary | |
---|---|
AjaxSubmit()
|
Method Summary | |
---|---|
String |
getComponentId()
The component Id used by script |
String |
getHiddenId()
The hidden form field id |
abstract String |
getLabel()
parameter |
abstract org.apache.tapestry.IScript |
getScript()
Script for processing client side |
abstract Collection |
getUpdateComponents()
Components to update in request |
protected boolean |
isClicked(org.apache.tapestry.IRequestCycle cycle,
String name)
Determine if this submit component was clicked. |
boolean |
isDeferred()
Causes initial event connection to be deferred |
protected void |
renderFormComponent(org.apache.tapestry.IMarkupWriter writer,
org.apache.tapestry.IRequestCycle cycle)
|
Methods inherited from class net.sf.tacos.ajax.components.AbstractSubmit |
---|
constructScriptParameter, getAction, getAjaxLink, getDefer, getEncodingType, getFocusElement, getListener, getListenerInvoker, getParameters, getTag, handleClick, rewindFormComponent, setSelected |
Methods inherited from class org.apache.tapestry.form.AbstractFormComponent |
---|
getAlwaysRenderBodyOnRewind, getCanTakeFocus, getForm, getIdParameter, getName, isRequired, renderComponent, renderDelegateAttributes, renderDelegatePrefix, renderDelegateSuffix, renderIdAttribute, setClientId, setForm, setName, setName |
Methods inherited from class org.apache.tapestry.AbstractComponent |
---|
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, 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, prepareForRender, 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 net.sf.tacos.ajax.AjaxSubmitInvocation |
---|
getFunctionName, isClientSideValidationEnabled, isSubmitNormal |
Methods inherited from interface net.sf.tacos.ajax.AjaxInvocation |
---|
getAjaxEngine, getBackLink, getEffects, getForwardLink, getPopup, getPreEffects, getStatusElement, getUpdateObject |
Methods inherited from interface org.apache.tapestry.form.IFormComponent |
---|
getClientId, getDisplayName, isDisabled |
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 |
---|
public AjaxSubmit()
Method Detail |
---|
public abstract Collection getUpdateComponents()
public abstract org.apache.tapestry.IScript getScript()
protected boolean isClicked(org.apache.tapestry.IRequestCycle cycle, String name)
isClicked
in class AbstractSubmit
protected void renderFormComponent(org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.IRequestCycle cycle)
renderFormComponent
in class org.apache.tapestry.form.AbstractFormComponent
AbstractFormComponent.renderFormComponent(org.apache.tapestry.IMarkupWriter,
org.apache.tapestry.IRequestCycle)
public String getComponentId()
public String getHiddenId()
public boolean isDeferred()
public abstract String getLabel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |