|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.primix.tapestry.AbstractComponent | +--com.primix.tapestry.BaseComponent | +--com.primix.tapestry.AbstractPage | +--com.primix.tapestry.BasePage | +--tutorial.portal.ErrorPage
A base page for pages that contain an error property.
Fields inherited from class com.primix.tapestry.AbstractPage |
engine, name |
Fields inherited from class com.primix.tapestry.BaseComponent |
outer, OUTER_INIT_SIZE, outerCount |
Fields inherited from class com.primix.tapestry.AbstractComponent |
id, page, specification, wrapped, wrappedCount |
Constructor Summary | |
ErrorPage()
|
Method Summary | |
void |
detach()
Prepares the page to be returned to the pool. |
java.lang.String |
getError()
|
IValidationDelegate |
getValidationDelegate()
|
void |
setError(java.lang.String value)
|
protected void |
setErrorField(java.lang.String idPath,
java.lang.String fieldError)
Marks a particular IValidatingTextField as in error,
and sets the page's error property, if not already
set. |
Methods inherited from class com.primix.tapestry.BasePage |
getResponseWriter |
Methods inherited from class com.primix.tapestry.AbstractPage |
addPageCleanupListener, addPageDetachListener, addPageRenderListener, attach, beginResponse, cleanupPage, firePageBeginRender, firePageCleanup, firePageDetached, firePageEndRender, getChangeObserver, getEngine, getExtendedId, getIdPath, getLocale, getName, getNestedComponent, getPage, getRequestCycle, getVisit, renderPage, setChangeObserver, setLocale, setName, setRequestCycle, validate |
Methods inherited from class com.primix.tapestry.BaseComponent |
addOuter, finishLoad, readTemplate, render |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.primix.tapestry.IComponent |
addAsset, addComponent, addWrapped, finishLoad, getAsset, getAssets, getBinding, getBindingNames, getBindings, getComponent, getComponents, getContainer, getId, getSpecification, renderWrapped, setBinding, setContainer, setId, setPage, setSpecification |
Methods inherited from interface com.primix.tapestry.IRender |
render |
Constructor Detail |
public ErrorPage()
Method Detail |
public IValidationDelegate getValidationDelegate()
protected void setErrorField(java.lang.String idPath, java.lang.String fieldError)
IValidatingTextField
as in error,
and sets the page's error property, if not already
set.public void detach()
AbstractPage
PageDetachListener.pageDetached(PageEvent)
on all listeners
Subclasses may override this method, but must invoke this implementation (usually, last).
detach
in class AbstractPage
com.primix.tapestry.IPage
IPageSource.releasePage(IPage)
public java.lang.String getError()
public void setError(java.lang.String value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |