I'm not sure I understand what you mean. Components can be added to
MarkupContainers, and if they are, the containers they are added to are
set as their parents. In component there is getParent() which should
give that parent. Actually, all components except pages have such parents.
Eelco
Nick Heudecker wrote:
Hi,
Suppose I have a newly created parent object and I want to create
child objects that belong to the parent. By "belong", I mean that I
set the reference from the parent to the child. How do I get access to
the parent object? I'm not explicitly removing it from the Page class
when the user completes the process.
Is there an example app that does this? Thanks.
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user