@override boolean isVisible() {
return ((MyClass)getModelObject()).isSomeValueSet();
}
On 3/16/08, Vitaly Tsaplin <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> How to implement a model driven visibility? Are there any best
> practices? Should I use the AttributeModifier to set a style
> visibility attribute or there is a better way?
>
> Vitaly
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.2
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]