|
||||||||||
| 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). |
java.lang.Object |
getFieldChange(java.lang.String fieldName)
Get the current persisted value of the field. |
ParameterConduit |
getParameterConduit(java.lang.String parameterName)
Gets a previously stored ParameterConduit, allowing PCs to be shared between a component and a mixin of that component. |
java.lang.String |
getPropertyName(java.lang.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(java.lang.String fieldName)
Checks to see if there is a value stored for the indicated field. |
void |
persistFieldChange(java.lang.String fieldName,
java.lang.Object newValue)
Posts a change to a persistent field. |
void |
postRenderCleanup()
Allows the resources to cleanup any render-time only data. |
void |
setParameterConduit(java.lang.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 |
|---|
java.lang.Object getFieldChange(java.lang.String fieldName)
fieldName - the name of the field to access
boolean hasFieldChange(java.lang.String fieldName)
void persistFieldChange(java.lang.String fieldName,
java.lang.Object newValue)
page to the PersistentFieldManager.
void postRenderCleanup()
void addPageResetListener(PageResetListener listener)
Page.addResetListener(org.apache.tapestry5.internal.structure.PageResetListener).
listener - to registerParameterConduit getParameterConduit(java.lang.String parameterName)
void setParameterConduit(java.lang.String parameterName,
ParameterConduit conduit)
PageLifecycleListener.containingPageDidLoad() lifecycle
method.
java.lang.String getPropertyName(java.lang.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 | |||||||||