net.sf.tacos.partial
Class PartialForeach
java.lang.Object
org.apache.hivemind.impl.BaseLocatable
org.apache.tapestry.AbstractComponent
org.apache.tapestry.components.Foreach
net.sf.tacos.partial.PartialForeach
- All Implemented Interfaces:
- IComponent, IRender, org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder
- public abstract class PartialForeach
- extends Foreach
Handles partial renders for Tree
component without
having to contain each loop within a Part
component.
- Author:
- jkuhnert
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, getComponent, getComponents, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isInActiveState, isParameterBound, isRendering, pageEndRender, render, 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.hivemind.LocationHolder |
setLocation |
Methods inherited from interface org.apache.hivemind.Locatable |
getLocation |
PartialForeach
public PartialForeach()
prepareForRender
protected void prepareForRender(IRequestCycle cycle)
-
cleanupAfterRender
protected void cleanupAfterRender(IRequestCycle cycle)
-
renderBody
public void renderBody(IMarkupWriter writer,
IRequestCycle cycle)
-
getPartialBlock
public abstract PartialRenderBlock getPartialBlock()
- Optional render block that will provide
IMarkupWriter
instances for logic not handled by traditional Part/PartialService
semantics.
- Returns:
getKeyProvider
public abstract IKeyProvider getKeyProvider()
- Provides partIds for components participating in
partial requests.
- Returns:
- The key provider required by this component.