> -1- isVisible is called a lot. It is easily called ten times within 1
> request

If you need to optimize, you can use lazy initialization of a boolean
variable here and reset it in onBeforeRender?

> -2- isVisible can make your model be reloaded multiple times within 1
> request

If you need to optimize, you can use lazy initialization of a boolean
variable here and reset it in onBeforeRender?

I consider overriding isVisible a more clean OO approach. Using
setVisible results in messy non transparent chain of command.

**
Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to