From adffaces-user-return-2040-apmail-incubator-adffaces-user-archive=incubator.apache.org@incubator.apache.org Mon Jan 29 21:37:37 2007 Return-Path: Delivered-To: apmail-incubator-adffaces-user-archive@locus.apache.org Received: (qmail 9023 invoked from network); 29 Jan 2007 21:37:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jan 2007 21:37:36 -0000 Received: (qmail 2762 invoked by uid 500); 29 Jan 2007 21:37:42 -0000 Delivered-To: apmail-incubator-adffaces-user-archive@incubator.apache.org Received: (qmail 2751 invoked by uid 500); 29 Jan 2007 21:37:42 -0000 Mailing-List: contact adffaces-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: adffaces-user@incubator.apache.org Delivered-To: mailing list adffaces-user@incubator.apache.org Received: (qmail 2742 invoked by uid 99); 29 Jan 2007 21:37:41 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jan 2007 13:37:41 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [206.190.36.83] (HELO smtp105.rog.mail.re2.yahoo.com) (206.190.36.83) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 29 Jan 2007 13:37:32 -0800 Received: (qmail 77453 invoked from network); 29 Jan 2007 21:37:10 -0000 Received: from unknown (HELO ?192.168.1.105?) (laurieharper@rogers.com@74.99.47.18 with plain) by smtp105.rog.mail.re2.yahoo.com with SMTP; 29 Jan 2007 21:37:10 -0000 X-YMail-OSG: YN5NkDIVM1klY43UqEOTFdXtHm5cK9nWG.1NkuL5X.R6FR4KRYT1Bz05Lle_xYhivw-- In-Reply-To: References: <1F701D303A73F2458C1F9B1439C115E40132F97D@ex1.S2.int> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: Laurie Harper Content-Transfer-Encoding: 7bit From: Laurie Harper Subject: Re: Shale and dialog framework Date: Mon, 29 Jan 2007 16:37:03 -0500 To: adffaces-user@incubator.apache.org X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org On 29-Jan-07, at 2:21 PM, Craig McClanahan wrote: > On 1/29/07, Meyer, Stefan wrote: >> The Viewcontroller does not work well with the dialog framework, >> because >> the lifecycle methods are called on the popup view bean for the >> parent >> and child request and not at all for the launching view. Fixing this >> would maybe mean, that the action outcome cannot define the view to >> present in the popup. > > Stefan, > > I am not sure I quite get what you mean here. > > My assumption, when you are using a popup, is that you'll be using > client > side JavaScript to actually create the popup. Here's a snippet of > code from > our "shale-test-dialog-basic" and "shale-test-dialog-scxml" test > applications that does it: > > > > Note that this does *not* send back a request for the calling view > (the page > in which the JavaScript above was embedded), so there is no reason > to invoke > any callback methods for it. This request will open a new window, > and the > callbacks for the "menu.faces" page will be called as expected. > > What part of this behavior is not working for you? > > Craig I think the OP is talking about how Shale's View Controller functionality interacts with Trinidad's dialog framework, which relies on PPR and has a somewhat more involved request/response structure. Stefan, I'd suggest putting together a minimal test application that demonstrates the problem and posting it as a WAR file in JIRA. A possibly unintended interaction between features from two different frameworks will be tough to diagnose without a testcase. L. -- Laurie Harper Open Source advocate, Java geek: http://www.holoweb.net/laurie