How do I embed/load already existing components into other components

Giancarlo Dessena <[email protected]>
Newsgroups gmane.comp.web.webobjects.wonder-disc
Message-ID <[email protected]>
Hi everybody,

I'm trying to fill the tabs of an AjaxTabbedPanel with components that i have already created and stored in a list.
I have been working with the switchComponent to load new components by name, but I don't know which component i can use to embed/load an existing Component.

  <wo:AjaxTabbedPanel id="tabbedPanel">
	  <wo:loop list="$tabs" item = "$tab">
	  		<wo:AjaxTabbedPanelTab name="~tab.title + '  [x]'" >
	  			<wo:??? component = "$tab"  />
	  		</wo:AjaxTabbedPanelTab>
	  </wo:loop>
  </wo:AjaxTabbedPanel>

...
tabs = new NSMutableArray<WOComponent>();
tabs.add(new SearchUser(this.context()));
tabs.add(new User(this.context()));

Any suggestions?

Carlo

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan

_______________________________________________
Wonder-disc mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wonder-disc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.