Could you describe the simplest use case for this ?
one of the simplest cases would be, being able to use the number guess example in two portlets.
One portlet allowing the user to enter a number and the other (larger) portlet showing, whether the guessed number was correct or not.
Being as simple as that I will come up with a somewhat more complicated (Master/Detail) UseCase later today, so that I can explain the real-life value add, this would bring.
Ok, here goes. Imagine a trading portal (the project I'm currently working on ;-) where buyers, sellers, and producers come together to trade goods and services. Depending on the portal role, each person has different portlets that they can see.
The simplest use case in this portal application is browsing a category tree (myfaces' tree2) in one portlet and having the products of that category displayed on another portlet. If it was one web-application (and it used to be) the pageflow definitions were perfect. However, now we can't use the pageflow navigation for the last node anymore and have to programmatically pass the selected category into IPC so that the target portlet knows which category was selected.
Again if i click on one of the products I might want to see the detailed view, however in current seam implementation these details must be displayed in the same portlet window, because I can't @Out the selected product into another portlet.
Having written this (and confused even myself) I think that what I really want is being able to @Out variables into the Interportlet Communication API for use with other portlets in the portal :-)
Yes, that's it! The pageflow I mentioned earlier would be a beautiful goodie, too, though.
So have you tried using Seam + the IPC API?
I am fairly certain that IPC + MyFacesGenericPortlet works. As for Seam-IPC, I have not tried yet.
Roy, sorry for not answering earlier. I was out of town without internet.
Honestly, I don't quite know how to try Seam-IPC. How would I do an @Out into the IPC?
me is new to jboss portal and i search for an example with the mentioned technologies.
we have a few jsf portlets and now try to have communication between them. where i can read something about IPC with JSF Portlets. the examples and tutorials i found so far, talk about portlets with an own portlet- class using getActionURL()- method.
another question is about pageflows. where i can find an example with a portlet managed by pageflow files. we have a solution with pageflows in a web- app, but none of our portlets works with pageflows.