-
1. How can I deploy the portlets at GateIn startup?
hoang_to Mar 17, 2011 6:11 AM (in response to andre.winkler)The Import Application registers deployed applications (portlets/gadgets) to Application Registry Service.
What do you mean by deploy the portlets at GateIn startup?
-
2. How can I deploy the portlets at GateIn startup?
ndkhoiits Mar 17, 2011 6:20 AM (in response to hoang_to)I guess he means that the portlet is added to Application list as soon as the webapp deployed.
You can do it by raise an event that invoke importAllPortlets() method in ApplicationRegistryService. But I don't understand why you want to add the portlet to Application list automatically, it should be managed by application management
-
3. How can I deploy the portlets at GateIn startup?
andre.winkler Mar 17, 2011 6:20 AM (in response to hoang_to)I do not want to do this step and manually import the applications over the steps Group -> Administration -> Application Registry and so on. I want that my portlets are registered automatically.
-
4. How can I deploy the portlets at GateIn startup?
andre.winkler Mar 17, 2011 6:22 AM (in response to ndkhoiits)How (java code) can I raise this event and where?
-
5. How can I deploy the portlets at GateIn startup?
hoang_to Mar 17, 2011 7:16 AM (in response to andre.winkler)You could create a custom WCI listener (a class implement WebAppListener) and register it to the servlet container. For sample code, let's have look at GateInSkinConfigDeployer class
-
6. How can I deploy the portlets at GateIn startup?
trong.tran Mar 17, 2011 7:35 AM (in response to andre.winkler)the application are imported by default to Application Registry portlet are configured in WEB-INF/conf/portal/application-registry-configuration.xml under the org.exoplatform.application.registry.ApplicationRegistryService service. You could add your portlet information here.
is this what you are looking for ?