Hi,

Models are not support for visible/enabled state.

The recommended pattern is overriding onConfigure()

onConfigure() {
  setVisible(/*... lazy evaluated ...*/)
}

Regards
Sven


On 10.03.22 00:31, smallufo wrote:
Currently , component visible is defined by a eager evaluated boolean value

public final Component setVisible(final boolean visible)

Is it able to make it accept IModel<Boolean> ?
(so that we can lazy evaluated the value)

Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to