you can override onbeforerender, call super first, then iterate over
the children and do what you need to.


On Tue, Mar 16, 2010 at 6:44 AM, Xavier López <> wrote:
> 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

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to