[KSS-checkins] r50402 - in kukit/kukit.js/branch/ree-1.4-markup-and-syntax-changes: . kukit

reebalazs at codespeak.net reebalazs at codespeak.net
Sun Jan 6 17:19:51 CET 2008


Author: reebalazs
Date: Sun Jan  6 17:19:51 2008
New Revision: 50402

Modified:
   kukit/kukit.js/branch/ree-1.4-markup-and-syntax-changes/   (props changed)
   kukit/kukit.js/branch/ree-1.4-markup-and-syntax-changes/kukit/kssparser.js
   kukit/kukit.js/branch/ree-1.4-markup-and-syntax-changes/kukit/oper.js
   kukit/kukit.js/branch/ree-1.4-markup-and-syntax-changes/kukit/providerreg.js
Log:
Fix url() provider...
remove some formquery evaluation that is not needed any more

Modified: kukit/kukit.js/branch/ree-1.4-markup-and-syntax-changes/kukit/kssparser.js
==============================================================================
--- kukit/kukit.js/branch/ree-1.4-markup-and-syntax-changes/kukit/kssparser.js	(original)
+++ kukit/kukit.js/branch/ree-1.4-markup-and-syntax-changes/kukit/kssparser.js	Sun Jan  6 17:19:51 2008
@@ -323,7 +323,7 @@
 ;;;         // for kssSubmitForm string or formquery expected
 ;;;         allowedReturnTypes = {string: true, formquery: true};
 ;;;     } else if (key == 'kssUrl') {
-;;;         // for kssSubmitForm string or url expected
+;;;         // for string or url expected
 ;;;         allowedReturnTypes = {string: true, url: true};
 ;;;     }
 ;;;     // We ignore actual results here, and just check. 

Modified: kukit/kukit.js/branch/ree-1.4-markup-and-syntax-changes/kukit/oper.js
==============================================================================
--- kukit/kukit.js/branch/ree-1.4-markup-and-syntax-changes/kukit/oper.js	(original)
+++ kukit/kukit.js/branch/ree-1.4-markup-and-syntax-changes/kukit/oper.js	Sun Jan  6 17:19:51 2008
@@ -207,15 +207,6 @@
     for (key in this.kssParms) {
         if (key == 'kssSubmitForm') {
             // Value has been evaluated at this point.
-            var formQuery = this.kssParms[key];
-            // If a string is returned: this is to support
-            // kssSubmitForm: "formname";
-            // in this case this is evaluated as form("formname").
-            if (typeof(formQuery) == 'string') {
-                var locator = new kukit.fo.NamedFormLocator(formQuery);
-                var collector = new kukit.ut.TupleCollector();
-                formQuery = kukit.fo.getAllFormVars(locator, collector);
-            }
 ;;;     } else if (key == 'kssUrl') {
 ;;;         // Value will be evaluated.
 ;;;     } else {

Modified: kukit/kukit.js/branch/ree-1.4-markup-and-syntax-changes/kukit/providerreg.js
==============================================================================
--- kukit/kukit.js/branch/ree-1.4-markup-and-syntax-changes/kukit/providerreg.js	(original)
+++ kukit/kukit.js/branch/ree-1.4-markup-and-syntax-changes/kukit/providerreg.js	Sun Jan  6 17:19:51 2008
@@ -366,7 +366,7 @@
 ;;;     }
     };
 };
-kukit.pr.UrlPP.prototype = kukit.pr.IdentityPP;
+kukit.pr.UrlPP.prototype = new kukit.pr.IdentityPP();
 // returnType = 'url'
 kukit.pprovidersGlobalRegistry.register('url', kukit.pr.UrlPP, 'url');
 


More information about the Kukit-checkins mailing list