Return-Path: X-Original-To: apmail-pivot-user-archive@www.apache.org Delivered-To: apmail-pivot-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AF90898CE for ; Mon, 9 Jan 2012 04:40:46 +0000 (UTC) Received: (qmail 53806 invoked by uid 500); 9 Jan 2012 04:40:45 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 53578 invoked by uid 500); 9 Jan 2012 04:40:17 -0000 Mailing-List: contact user-help@pivot.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@pivot.apache.org Delivered-To: mailing list user@pivot.apache.org Received: (qmail 53570 invoked by uid 99); 9 Jan 2012 04:40:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jan 2012 04:40:13 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of DKeen@sigtec.com designates 203.25.165.194 as permitted sender) Received: from [203.25.165.194] (HELO iintxmel1vexch1.sigtec.net.au) (203.25.165.194) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jan 2012 04:40:02 +0000 Received: from iintxmel1vexch2.sigtec.com (172.16.17.24) by iintxmel1vexch1.sigtec.net.au (203.25.165.194) with Microsoft SMTP Server (TLS) id 8.3.213.0; Mon, 9 Jan 2012 15:39:29 +1100 Received: from iintxmel1vexch2.sigtec.com ([::1]) by iintxmel1vexch2.sigtec.com ([::1]) with mapi; Mon, 9 Jan 2012 15:40:06 +1100 From: David Keen To: "user@pivot.apache.org" Date: Mon, 9 Jan 2012 15:39:35 +1100 Subject: Form.getSection returns null for nested components Thread-Topic: Form.getSection returns null for nested components Thread-Index: AczOiLAsHJipspx+RWilz2a+aAnEtw== Message-ID: Accept-Language: en-US, en-AU Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-AU Content-Type: multipart/alternative; boundary="_000_F98796F270F07F46AD3896BFEB2B39E4FBC55C78D6iintxmel1vexc_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_F98796F270F07F46AD3896BFEB2B39E4FBC55C78D6iintxmel1vexc_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, If I call Form.getSection(component) where, for example, component is a Tex= tInput inside a BoxPane in a Form Section, then I get null. However if the= TextInput is not inside the BoxPane then it will return the section just f= ine. I'm just wondering whether this is intended behaviour or not - it seems lik= e it would be more useful if this worked for all components within a form s= ection, regardless of whether they are nested or not. Regards, David. --_000_F98796F270F07F46AD3896BFEB2B39E4FBC55C78D6iintxmel1vexc_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

If I call = Form.getSection(component) where, for example, component is a TextInput ins= ide a BoxPane in a Form Section, then I get null.  However if the Text= Input is not inside the BoxPane then it will return the section just fine.<= o:p>

 

I’m just wondering whether this is intended behaviour or not –= ; it seems like it would be more useful if this worked for all components w= ithin a form section, regardless of whether they are nested or not.

 

Regar= ds,

David.

= --_000_F98796F270F07F46AD3896BFEB2B39E4FBC55C78D6iintxmel1vexc_--