|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidad.context.PartialPageContext
public abstract class PartialPageContext
Context object which is used to track the targets of a partial page render during the Render Response phase. Clients never need to explicitly create PartialPageContext objects, but can retrieve them from a RenderingContext instance. For general access to Partial Page Rendering during all phases, see APIs on the RequestContext API.
During the partial rendering pass, some Renderer implementations may modify the set of partial targets that are rendered. (For example, the FormRenderer adds a partial target for its shared hidden fields.)
Constructor Summary | |
---|---|
protected |
PartialPageContext()
|
Method Summary | |
---|---|
abstract void |
addPartialTarget(java.lang.String id)
Adds a new partial target to render. |
abstract void |
addRenderedPartialTarget(java.lang.String id)
Adds a partial target that has already been rendered; this is needed if the "clientId" of a component does not match up to the top element (or elements). |
abstract java.util.Iterator<java.lang.String> |
getPartialTargets()
Returns the set of partial targets for this rendering pass. |
abstract java.util.Iterator<java.lang.String> |
getRenderedPartialTargets()
|
abstract boolean |
isInsidePartialTarget()
Returns true if we are inside of a partial target. |
abstract boolean |
isPartialTarget(java.lang.String id)
Tests whether the specified id is the client id of a UIComponent that should be rendered as part of the partial rendering pass. |
abstract boolean |
isPartialTargetRendered(java.lang.String id)
Tests whether the specified partial target has been rendered. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected PartialPageContext()
Method Detail |
---|
public abstract boolean isPartialTarget(java.lang.String id)
public abstract java.util.Iterator<java.lang.String> getPartialTargets()
public abstract boolean isPartialTargetRendered(java.lang.String id)
public abstract void addPartialTarget(java.lang.String id)
This method may be called during the partial rendering pass to add to the set of partial targets, but only if the pass has not yet been completed.
id
- The id of the partial target to renderpublic abstract boolean isInsidePartialTarget()
public abstract void addRenderedPartialTarget(java.lang.String id)
public abstract java.util.Iterator<java.lang.String> getRenderedPartialTargets()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |