Mail Archive Home | exoplatform List | May 2007 Index
| <-- Date Index --> | <-- Thread Index --> |
This a very handy feature that you will see everywhere in eXo. eXo uses dependency injection. The injection is done by constructor thanks to PicoContainer.
So, to answer your question this is actually the PortalContainer who passes the params to UIOrganizationPortlet.
-- Patrice
I would know where the constructors of portlet inheriting from UIPorlet can be found or configured :
public class UIOrganizationPortlet extends UIPortlet {
public UIOrganizationPortlet(UIGroupNode uiGroupNode,
UIMembershipNode uiMembershipNode) throws Exception {
setId("organization-portlet");
...
In this example where in eXo the params UIGroupNode uiGroupNode, UIMembershipNode uiMembershipNode are passed to the portlet (xml file? java hook?).
Thank you for your help flo.
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.