Return-Path: Delivered-To: apmail-portals-bridges-dev-archive@www.apache.org Received: (qmail 15672 invoked from network); 1 Sep 2007 08:59:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Sep 2007 08:59:40 -0000 Received: (qmail 90025 invoked by uid 500); 1 Sep 2007 08:59:35 -0000 Delivered-To: apmail-portals-bridges-dev-archive@portals.apache.org Received: (qmail 90003 invoked by uid 500); 1 Sep 2007 08:59:35 -0000 Mailing-List: contact bridges-dev-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bridges-dev@portals.apache.org Delivered-To: mailing list bridges-dev@portals.apache.org Received: (qmail 89992 invoked by uid 99); 1 Sep 2007 08:59:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Sep 2007 01:59:35 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Sep 2007 08:59:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3A538714191 for ; Sat, 1 Sep 2007 01:59:19 -0700 (PDT) Message-ID: <25137675.1188637159227.JavaMail.jira@brutus> Date: Sat, 1 Sep 2007 01:59:19 -0700 (PDT) From: "Martin Marinschek (JIRA)" To: bridges-dev@portals.apache.org Subject: [jira] Updated: (PB-73) Cumulative patch for better storing the ViewRoot, disabling calling restoreState on the ViewRoot, and better SessionMap/RequestParameterMap/ApplicationMap handling in the servlet case In-Reply-To: <1456924.1188636799111.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/PB-73?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Marinschek updated PB-73: -------------------------------- Attachment: jsf-portlet-bridge.patch All contributors have Apache CLAs on file. > Cumulative patch for better storing the ViewRoot, disabling calling restoreState on the ViewRoot, and better SessionMap/RequestParameterMap/ApplicationMap handling in the servlet case > --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: PB-73 > URL: https://issues.apache.org/jira/browse/PB-73 > Project: Portals Bridges > Issue Type: Bug > Components: jsf > Affects Versions: 1.0 > Reporter: Martin Marinschek > Attachments: jsf-portlet-bridge.patch > > > This patch tries to resolve three issues with the current bridge. It has been created by Thomas Spiegl, Bernhard Huemer and me (just to do the honours ;). > 1) The UIViewRoot is directly put into the session - this doesn't fly if load-balancing is switched on and the session is serialized between servers, as no JSF-component is serializable (instead, it implements state-holder, and one has to call the appropriate methods restoreState/saveState, and additionally save the tree-structure. > 2) In the FacesPortlet, a superfluous call to restoreState is happening - if the UIViewRoot is properly restored, restoreState should not be called anymore > 3) the SessionMap/RequestParameterMap etc. will only work if behind a portlet. In some cases, the JSF-app might run both behind a portlet and a servlet > regards, > Martin -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: bridges-dev-unsubscribe@portals.apache.org For additional commands, e-mail: bridges-dev-help@portals.apache.org