From: yxyang <nu...@jb...> - 2005-07-05 14:02:19
|
I think lots of people have these requirement. Unfortunately, currently version 2.0 doesn't provide convenient ways. But it is doable by yourself. inter-portlet communication can be implemented by session attribute. I have a simple website which can demo these www.mobmeee.com. regards yang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883676#3883676 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883676 |
From: <ju...@jb...> - 2005-07-05 14:03:34
|
very nice theme View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883678#3883678 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883678 |
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 |
From: yxyang <nu...@jb...> - 2005-07-06 13:12:03
|
It will be difficult to use CMSPortlet without careful design of current CMSPortlet. For third party developer like me, it is inconvenient to modify the CMSPortlet code and do maintainence. I hope JBoss portal team will consider this carefully to provide third party developer a clean solution to use CMSPortlet. Regards Yang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883847#3883847 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883847 |
From: <ju...@jb...> - 2005-07-06 13:15:58
|
yes, we are working on that and make the CMS store content pluggable too. we will provide hooks at different level to allow 3rd party CMS to be plugged in JBoss Portal. for 2.2 of course View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883851#3883851 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883851 |
From: andrejt <nu...@jb...> - 2005-07-12 20:08:46
|
Yang, "yxyang" wrote : | For third party developer like me, it is inconvenient to modify the CMSPortlet code and do maintainence. | in your portal www.mobmeee.com however I can see that you have customized Login and Register (User portlet) from portal-core.war. Am I right? Have you integrated your portlet into portal-core.war in order to achieve inter-portlet communication between your menu portlet and jbp portlets? Thanks, Andrej View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884588#3884588 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884588 |
From: yxyang <nu...@jb...> - 2005-07-13 01:42:08
|
Currently, i didn't use CMS Portlet because i am not familiar with CMS portlet code(I only use a customized version of UserPortlet and customized ForumsPortlet.). So, i write a very simple portlet (HTMLJSPPortlet) myself which understand my IPC messages which are sent from navigationController(MenuPortlet). I didn't integrate my portlets into portal-core.war. Instead, i removed page definitions from portal-core.war. I have a mobmeee.war including all page definitions. I think this should be the way to go. I think portal-core should not define any pages, because pages are always used to present business of a specific portal installation. However, portal-core should include lots of very useful portlet or portlet-instance definitions so that third party developers like me to speed up the business. regards Yang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884643#3884643 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884643 |