From: legolas <nu...@jb...> - 2005-07-06 09:53:42
|
Hi JBossUser, This is not particularly an issue of JBossPortal, it is a lack in the Java Portlet API specification. Inter portlet communication has been postponed for the next release of the spec, but at the moment there is not much progress in the next release. As Yang already mentioned, inter portlet communication can only be achieved using PortletSession using application scope. portletSession.setAttribute(key, value, PortletSession.APPLICATION_SCOPE); And retrieve it again using portletSession.getAttribute(key, PortletSession.APPLICATION_SCOPE); According to the Java Portlet Specificatiopn version 1.0 PLT.15.3: anonymous wrote : Any object stored in the session using the APPLICATION_SCOPE is available to any other portlet that belongs to the same portlet application and that handles a request identified as being part of the same session. This means that your object is only gauranteed to be available if your portlets are in the same war. Hope this helps, Marcel View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883817#3883817 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883817 |