> I could override onConfigure in every component, and read the field that
> controls the enabling/disabling, but that would create a lot of boilerplate
> code for the 80-90% of FormComponents/links that should be disabled. It
> would be a lot cleaner to disable the parent, and only handle the ones I
> want enabled.

Sounds like you want to use a Component.IVisitor on the parent, which deals 
with enanbling/disabling subcomponents based on some state.

- Tor Iver


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

Reply via email to