|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InternalComponentResources
An extension of ComponentResources
that represents additional
methods that are private
to the framework and not exposed in any public APIs.
Method Summary | |
---|---|
void |
addPageResetListener(PageResetListener listener)
Delegates to Page.addResetListener(org.apache.tapestry5.internal.structure.PageResetListener) . |
Object |
getFieldChange(String fieldName)
Get the current persisted value of the field. |
ParameterConduit |
getParameterConduit(String parameterName)
Gets a previously stored ParameterConduit, allowing PCs to be shared between a component and a mixin of that component. |
String |
getPropertyName(String parameterName)
Returns the name of the bound property if PropBinding is used and the expression points to a property on a bean (e.g. |
boolean |
hasFieldChange(String fieldName)
Checks to see if there is a value stored for the indicated field. |
void |
persistFieldChange(String fieldName,
Object newValue)
Posts a change to a persistent field. |
void |
postRenderCleanup()
Allows the resources to cleanup any render-time only data. |
void |
setParameterConduit(String parameterName,
ParameterConduit conduit)
Stores a ParameterConduit for later access. |
Methods inherited from interface org.apache.tapestry5.ComponentResourcesCommon |
---|
createActionLink, createEventLink, createFormEventLink, createPageLink, createPageLink, findBlock, getBlock, getBody, getCompleteId, getElementName, getId, getLocale, getLogger, getNestedId, getPageName, getResourceSelector, hasBody, isRendering, triggerContextEvent, triggerEvent |
Methods inherited from interface org.apache.tapestry5.ioc.Locatable |
---|
getLocation |
Methods inherited from interface org.apache.tapestry5.internal.InternalComponentResourcesCommon |
---|
bindParameter, getBinding, getInformalParameterBindings, getMixinByClassName, isLoaded |
Methods inherited from interface org.apache.tapestry5.runtime.RenderCommand |
---|
render |
Method Detail |
---|
Object getFieldChange(String fieldName)
fieldName
- the name of the field to access
boolean hasFieldChange(String fieldName)
void persistFieldChange(String fieldName, Object newValue)
page
to the PersistentFieldManager
.
void postRenderCleanup()
void addPageResetListener(PageResetListener listener)
Page.addResetListener(org.apache.tapestry5.internal.structure.PageResetListener)
.
listener
- to registerParameterConduit getParameterConduit(String parameterName)
void setParameterConduit(String parameterName, ParameterConduit conduit)
PageLifecycleListener.containingPageDidLoad()
lifecycle
method.
String getPropertyName(String parameterName)
PropBinding
is used and the expression points to a property on a bean (e.g. user.name).
Otherwise this method returns null.
parameterName
- name of the parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |