-
1. Re: Detail about InterPortlet Communication(IPC) in JBoss Po
jon_scott Feb 24, 2007 9:25 AM (in response to srinivasanj)Hi.
You can download sample portlets from portletswap.
For 2.2 it's this:
http://labs.jboss.com/portal/portletswap/downloads/portlets/samples
For 2.4 it's this:
http://labs.jboss.com/portal/portletswap/portlets_tutorial.html
Have a look at the different jboss-service.xml files and you can figure out the packaging by opening the .sar file. I packaged my sar in an ear to avoid problems when restarting the portal.
Please let me know how you get on - I've been having problems redirecting an event. -
2. Re: Detail about InterPortlet Communication(IPC) in JBoss Po
peterj Feb 24, 2007 12:06 PM (in response to srinivasanj)Did you look in the JBoss Portal documentation?
http://docs.jboss.com/jbportal/v2.6/reference-guide/en/html/ipc.html -
3. Re: Detail about InterPortlet Communication(IPC) in JBoss Po
rob_gar_esp Feb 18, 2008 1:25 PM (in response to srinivasanj)Hello:
For portal 2.6.3 bundle there's no IPC documentation.
The link http://docs.jboss.com/jbportal/v2.6/reference-guide/en/html/ipc.html does not exist any more.
The sample code at http://labs.jboss.com/portal/portletswap/portlets_tutorial.html does not work since the next snippet of portletA does no work:PortalNode thisNode = req.getPortalNode().getParent(); // will return this Page as a node. PortalNode linkToNode = thisNode.resolve("../default"); PortalNodeURL pageURL = resp.createRenderURL(linkToNode);
The nodes 'default' and 'IPC' don't exist, only the instance 'HelloWorldPortletAWindow' is resolved.
Please assist!!!! -
4. Re: Detail about InterPortlet Communication(IPC) in JBoss Po
theute Feb 18, 2008 2:48 PM (in response to srinivasanj)The portlet is made for 2.4 as stated:
"Preconfigured for JBoss Portal 2.4+" -
5. Re: Detail about InterPortlet Communication(IPC) in JBoss Po
rob_gar_esp Feb 18, 2008 5:10 PM (in response to srinivasanj)What do you mean? There's no IPC support for portal 2.6.3? Any plans to update the documentation and tutorials?
Best regards. -
6. Re: Detail about InterPortlet Communication(IPC) in JBoss Po
theute Feb 18, 2008 5:45 PM (in response to srinivasanj)I just meant that the example you r are talkaing about is made for 24.x.
For 2.6.x look at the samples and look at the reference documentation (Portal API) -
7. Re: Detail about InterPortlet Communication(IPC) in JBoss Po
rob_gar_esp Feb 18, 2008 5:50 PM (in response to srinivasanj)Thanks for your response, but on my first message I tried to make clear that no tutorials and examples exist for Portal 2.6.3's IPC.
Please let me know where 2.6.3 IPC doc. could be found.
Cheers! -
8. Re: Detail about InterPortlet Communication(IPC) in JBoss Po
theute Feb 18, 2008 6:03 PM (in response to srinivasanj)http://docs.jboss.com/jbportal/v2.6.4/referenceGuide/html/portalapi.html#d0e5454
12.8.2. Achieving Inter Portlet Communication with the events mechanism
http://anonsvn.jboss.org/repos/portal/tags/JBoss_Portal_2_6_4/core-samples/src/main/org/jboss/portal/core/samples/basic/event/PortletA.java
http://anonsvn.jboss.org/repos/portal/tags/JBoss_Portal_2_6_4/core-samples/src/main/org/jboss/portal/core/samples/basic/event/PortletB.java