Support for AlternateParent in containers
-----------------------------------------
Key: WICKET-1237
URL: https://issues.apache.org/jira/browse/WICKET-1237
Project: Wicket
Issue Type: New Feature
Components: wicket
Affects Versions: 1.4.0-alpha
Environment: n.a.
Reporter: Jan Vermeulen
Fix For: 1.4.0-alpha
Provide (or backport from 2.0) an IAlternateParent interface, that allows to
define an alternative parent to add child components.
That should allow us to create components, where users can add child components
to a 'blackbox' component directly, while they are actually added to some
internal container (that you don't want to expose).
One option was to allow the 'add()' to be overridden, but that seemed to be
unacceptable. The other was to have an interface IAlternateParent that was
considered within the add(). That was what 2.0 offered.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.