/** * By default, pages are not protected and this method does nothing. */ public void validate(IRequestCycle cycle) { Tapestry.addMethodInvocation(Tapestry.ABSTRACTPAGE_VALIDATE_METHOD_ID); firePageValidate(); }
/** * By default, pages are not protected and this method does nothing. */ public void validate(IRequestCycle cycle) { Tapestry.addMethodInvocation(Tapestry.ABSTRACTPAGE_VALIDATE_METHOD_ID); firePageValidate(); }
/** * Prepares the page to be returned to the pool. * <ul> * <li>Clears the changeObserved property * <li>Invokes {@link PageDetachListener#pageDetached(PageEvent)}on all listeners * <li>Clears the engine and requestCycle properties * </ul> * <p> * Subclasses may override this method, but must invoke this implementation (usually, last). * * @see PageDetachListener */ public void detach() { Tapestry.addMethodInvocation(Tapestry.ABSTRACTPAGE_DETACH_METHOD_ID); // Do this first,so that any changes to persistent properties do not // cause errors. _changeObserver = null; firePageDetached(); _engine = null; _requestCycle = null; }
/** * Prepares the page to be returned to the pool. * <ul> * <li>Clears the changeObserved property * <li>Invokes {@link PageDetachListener#pageDetached(PageEvent)}on all listeners * <li>Clears the engine and requestCycle properties * </ul> * <p> * Subclasses may override this method, but must invoke this implementation (usually, last). * * @see PageDetachListener */ public void detach() { Tapestry.addMethodInvocation(Tapestry.ABSTRACTPAGE_DETACH_METHOD_ID); // Do this first,so that any changes to persistent properties do not // cause errors. _changeObserver = null; firePageDetached(); _engine = null; _requestCycle = null; }