Re: RequestListenerInterface and the page.beforeCall..

2007-07-18 Thread Igor Vaynberg
hrm it is called beforecallcomponent(), if we do not actually call it then we should prob not call the handlers either. -igor On 7/18/07, Johan Compagner <[EMAIL PROTECTED]> wrote: the invoke method does this: public final void invoke(final Page page, final Component component) {

getWrappedModel and getChainedModel (Component.getInnerMostModel())

2007-07-18 Thread Johan Compagner
we have this code in Component: protected final IModel getInnermostModel(final IModel model) { IModel nested = model; while (nested != null && nested instanceof IWrapModel) { final IModel next = ((IWrapModel)nested).getWrappedModel(); if (nested == ne

RequestListenerInterface and the page.beforeCall..

2007-07-18 Thread Johan Compagner
the invoke method does this: public final void invoke(final Page page, final Component component) { page.beforeCallComponent(component, this); if (!component.isEnabled() || !component.isVisibleInHierarchy()) { // just return so that we have a silent fail and ju