net.sf.tacos.partial
Interface PartialTrigger

All Superinterfaces:
IComponent, IDirect, IRender, org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder
All Known Implementing Classes:
PartialCall, PartialLink

public interface PartialTrigger
extends IDirect

Interface implemented by components that wish to participate in partial method calls.

Author:
jkuhnert

Method Summary
 String getPartId(IRequestCycle cycle)
          Gets the part id of the html being partially rendered.
 Object getRefreshParts()
          Optional list of refresh part ids that should be rendered in addition to the main part.
 
Methods inherited from interface org.apache.tapestry.IDirect
isStateful, trigger
 
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
 

Method Detail

getPartId

public String getPartId(IRequestCycle cycle)
Gets the part id of the html being partially rendered.

Returns:
The part id to render.

getRefreshParts

public Object getRefreshParts()
Optional list of refresh part ids that should be rendered in addition to the main part.

Returns:
Object/list/array of part ids.