Return-Path: Delivered-To: apmail-jakarta-jetspeed-dev-archive@www.apache.org Received: (qmail 40137 invoked from network); 11 Feb 2005 22:25:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Feb 2005 22:25:17 -0000 Received: (qmail 88362 invoked by uid 500); 11 Feb 2005 22:25:16 -0000 Delivered-To: apmail-jakarta-jetspeed-dev-archive@jakarta.apache.org Received: (qmail 88336 invoked by uid 500); 11 Feb 2005 22:25:15 -0000 Mailing-List: contact jetspeed-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jetspeed Developers List" Reply-To: "Jetspeed Developers List" Delivered-To: mailing list jetspeed-dev@jakarta.apache.org Received: (qmail 88322 invoked by uid 99); 11 Feb 2005 22:25:15 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 11 Feb 2005 14:25:15 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j1BMPCei024473 for ; Fri, 11 Feb 2005 23:25:12 +0100 Message-ID: <1476263219.1108160712516.JavaMail.jira@ajax.apache.org> Date: Fri, 11 Feb 2005 23:25:12 +0100 (CET) From: "Ate Douma (JIRA)" To: jetspeed-dev@jakarta.apache.org Subject: [jira] Commented: (JS2-208) Inter-portlet Communication In-Reply-To: <1348081054.1108068973320.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-208?page=comments#action_59049 ] Ate Douma commented on JS2-208: ------------------------------- Peter, I finally found a short time today for a first look at your code and documentation. I must say, I'm impressed by the completeness and scope. But, I haven't had time for testing so this is yet only based on a short code review ;-) I do have already a few questions for you: - Are you planning/able to update the code to the J2 cvs-head codebase? As it is currently based on the J2 2.0M1 codebase I would need to go back to that before I would be able to test it, and although possible its not something I prefer. - Do you have any showcase portlets (code) available? It would help (me) a lot to have a working example to play with. - I noticed you had to modify the Pluto PortletContainer(Impl) to trap its redirecting. Have you considered providing a wrapped request to Pluto which might be able to do the same (I'm not sure, just asking). I don't like the idea to have to hack Pluto if its isn't absolutely necessary. - I like the general idea of translating a PortletEvent to an (additional) ActionRequest for a targeted Portlet as for that Portlet it is as if it is invoked by the user directly. What I'm not sure about yet is how you handle ActionResponse.setRenderParameter() calls done by the thus invoked Portlet: will new renderParameters be set on the eventually produced RenderURL? It looks like the initial RenderURL produced after the ActionRequest from the Portlet firing the first PortletEvent prevails but I'm not sure. I think that if a new ActionRequest is invoked as result of a PortletEvent the formal behavior of the Portlet API must be maintained, including effective setRenderParameter calls. - You implemented the invocation of a new ActionRequest using real redirects. Might it be possible to just synthesize a new ActionRequest without the need for a client side redirect? It might make state handling much easier and lighter: maybe use ThreadLocals instead of storing state in a HashMap keyed on SessionId as you do now. Also, by intercepting the (initial) ActionRequest, you then also wouldn't need to hack the Pluto PortletContainer but first process all the PortletEvents before letting Pluto perform the final redirect. I'll try to find some more time this weekend to delve deeper into your code. Ate > Inter-portlet Communication > --------------------------- > > Key: JS2-208 > URL: http://issues.apache.org/jira/browse/JS2-208 > Project: Jetspeed 2 > Type: New Feature > Components: Assembly/Configuration, Components Core, Container, Other, Struts Portlet > Versions: 2.0-M1 > Reporter: Peter Meier > Attachments: jetspeed-2-diff.zip, portlet-event.zip > > As already announced elsewhere I would like to submit a working solution for inter-portlet communications between portlets that do not belong to the same portlet application. > The implemented portlet communication is not part of JSR168 and therefore a proprietary extension. It utilises the JSR168 portlet API, though. Inter-portlet communication is achieved through portlet event notifications. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org