Hi,

I have a ListView that build up a list of checks. These Checks have all to
be enabled or disabled depending on a bean's property. That property is
binded to a general checkbox (outside the listview). When the user changes
the selection on the main checkbox, the ones in the listview enable/disable.
Now, I see that I can't use the same method I use in the Ajax Behavior,
because at constructor time, the ListView has not been populated yet.

Is there a way to invoke a method after ListView' s onPopulate() ?
Is it a better approach to override isEnabled() on those Checks ? The bean
holding the property to decide it is large, I think I should use a binded
model in this case (getModel().bind("generalProperty"), or the propertyModel
from the general checkbox).

Thanks,
Xavier

Reply via email to