|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hivemind.impl.BaseLocatable
org.apache.tapestry.AbstractComponent
org.apache.tapestry.form.AbstractFormComponent
net.sf.tacos.ajax.components.AbstractSubmit
net.sf.tacos.ajax.components.AjaxLinkSubmit
public abstract class AjaxLinkSubmit
Implements a component that submits its enclosing form via a JavaScript link. [ Component Reference ]
| Field Summary | |
|---|---|
static String |
ATTRIBUTE_NAME
The name of an IRequestCycle attribute in which the current
submit link is stored. |
| Constructor Summary | |
|---|---|
AjaxLinkSubmit()
|
|
| Method Summary | |
|---|---|
protected void |
cleanupAfterRender(org.apache.tapestry.IRequestCycle cycle)
|
abstract AjaxDirectService |
getAjaxEngine()
Injected ajax service |
protected boolean |
getCanTakeFocus()
Links can not take focus, ever. |
String |
getComponentId()
The component Id used by script |
String |
getHiddenId()
The hidden form field id |
protected boolean |
getRenderBodyOnRewind()
Returns true; the LinkSubmit's body should render during a rewind, even if the component is itself disabled. |
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)
Checks the submit name to see if it matches this LinkSubmit's assigned element name. |
boolean |
isDeferred()
Causes initial event connection to be deferred |
protected void |
prepareForRender(org.apache.tapestry.IRequestCycle cycle)
|
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, 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, 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 net.sf.tacos.ajax.AjaxSubmitInvocation |
|---|
getFunctionName, isClientSideValidationEnabled, isSubmitNormal |
| Methods inherited from interface net.sf.tacos.ajax.AjaxInvocation |
|---|
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 |
| Field Detail |
|---|
public static final String ATTRIBUTE_NAME
IRequestCycle attribute in which the current
submit link is stored. LinkSubmits do not nest.
| Constructor Detail |
|---|
public AjaxLinkSubmit()
| Method Detail |
|---|
public abstract Collection getUpdateComponents()
protected boolean isClicked(org.apache.tapestry.IRequestCycle cycle,
String name)
isClicked in class AbstractSubmitpublic abstract org.apache.tapestry.IScript getScript()
public abstract AjaxDirectService getAjaxEngine()
protected void renderFormComponent(org.apache.tapestry.IMarkupWriter writer,
org.apache.tapestry.IRequestCycle cycle)
renderFormComponent in class org.apache.tapestry.form.AbstractFormComponentAbstractFormComponent.renderFormComponent(org.apache.tapestry.IMarkupWriter,
org.apache.tapestry.IRequestCycle)public String getComponentId()
public String getHiddenId()
public boolean isDeferred()
protected void prepareForRender(org.apache.tapestry.IRequestCycle cycle)
prepareForRender in class org.apache.tapestry.AbstractComponentAbstractComponent.prepareForRender(org.apache.tapestry.IRequestCycle)protected void cleanupAfterRender(org.apache.tapestry.IRequestCycle cycle)
cleanupAfterRender in class org.apache.tapestry.AbstractComponentAbstractComponent.cleanupAfterRender(org.apache.tapestry.IRequestCycle)protected boolean getCanTakeFocus()
getCanTakeFocus in class org.apache.tapestry.form.AbstractFormComponentprotected boolean getRenderBodyOnRewind()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||