net.sf.tacos.partial
Class PartialLink
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.partial.PartialLink
- All Implemented Interfaces:
- IComponent, IDirect, ILinkComponent, IRender, org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, PartialTrigger
- public abstract class PartialLink
- extends DirectLink
- implements PartialTrigger
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, getComponent, getComponents, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isInActiveState, isParameterBound, isRendering, pageEndRender, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainer, setId, setNamespace, setPage, setProperty, toString |
Methods inherited from class org.apache.hivemind.impl.BaseLocatable |
getLocation, setLocation |
Methods inherited from interface org.apache.tapestry.IComponent |
addAsset, addBody, addComponent, enterActiveState, finishLoad, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getComponent, getComponent, getComponents, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isRendering, renderBody, setBinding, 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 |
PartialLink
public PartialLink()
getPartialService
public abstract IEngineService getPartialService()
- Injected partial service
getLink
public ILink getLink(IRequestCycle cycle)
- Specified by:
getLink
in interface ILinkComponent
getPartId
public String getPartId(IRequestCycle cycle)
- Get the id of the current
Part
being rendered
by this link.
- Specified by:
getPartId
in interface PartialTrigger
- Parameters:
cycle
-
- Returns:
- Id of part, null if not found.
renderAdditionalAttributes
public void renderAdditionalAttributes(IMarkupWriter writer,
IRequestCycle cycle)
- Specified by:
renderAdditionalAttributes
in interface ILinkComponent
getScriptCall
public abstract String getScriptCall()
- Parameter javascript call string
setScriptCall
public abstract void setScriptCall(String value)
- Set javascript call string
getRefreshParts
public abstract Object getRefreshParts()
- Parts to refresh parameter
- Specified by:
getRefreshParts
in interface PartialTrigger
- Returns:
- Object/list/array of part ids.