From xap-commits-return-293-apmail-incubator-xap-commits-archive=incubator.apache.org@incubator.apache.org Thu Aug 17 18:41:14 2006 Return-Path: Delivered-To: apmail-incubator-xap-commits-archive@locus.apache.org Received: (qmail 39921 invoked from network); 17 Aug 2006 18:41:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Aug 2006 18:41:13 -0000 Received: (qmail 62691 invoked by uid 500); 17 Aug 2006 18:41:13 -0000 Delivered-To: apmail-incubator-xap-commits-archive@incubator.apache.org Received: (qmail 62677 invoked by uid 500); 17 Aug 2006 18:41:13 -0000 Mailing-List: contact xap-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: xap-dev@incubator.apache.org Delivered-To: mailing list xap-commits@incubator.apache.org Received: (qmail 62668 invoked by uid 99); 17 Aug 2006 18:41:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Aug 2006 11:41:13 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Aug 2006 11:41:13 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id EA48D1A981A; Thu, 17 Aug 2006 11:40:52 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r432328 - /incubator/xap/trunk/src/xap/bridges/basic/AbstractBlackBoxWidgetBridge.js Date: Thu, 17 Aug 2006 18:40:52 -0000 To: xap-commits@incubator.apache.org From: mturyn@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060817184052.EA48D1A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: mturyn Date: Thu Aug 17 11:40:51 2006 New Revision: 432328 URL: http://svn.apache.org/viewvc?rev=432328&view=rev Log: Improved the jsdoc. Modified: incubator/xap/trunk/src/xap/bridges/basic/AbstractBlackBoxWidgetBridge.js Modified: incubator/xap/trunk/src/xap/bridges/basic/AbstractBlackBoxWidgetBridge.js URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/basic/AbstractBlackBoxWidgetBridge.js?rev=432328&r1=432327&r2=432328&view=diff ============================================================================== --- incubator/xap/trunk/src/xap/bridges/basic/AbstractBlackBoxWidgetBridge.js (original) +++ incubator/xap/trunk/src/xap/bridges/basic/AbstractBlackBoxWidgetBridge.js Thu Aug 17 11:40:51 2006 @@ -215,15 +215,6 @@ * extra methods may be attached to the peer to make it easier for the * handler to deal with it.
* - *
  • Attribute handling:  - * When a XAL attribute is processed, it triggers a call to attributeSet(); - * here lowest-common-denominator behavior dominates----for an attribute bar, - * we look for a setter setFoo on the peer, and if it - * exists call it.  In the case of the namespace attribute xmlns - * and the event call onCommand() we do something - * smarter---apart from these exceptions, anything more interesting and - * widget-specific will have to be handled in subclasses.
    - *
  • * * @throws xap.util.Exception if the peer is unobtainable, or if the bridge subclass * is missing, or if the supposed parent XapElement or bridge is not one of those. @@ -404,8 +395,13 @@ xap.bridges.basic.AbstractBlackBoxWidgetBridge._nameToSetterMap = new Object() ; /** - * This is a default behaviour---subclasses should short-circuit this being called if they want to - * do anything interesting (e.g. aBridge.attributeSet("foo") ---> aPeer.setBar(a) instead of ...setFoo(a).) + * When a XAL attribute is processed, it triggers a call to attributeSet(); + * here lowest-common-denominator behavior dominates----for an attribute bar, + * we look for a setter setFoo on the peer, and if it + * exists call it.  In the case of the namespace attribute xmlns + * and the event call onCommand() we do something + * smarter---apart from these exceptions, anything more interesting and + * widget-specific will have to be handled in subclasses.
    * @param event{AttributeChangeEvent} **/ xap.bridges.basic.AbstractBlackBoxWidgetBridge.prototype.attributeSet = function( event ) {