You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by mt...@apache.org on 2006/08/31 20:02:59 UTC

svn commit: r439037 - /incubator/xap/trunk/src/xap/bridges/dojo/DojoDatePickerBridge.js

Author: mturyn
Date: Thu Aug 31 13:02:59 2006
New Revision: 439037

URL: http://svn.apache.org/viewvc?rev=439037&view=rev
Log:
Added a "getNewAllowedAttributes" in line with current way of auto-mapping from attributes to setter functions.

Modified:
    incubator/xap/trunk/src/xap/bridges/dojo/DojoDatePickerBridge.js

Modified: incubator/xap/trunk/src/xap/bridges/dojo/DojoDatePickerBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/dojo/DojoDatePickerBridge.js?rev=439037&r1=439036&r2=439037&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/DojoDatePickerBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/DojoDatePickerBridge.js Thu Aug 31 13:02:59 2006
@@ -79,13 +79,10 @@
 
 
 /**
- * Add this widget's needs to the superclass' more general list:
+ * This widget understands "formatString" in addition to its superclass' attributes:
 **/
-xap.bridges.dojo.DojoDatePickerBridge.prototype.getAllowedAttributes = function(){
-	var allowed = this.superclass.getAllowedAttributes() ;
-	allowed.formatString = null ;
-
-	return allowed ;
+xap.bridges.dojo.DojoDatePickerBridge.prototype.getNewAllowedAttributes = function(){
+	return ["formatString"];
 }