Coldfusion 9 Inter portlet communication?
I am having a hard time trying to find documentation at achieving IPC using Coldfusion 9 portlets under JBOSS. Does anyone have any good references I can开发者_运维问答 take a look at? Or maybe some example code that I can go off of?
So far I've been successful in getting my portlets working under Liferay (JBOSS), form submission, different views (edit/help) all work fine.
Just need to know how to have one portlet on the page talk with another portlet. So far have been unsuccessful :(
Anyone?
In general, my recommendation is to avoid Inter-Portlet Communication. Currently it's outside the spec (for JSR-168, though 286 introduces some concepts like shared-render params) If you're using Liferay or JBOSS portal (regardless of container) you should be able to do:
- shared render params
- events
I'm not sure if you'd have any special work to get these going with whatever bridge you/Coldfusion uses to integrate with portlets.
See: http://jcp.org/aboutJava/communityprocess/final/jsr286/index.html, though different containers currently have different levels of compliance - hard to provide more details w/o version numbers, etc.
精彩评论