Like this? new YourComponent(id) { @Override public boolean isVisible() { return yourCondition; } }
On Thu, Nov 20, 2008 at 9:33 AM, Marat Radchenko < [EMAIL PROTECTED]> wrote: > So. Is there any recommended (and hopefully not error-prone) way of > handling conditional visibility? > > 2008/11/20 Matej Knopp <[EMAIL PROTECTED]>: > >> That's first confusing point. Javadocs on > >> callOnBeforeRenderIfNotVisible promise us that onBeforeRender will be > >> called even if component is not visible, but it is a lie. > > > > Bad, bad javadoc! > > > > -Matej > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jeremy Thomerson http://www.wickettraining.com