Return-Path: Delivered-To: apmail-jakarta-tapestry-user-archive@www.apache.org Received: (qmail 60538 invoked from network); 1 Sep 2005 20:26:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Sep 2005 20:26:23 -0000 Received: (qmail 34091 invoked by uid 500); 1 Sep 2005 20:26:17 -0000 Delivered-To: apmail-jakarta-tapestry-user-archive@jakarta.apache.org Received: (qmail 34080 invoked by uid 500); 1 Sep 2005 20:26:17 -0000 Mailing-List: contact tapestry-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tapestry users" Reply-To: "Tapestry users" Delivered-To: mailing list tapestry-user@jakarta.apache.org Received: (qmail 34067 invoked by uid 99); 1 Sep 2005 20:26:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2005 13:26:17 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of hlship@gmail.com designates 66.249.82.200 as permitted sender) Received: from [66.249.82.200] (HELO xproxy.gmail.com) (66.249.82.200) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2005 13:26:31 -0700 Received: by xproxy.gmail.com with SMTP id i28so512763wxd for ; Thu, 01 Sep 2005 13:26:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NacAqhxc6JZPyj49ebKKr7JgNJLj6U6sXP2biez7315YozTZgRF/cnUa/38eBp0qyRr4/w85U6+VW5a4Zo9tPMwCnBSpGsuP9QniUeNZJvcTZEeH8BRahmxCNm0Q61hX9+9PmpcoJ+O7gkUcfIuhgrD7bmZvAVZRJcNRYc9ILlU= Received: by 10.70.48.2 with SMTP id v2mr83499wxv; Thu, 01 Sep 2005 13:26:14 -0700 (PDT) Received: by 10.70.49.13 with HTTP; Thu, 1 Sep 2005 13:26:14 -0700 (PDT) Message-ID: Date: Thu, 1 Sep 2005 16:26:14 -0400 From: Howard Lewis Ship To: Tapestry users Subject: Re: Programmatically adding a binding to a component? In-Reply-To: <9BF20741D07E824A9206E073EB6750E9011226D2@exch2k3.widen.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <9BF20741D07E824A9206E073EB6750E9011226D2@exch2k3.widen.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N It's just as well you can't; you don't want to be adding bindings directly. The various setter methods exist for the framework, you should treat components as immutable. This is why its going to be good for everyone to break the inheretance requirement ... the IComponent that will be exposed to your peer code will be entirely immutable. On 9/1/05, Chris Norris wrote: > Is there a way to add a binding to a component programmatically? I see > that there is a setBinding() method in AbsractComponent, but I can't > really figure out how to manually construct an IBinding instance. >=20 >=20 >=20 --=20 Howard M. Lewis Ship Independent J2EE / Open-Source Java Consultant Creator, Jakarta Tapestry Creator, Jakarta HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tapestry-user-help@jakarta.apache.org