Return-Path: Delivered-To: apmail-beehive-dev-archive@www.apache.org Received: (qmail 8680 invoked from network); 26 Sep 2005 21:24:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Sep 2005 21:24:31 -0000 Received: (qmail 5936 invoked by uid 500); 26 Sep 2005 21:24:31 -0000 Delivered-To: apmail-beehive-dev-archive@beehive.apache.org Received: (qmail 5910 invoked by uid 500); 26 Sep 2005 21:24:31 -0000 Mailing-List: contact dev-help@beehive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Beehive Developers" Delivered-To: mailing list dev@beehive.apache.org Received: (qmail 5895 invoked by uid 99); 26 Sep 2005 21:24:31 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2005 14:24:28 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id BA526124 for ; Mon, 26 Sep 2005 23:24:07 +0200 (CEST) Message-ID: <951591274.1127769847754.JavaMail.jira@ajax.apache.org> Date: Mon, 26 Sep 2005 23:24:07 +0200 (CEST) From: "Carlin Rogers (JIRA)" To: dev@beehive.apache.org Subject: [jira] Assigned: (BEEHIVE-863) Passing a FormBean to a popup Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/BEEHIVE-863?page=all ] Carlin Rogers reassigned BEEHIVE-863: ------------------------------------- Assign To: Rich Feit (was: Carlin Rogers) Assigning to Rich for review. Rich, let me know if there are some changes you think I should include and thoughts about sharing javascript mthods with datagrid. Once this first patch is in you can reassign it to me and I can address additional changes to finish this feature. Thanks. > Passing a FormBean to a popup > ----------------------------- > > Key: BEEHIVE-863 > URL: http://issues.apache.org/jira/browse/BEEHIVE-863 > Project: Beehive > Type: Improvement > Components: NetUI > Reporter: Jack Rudnick > Assignee: Rich Feit > Priority: Critical > Attachments: j863-first-patch.txt, j863-patch2.txt > > A popup is currently reached via a nested action, however, you can't pass a FormBean (and more importantly, its values) from a parent action to the nested action for use in the popup. An example of how you may want to use this would be: > > 1) parent form/page has a "To" text field in a form. > > 2) I type in "hello.world@xyz.abc" > > 3) click the button (netui:button popup=true) to trigger the popup in the parent page > > 4) popup has its own form/page that has a "To" text field. > > 5) When the popup renders, the popups "To" field should be prepopulated with the "hello .world@xyz.abc" value. > You can currently pass the values of a popup to the parent, thus you should be able to go the other way (pass the parent values to the popup) with a given framework way other than constructing some javascript to do this in a custom manner. One reason why this probably doesn't currently work, is when you click the netui:button it doesn't submit the parent form, thus the form and values don't get persisted for use by the popup. > This is currently a very limiting shortcoming of using popups. -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira