OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | exoplatform List | May 2007 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [exoplatform] Portelts inheriting from UIPortelet constructor parameters?


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




FLORENT.TROLAT a écrit :
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  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.