|
||||||||||
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.link.AbstractLinkComponent org.apache.tapestry.link.DirectLink net.sf.tacos.ajax.components.AjaxDirectLink
public abstract class AjaxDirectLink
Generates links that invoke ajax requests to
AjaxDirectService
engine service.
Constructor Summary | |
---|---|
AjaxDirectLink()
|
Method Summary | |
---|---|
org.apache.tapestry.engine.ILink |
getAjaxLink()
Generates ajax link for form submission via javascript |
abstract String |
getIdParameter()
The html id |
org.apache.tapestry.engine.ILink |
getLink(org.apache.tapestry.IRequestCycle cycle)
|
String |
getLinkArguments(org.apache.tapestry.IRequestCycle cycle)
Deprecated. Use AjaxUtils.getLinkArguments(AjaxInvocation, boolean)
- will be removed before tacos4-final. |
String |
getLinkString(org.apache.tapestry.IRequestCycle cycle)
Deprecated. Use AjaxUtils.getLinkString(AjaxInvocation, boolean)
- will be removed before tacos4-final. |
abstract org.apache.tapestry.IScript |
getScript()
Injected script invoked when our link is clicked |
abstract boolean |
isDirect()
Whether or not to invoke targeted components directly |
void |
renderAdditionalAttributes(org.apache.tapestry.IMarkupWriter writer,
org.apache.tapestry.IRequestCycle cycle)
|
Methods inherited from class org.apache.tapestry.link.DirectLink |
---|
constructServiceParameters, getListener, getListenerInvoker, getParameters, isStateful, trigger |
Methods inherited from class org.apache.tapestry.link.AbstractLinkComponent |
---|
addEventHandler, cleanupAfterRender, finishLoad, getAnchor, getLink, getRenderer, isDisabled, renderComponent, setRenderer, writeEventHandler, writeEventHandlers |
Methods inherited from class org.apache.tapestry.AbstractComponent |
---|
addAsset, addBody, addComponent, checkActiveLock, enterActiveState, 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.AjaxInvocation |
---|
getAjaxEngine, getBackLink, getEffects, getEncodingType, getForwardLink, getPopup, getPreEffects, getStatusElement, getUpdateComponents, getUpdateObject |
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 |
Methods inherited from interface org.apache.tapestry.components.ILinkComponent |
---|
getPort, getScheme, getTarget |
Constructor Detail |
---|
public AjaxDirectLink()
Method Detail |
---|
public abstract org.apache.tapestry.IScript getScript()
public abstract boolean isDirect()
public abstract String getIdParameter()
public org.apache.tapestry.engine.ILink getLink(org.apache.tapestry.IRequestCycle cycle)
getLink
in interface org.apache.tapestry.components.ILinkComponent
getLink
in class org.apache.tapestry.link.DirectLink
public org.apache.tapestry.engine.ILink getAjaxLink()
getAjaxLink
in interface AjaxInvocation
ILink
to be used in async io javascript callspublic void renderAdditionalAttributes(org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.IRequestCycle cycle)
renderAdditionalAttributes
in interface org.apache.tapestry.components.ILinkComponent
renderAdditionalAttributes
in class org.apache.tapestry.link.AbstractLinkComponent
public String getLinkString(org.apache.tapestry.IRequestCycle cycle)
AjaxUtils.getLinkString(AjaxInvocation, boolean)
- will be removed before tacos4-final.
public String getLinkArguments(org.apache.tapestry.IRequestCycle cycle)
AjaxUtils.getLinkArguments(AjaxInvocation, boolean)
- will be removed before tacos4-final.
cycle
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |