-
1. Re: Portlet IPC
wesleyhales Sep 29, 2010 10:42 AM (in response to gareth_western)Describe your environment this is running in.
-
2. Re: Portlet IPC
gareth_western Sep 29, 2010 10:59 AM (in response to wesleyhales)- CentOS Linux (x86_64)
- WebSphere Application Server 7.0.0.11
- WebSphere Portal 6.1.5
- RichFaces 3.3.3.Final
- Portlet Bridge 2.0.0.FINAL
Anything else?
UPDATE: Attached screenshots of symptoms
-
after.jpg 13.7 KB
-
before.jpg 12.1 KB
-
3. Re: Portlet IPC
gareth_western Sep 30, 2010 6:03 AM (in response to gareth_western)It appears that the problem, when both portlets are part of the same .war file, is that they're sharing the FacesContext, and the _pathInfo and viewId of this context contains the values from my first (source) portlet (i.e. source.xhtml).
Is there some init-param or something that I'm missing, which will enable each portlet to have it's own FacesContext?
I'll now try splitting the portlets into two wars and see what happens with the context.
-
4. Re: Portlet IPC
wesleyhales Sep 30, 2010 8:44 AM (in response to gareth_western)I have sent both events and PRPs across portlets in the same war. For an example see:
http://anonsvn.jboss.org/repos/portletbridge/tags/2.0.0.FINAL/examples/seam/booking/
-
5. Re: Portlet IPC
gareth_western Oct 1, 2010 7:31 AM (in response to wesleyhales)Yeah, I've seen your examples. I'm doing everything as you did, so I think the error must be in one of the WebSphere libraries. Ugh
Oh well. Perhaps it just won't be possible to use the JBoss Portlet Bridge for WebSphere (which is fair enough, since it is not officially supported). I'll poke around the IBM forums, and report back here if I ever make any progress.
-
6. Re: Portlet IPC
wesleyhales Oct 1, 2010 11:12 AM (in response to gareth_western)That's too bad. If you want to debug it and see what's going facesContext, we will definitely apply your patch.
-
7. Re: Portlet IPC
rehanpathan May 15, 2013 3:19 AM (in response to gareth_western)Dear All,If you want to learn another example of ipc based on Event phase portlet than
check this link,may be helpful
http://www.attuneinfocom.com/how-create-ipc-portlet-liferay-611-ga2-0