From kukit-checkins at codespeak.net Sat Nov 1 08:07:41 2008 From: kukit-checkins at codespeak.net (VIAGRA INC) Date: Sat, 1 Nov 2008 08:07:41 +0100 (CET) Subject: [KSS-checkins] SALE 89% OFF Message-ID: <20081101-50557.28026.qmail@c3nat.acxiom.com> An HTML attachment was scrubbed... URL: http://codespeak.net/pipermail/kukit-checkins/attachments/20081101/eeca57f4/attachment-0001.htm From wiggy at codespeak.net Wed Nov 5 15:12:49 2008 From: wiggy at codespeak.net (wiggy at codespeak.net) Date: Wed, 5 Nov 2008 15:12:49 +0100 (CET) Subject: [KSS-checkins] r59725 - in kukit/kss.core/branch/1.4: docs kss/core/pluginregistry/json Message-ID: <20081105141249.E0610169E42@codespeak.net> Author: wiggy Date: Wed Nov 5 15:12:47 2008 New Revision: 59725 Modified: kukit/kss.core/branch/1.4/docs/HISTORY.txt kukit/kss.core/branch/1.4/kss/core/pluginregistry/json/utils.py Log: Use the real request in the json logic so skin layers, request parmeters are available Modified: kukit/kss.core/branch/1.4/docs/HISTORY.txt ============================================================================== --- kukit/kss.core/branch/1.4/docs/HISTORY.txt (original) +++ kukit/kss.core/branch/1.4/docs/HISTORY.txt Wed Nov 5 15:12:47 2008 @@ -4,7 +4,10 @@ kss.core - 1.4dev Unreleased - - ... + - Use the real request in the json logic so skin layers, request parmeters, + etc. are available. + [wichert] + kss.core - 1.4.3 Released 2008-08-18 Modified: kukit/kss.core/branch/1.4/kss/core/pluginregistry/json/utils.py ============================================================================== --- kukit/kss.core/branch/1.4/kss/core/pluginregistry/json/utils.py (original) +++ kukit/kss.core/branch/1.4/kss/core/pluginregistry/json/utils.py Wed Nov 5 15:12:47 2008 @@ -14,10 +14,12 @@ 'Gets the addon javascript files for json' files = [] # Try adding the jsonserver files - request = TestRequest() + request = getattr(capi.getSiteManager(), 'REQUEST', None) + try: - # use the files already registered to that concat resource - jsonrpc = capi.getAdapter(request, Interface, 'jsonrpc.js') + if request is not None: + # use the files already registered to that concat resource + jsonrpc = capi.getAdapter(request, Interface, 'jsonrpc.js') except capi.ComponentLookupError: pass # JSON not present. else: From wiggy at codespeak.net Wed Nov 5 15:13:46 2008 From: wiggy at codespeak.net (wiggy at codespeak.net) Date: Wed, 5 Nov 2008 15:13:46 +0100 (CET) Subject: [KSS-checkins] r59726 - in kukit/kss.core/trunk: docs kss/core/pluginregistry/json Message-ID: <20081105141346.77CE3169E42@codespeak.net> Author: wiggy Date: Wed Nov 5 15:13:45 2008 New Revision: 59726 Modified: kukit/kss.core/trunk/docs/HISTORY.txt kukit/kss.core/trunk/kss/core/pluginregistry/json/utils.py Log: Merge r59725 from 1.4 branch Modified: kukit/kss.core/trunk/docs/HISTORY.txt ============================================================================== --- kukit/kss.core/trunk/docs/HISTORY.txt (original) +++ kukit/kss.core/trunk/docs/HISTORY.txt Wed Nov 5 15:13:45 2008 @@ -4,8 +4,10 @@ kss.core - 1.5dev Unreleased - - ... - + - Use the real request in the json logic so skin layers, request parmeters, + etc. are available. + [wichert] + - Replaced license header of third-party sarissa.js to workaround the license detection of ohloh. sarissa.js is redistributed under GNU GPL v2 Modified: kukit/kss.core/trunk/kss/core/pluginregistry/json/utils.py ============================================================================== --- kukit/kss.core/trunk/kss/core/pluginregistry/json/utils.py (original) +++ kukit/kss.core/trunk/kss/core/pluginregistry/json/utils.py Wed Nov 5 15:13:45 2008 @@ -14,10 +14,12 @@ 'Gets the addon javascript files for json' files = [] # Try adding the jsonserver files - request = TestRequest() + request = getattr(capi.getSiteManager(), 'REQUEST', None) + try: - # use the files already registered to that concat resource - jsonrpc = capi.getAdapter(request, Interface, 'jsonrpc.js') + if request is not None: + # use the files already registered to that concat resource + jsonrpc = capi.getAdapter(request, Interface, 'jsonrpc.js') except capi.ComponentLookupError: pass # JSON not present. else: From kukit-checkins at codespeak.net Fri Nov 7 20:27:55 2008 From: kukit-checkins at codespeak.net (kukit-checkins at codespeak.net) Date: Fri, 7 Nov 2008 20:27:55 +0100 (CET) Subject: [KSS-checkins] invoice Message-ID: <20081107192755.2F8661684EC@codespeak.net> An HTML attachment was scrubbed... URL: http://codespeak.net/pipermail/kukit-checkins/attachments/20081107/b293cd6f/attachment.htm From kukit-checkins at codespeak.net Sat Nov 8 02:20:26 2008 From: kukit-checkins at codespeak.net (kukit-checkins at codespeak.net) Date: Sat, 8 Nov 2008 02:20:26 +0100 (CET) Subject: [KSS-checkins] order Message-ID: <20081108012026.B960E16841E@codespeak.net> An HTML attachment was scrubbed... URL: http://codespeak.net/pipermail/kukit-checkins/attachments/20081108/a35544c7/attachment.htm From kukit-checkins at codespeak.net Sun Nov 9 18:18:52 2008 From: kukit-checkins at codespeak.net (kukit-checkins at codespeak.net) Date: Sun, 9 Nov 2008 18:18:52 +0100 (CET) Subject: [KSS-checkins] Invitation to upsized dudes community Message-ID: <20081109171852.12C11168427@codespeak.net> An HTML attachment was scrubbed... URL: http://codespeak.net/pipermail/kukit-checkins/attachments/20081109/9b351107/attachment.htm From reebalazs at codespeak.net Mon Nov 10 08:02:40 2008 From: reebalazs at codespeak.net (reebalazs at codespeak.net) Date: Mon, 10 Nov 2008 08:02:40 +0100 (CET) Subject: [KSS-checkins] r59845 - kukit/kukit.js/trunk/kukit Message-ID: <20081110070240.303C1168461@codespeak.net> Author: reebalazs Date: Mon Nov 10 08:02:38 2008 New Revision: 59845 Modified: kukit/kukit.js/trunk/kukit/actionreg.js kukit/kukit.js/trunk/kukit/dom.js kukit/kukit.js/trunk/kukit/errors.js kukit/kukit.js/trunk/kukit/forms.js kukit/kukit.js/trunk/kukit/kssparser.js kukit/kukit.js/trunk/kukit/oper.js kukit/kukit.js/trunk/kukit/plugin.js kukit/kukit.js/trunk/kukit/resourcedata.js kukit/kukit.js/trunk/kukit/serveraction.js kukit/kukit.js/trunk/kukit/tokenizer.js kukit/kukit.js/trunk/kukit/utils.js Log: Fix missing semicolons make default logging of xmlhttprequest readystate less verbose fix deprecations in plugin.js Modified: kukit/kukit.js/trunk/kukit/actionreg.js ============================================================================== --- kukit/kukit.js/trunk/kukit/actionreg.js (original) +++ kukit/kukit.js/trunk/kukit/actionreg.js Mon Nov 10 08:02:38 2008 @@ -35,7 +35,7 @@ ;;; if (typeof(func) == 'undefined') { ;;; kukit.e = '[func] argument is mandatory when registering an action'; ;;; kukit.e += ' [actionregistry.register].'; -;;; throw new error(kukit.e); +;;; throw new Error(kukit.e); ;;; } if (this.content[name]) { // do not allow redefinition Modified: kukit/kukit.js/trunk/kukit/dom.js ============================================================================== --- kukit/kukit.js/trunk/kukit/dom.js (original) +++ kukit/kukit.js/trunk/kukit/dom.js Mon Nov 10 08:02:38 2008 @@ -407,7 +407,7 @@ function(node, attrname, recurseParents, getter) { return dom.locateMarkup(node, recurseParents, getter, attrname).value; -} +}; /* * From http://xkr.us/articles/dom/iframe-document/ Modified: kukit/kukit.js/trunk/kukit/errors.js ============================================================================== --- kukit/kukit.js/trunk/kukit/errors.js (original) +++ kukit/kukit.js/trunk/kukit/errors.js Mon Nov 10 08:02:38 2008 @@ -146,8 +146,8 @@ ;;; }; -;;; err.parsingError = function(message, cursor){ -;;; var kw = {} +err.parsingError = function(message, cursor){ + var kw = {}; ;;; if (cursor) { ;;; kw.errpos = cursor.pos; ;;; kw.errrow = cursor.row; @@ -158,8 +158,8 @@ ;;; kw.errrow = null; ;;; kw.errcol = null; ;;; } -;;; return setErrorInfo(null, 'ParsingError', message, kw); -;;; }; + return setErrorInfo(null, 'ParsingError', message, kw); +}; /* Exceptions that re-throw (annotate) an already caught error */ @@ -186,7 +186,7 @@ ;;; err.kssParsingError = function(e, url){ -;;; var kw = {url: url} +;;; var kw = {url: url}; ;;; var message = 'Error parsing KSS at ' + url; ;;; return setErrorInfo(e, 'KssParsingError', message, kw); ;;; }; Modified: kukit/kukit.js/trunk/kukit/forms.js ============================================================================== --- kukit/kukit.js/trunk/kukit/forms.js (original) +++ kukit/kukit.js/trunk/kukit/forms.js Mon Nov 10 08:02:38 2008 @@ -132,7 +132,7 @@ this.initialize = function(target) { this.target = target; -} +}; this.queryForm = function() { // Find the form that contains the target node. Modified: kukit/kukit.js/trunk/kukit/kssparser.js ============================================================================== --- kukit/kukit.js/trunk/kukit/kssparser.js (original) +++ kukit/kukit.js/trunk/kukit/kssparser.js Mon Nov 10 08:02:38 2008 @@ -63,23 +63,23 @@ }; var _returnComment = function() { - return new kssp.Comment(this.cursor, kssp.openComment) + return new kssp.Comment(this.cursor, kssp.openComment); }; var _returnString = function() { - return new kssp.String(this.cursor, kssp.quote) + return new kssp.String(this.cursor, kssp.quote); }; var _returnString2 = function() { - return new kssp.String2(this.cursor, kssp.dquote) + return new kssp.String2(this.cursor, kssp.dquote); }; var _returnMethodArgs = function() { - return new kssp.MethodArgs(this.cursor, kssp.openParent) + return new kssp.MethodArgs(this.cursor, kssp.openParent); }; var _returnBackslashed = function() { - return new kssp.Backslashed(this.cursor, kssp.backslash) + return new kssp.Backslashed(this.cursor, kssp.backslash); }; /* @@ -556,7 +556,7 @@ this.process = function() { // For multivalue only - this.values = [] + this.values = []; // Parse all tokens (including first and last) var context = {'nextTokenIndex': 0}; this.txt = ''; @@ -955,7 +955,7 @@ while (context.nextTokenIndex < this.result.length) { this.digestTxt(context, kukit.tk.Fraction, kssp.Comment, kssp.String, kssp.String2); - var cursor = new kukit.tk.Cursor(context.txt + ' ') + var cursor = new kukit.tk.Cursor(context.txt + ' '); var parser = new kssp.KssSelector(cursor, null, true); this.selectors.push(parser.kssSelector); if (context.nextTokenIndex == this.result.length) break; @@ -972,10 +972,10 @@ }; kssp.KssSelectors = kukit.tk.mkParser('kssselectors', { "'": function() { - return new kssp.StringInSelector(this.cursor, kssp.quote) + return new kssp.StringInSelector(this.cursor, kssp.quote); }, '"': function() { - return new kssp.String2InSelector(this.cursor, kssp.dquote) + return new kssp.String2InSelector(this.cursor, kssp.dquote); }, ",": _mkReturnToken(kssp.comma), "{": _emitAndReturn, @@ -1113,7 +1113,7 @@ kssp.KssSelector = kukit.tk.mkParser('kssselector', { ":": function() { return [new kssp.colon(this.cursor), - new kssp.EventValue(this.cursor)] + new kssp.EventValue(this.cursor)]; }, "{": _emitAndReturn, "\/\*": _returnComment Modified: kukit/kukit.js/trunk/kukit/oper.js ============================================================================== --- kukit/kukit.js/trunk/kukit/oper.js (original) +++ kukit/kukit.js/trunk/kukit/oper.js Mon Nov 10 08:02:38 2008 @@ -289,14 +289,14 @@ if (this.eventRule) { // if it has actions, the answer is yes if (this.eventRule.actions.hasActions()) - return true + return true; // if we have a default action, we will return true in any case // because we may want to call it. // The reason for this check is, that a default action is also // valid, even if it received no parms in the eventRule, // in which case it is not present as an action. var kssevent = kukit.eventsGlobalRegistry.get( - this.getEventNamespace(), this.getEventName()) + this.getEventNamespace(), this.getEventName()); var methodName = kssevent.defaultActionMethodName; return (typeof methodName != 'undefined'); } else Modified: kukit/kukit.js/trunk/kukit/plugin.js ============================================================================== --- kukit/kukit.js/trunk/kukit/plugin.js (original) +++ kukit/kukit.js/trunk/kukit/plugin.js Mon Nov 10 08:02:38 2008 @@ -971,11 +971,11 @@ } } if (parms.allnodes) { - binder.__continueEvent_allNodes__(parms.name, + binder.continueEventAllNodes(parms.name, actionParameters); } else { // execution happens on the orignode - binder.__continueEvent__(parms.name, oper.orignode, + binder.continueEvent(parms.name, oper.orignode, actionParameters); } }); Modified: kukit/kukit.js/trunk/kukit/resourcedata.js ============================================================================== --- kukit/kukit.js/trunk/kukit/resourcedata.js (original) +++ kukit/kukit.js/trunk/kukit/resourcedata.js Mon Nov 10 08:02:38 2008 @@ -157,7 +157,7 @@ // key: value; this.initialize = function(txt) { this.txt = txt; -} +}; this.check = function(registry) { // use the IdentityPP provider. Modified: kukit/kukit.js/trunk/kukit/serveraction.js ============================================================================== --- kukit/kukit.js/trunk/kukit/serveraction.js (original) +++ kukit/kukit.js/trunk/kukit/serveraction.js Mon Nov 10 08:02:38 2008 @@ -135,8 +135,8 @@ }; this.notifyServer_done = function(domDoc) { -;;; var msg = 'Request readyState = ' + domDoc.readyState + '.'; -;;; kukit.logDebug(msg); +//;;; var msg = 'Request readyState = ' + domDoc.readyState + '.'; +//;;; kukit.logDebug(msg); if (domDoc.readyState == 4) { // notify the queue that we are done var success = this.oper.queueItem.receivedResult(); @@ -288,7 +288,8 @@ ;;; } throw kukit.err.responseParsingError(kukit.E); } - } + }; + if (dom == null) { // this should not happen ;;; kukit.E = 'Neither xml nor html payload.'; Modified: kukit/kukit.js/trunk/kukit/tokenizer.js ============================================================================== --- kukit/kukit.js/trunk/kukit/tokenizer.js (original) +++ kukit/kukit.js/trunk/kukit/tokenizer.js Mon Nov 10 08:02:38 2008 @@ -68,7 +68,7 @@ }; this.nextStep = function() { - var table = this.table + var table = this.table; var cursor = this.cursor; // Search for symbol according to table. var best_pos = cursor.text.length; @@ -239,7 +239,7 @@ tk.mkParser = function(symbol, table, _class) { // Poor man's subclassing. f = function(cursor, tokenClass, isTopLevelParser) { - this.table = table + this.table = table; this.cursor = cursor; this.startpos = cursor.pos; this.finished = false; Modified: kukit/kukit.js/trunk/kukit/utils.js ============================================================================== --- kukit/kukit.js/trunk/kukit/utils.js (original) +++ kukit/kukit.js/trunk/kukit/utils.js Mon Nov 10 08:02:38 2008 @@ -54,7 +54,7 @@ try { kukit.HAVE_SAFARI = navigator.vendor && navigator.vendor.indexOf('Apple') != -1; - kukit.HAVE_IE = eval("_SARISSA_IS_IE"); + kukit.HAVE_IE = eval("_SARISSA_IS_IE"); } catch (e) {} ;;; // Activation of extra logging panel: if necessary @@ -82,7 +82,7 @@ if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length); } return null; -} +}; // a null function that is used for logging kukit._null = function() {}; @@ -162,7 +162,7 @@ ;;; kukit.dom.createCookie(kukit._COOKIE_LOGLEVEL, level); ;;; // re-establish the log handlers, based on this cookie setting ;;; kukit._logger.updateLogLevel(); -} +}; // We want a way of knowing if Firebug is available : // it is very convenient to log a node in Firebug; @@ -192,7 +192,7 @@ ;;; this.logWarning = console.warn; ;;; this.logError = console.error; ;;; this.logFatal = console.error; -;;; } +;;; }; ;;; } ;;; // check whether the logging stuff of MochiKit is available @@ -211,7 +211,7 @@ ;;; this.logWarning = MochiKit.Logging.logWarning; ;;; this.logError = MochiKit.Logging.logError; ;;; this.logFatal = MochiKit.Logging.logFatal; -;;; } +;;; }; ;;; // make convenience url ;;; // javascript:kukit.showLog(); ;;; // instead of the need to say @@ -236,7 +236,7 @@ ;;; this.logWarning = function(str) { console.log('WARNING: '+str); }; ;;; this.logError = function(str) { console.log('ERROR: '+str); }; ;;; this.logFatal = function(str) { console.log('FATAL: '+str); }; -;;; } +;;; }; ;;; } // Initialize the logger with the solution we've just detected From kukit-checkins at codespeak.net Tue Nov 11 07:52:35 2008 From: kukit-checkins at codespeak.net (kukit-checkins at codespeak.net) Date: Tue, 11 Nov 2008 07:52:35 +0100 (CET) Subject: [KSS-checkins] Doctor Q&A Terrance Stiles Message-ID: <20081111065235.AD8A7168503@codespeak.net> An HTML attachment was scrubbed... URL: http://codespeak.net/pipermail/kukit-checkins/attachments/20081111/ef83530e/attachment-0001.htm From twilight at codespeak.net Wed Nov 12 11:25:07 2008 From: twilight at codespeak.net (twilight at codespeak.net) Date: Wed, 12 Nov 2008 11:25:07 +0100 (CET) Subject: [KSS-checkins] r59881 - kukit/kss.core/branch/bluraction Message-ID: <20081112102507.B03A31684F7@codespeak.net> Author: twilight Date: Wed Nov 12 11:25:05 2008 New Revision: 59881 Added: kukit/kss.core/branch/bluraction/ - copied from r59880, kukit/kss.core/trunk/ Log: Creating a branch for my new 'blur' action. From twilight at codespeak.net Wed Nov 12 12:21:37 2008 From: twilight at codespeak.net (twilight at codespeak.net) Date: Wed, 12 Nov 2008 12:21:37 +0100 (CET) Subject: [KSS-checkins] r59885 - kukit/kukit.js/branch/simon-bluraction Message-ID: <20081112112137.B1BA71684DB@codespeak.net> Author: twilight Date: Wed Nov 12 12:21:37 2008 New Revision: 59885 Added: kukit/kukit.js/branch/simon-bluraction/ - copied from r59884, kukit/kukit.js/trunk/ Log: Branching kukit.js at r59884 to add a blur action. From twilight at codespeak.net Wed Nov 12 12:24:16 2008 From: twilight at codespeak.net (twilight at codespeak.net) Date: Wed, 12 Nov 2008 12:24:16 +0100 (CET) Subject: [KSS-checkins] r59886 - in kukit/kss.core/branch/bluraction/kss/core: . plugins/core Message-ID: <20081112112416.52CB11684DC@codespeak.net> Author: twilight Date: Wed Nov 12 12:24:13 2008 New Revision: 59886 Modified: kukit/kss.core/branch/bluraction/kss/core/ (props changed) kukit/kss.core/branch/bluraction/kss/core/EXTERNALS.TXT kukit/kss.core/branch/bluraction/kss/core/plugins/core/commands.py Log: Initial, untested commit Modified: kukit/kss.core/branch/bluraction/kss/core/EXTERNALS.TXT ============================================================================== --- kukit/kss.core/branch/bluraction/kss/core/EXTERNALS.TXT (original) +++ kukit/kss.core/branch/bluraction/kss/core/EXTERNALS.TXT Wed Nov 12 12:24:13 2008 @@ -6,5 +6,5 @@ # # svn propset svn:externals -F EXTERNALS.TXT . # -kukit http://codespeak.net/svn/kukit/kukit.js/trunk +kukit http://codespeak.net/svn/kukit/kukit.js/branch/simon-bluraction Modified: kukit/kss.core/branch/bluraction/kss/core/plugins/core/commands.py ============================================================================== --- kukit/kss.core/branch/bluraction/kss/core/plugins/core/commands.py (original) +++ kukit/kss.core/branch/bluraction/kss/core/plugins/core/commands.py Wed Nov 12 12:24:13 2008 @@ -161,6 +161,10 @@ """ see interfaces.py """ command = self.commands.addCommand('focus', selector) + def blur(self, selector): + """ see interfaces.py """ + command = self.commands.addCommand('blur', selector) + # XXX Deprecated ones # BBB until 2007-10-18 From twilight at codespeak.net Wed Nov 12 12:24:26 2008 From: twilight at codespeak.net (twilight at codespeak.net) Date: Wed, 12 Nov 2008 12:24:26 +0100 (CET) Subject: [KSS-checkins] r59887 - kukit/kukit.js/branch/simon-bluraction/kukit Message-ID: <20081112112426.344201684DB@codespeak.net> Author: twilight Date: Wed Nov 12 12:24:25 2008 New Revision: 59887 Modified: kukit/kukit.js/branch/simon-bluraction/kukit/dom.js kukit/kukit.js/branch/simon-bluraction/kukit/plugin.js kukit/kukit.js/branch/simon-bluraction/kukit/selectorreg.js Log: Initial, untested commit Modified: kukit/kukit.js/branch/simon-bluraction/kukit/dom.js ============================================================================== --- kukit/kukit.js/branch/simon-bluraction/kukit/dom.js (original) +++ kukit/kukit.js/branch/simon-bluraction/kukit/dom.js Wed Nov 12 12:24:25 2008 @@ -143,6 +143,16 @@ }; }; +dom.blur = function(node) { + tagName = node.tagName.toLowerCase(); + if ((tagName == 'input') || (tagName == 'select') + || (tagName == 'textarea')) { + node.blur(); +;;;} else { +;;; kukit.logWarning('Blur on node that cannot be blurred !'); + }; +}; + /* * Gets the textual content of the node * if recursive=false (default), does not descend into sub nodes Modified: kukit/kukit.js/branch/simon-bluraction/kukit/plugin.js ============================================================================== --- kukit/kukit.js/branch/simon-bluraction/kukit/plugin.js (original) +++ kukit/kukit.js/branch/simon-bluraction/kukit/plugin.js Wed Nov 12 12:24:25 2008 @@ -882,6 +882,15 @@ kukit.commandsGlobalRegistry.registerFromAction('focus', kukit.cr.makeSelectorCommand); +kukit.actionsGlobalRegistry.register('blur', function(oper) { +;;; oper.componentName = '[blur] action'; + // TODO get rid of none + oper.evaluateParameters([], {'none': false}); + kukit.dom.blur(oper.node); +}); +kukit.commandsGlobalRegistry.registerFromAction('blur', + kukit.cr.makeSelectorCommand); + kukit.actionsGlobalRegistry.register('moveNodeAfter', function(oper) { ;;; oper.componentName = '[moveNodeAfter] action'; ;;; oper.evaluateParameters(['html_id'], {}); Modified: kukit/kukit.js/branch/simon-bluraction/kukit/selectorreg.js ============================================================================== --- kukit/kukit.js/branch/simon-bluraction/kukit/selectorreg.js (original) +++ kukit/kukit.js/branch/simon-bluraction/kukit/selectorreg.js Wed Nov 12 12:24:25 2008 @@ -36,9 +36,9 @@ this.check = function(args) { // check does not need to be used here actually. -;;; if (args.length != 1) { -;;; throw new Error('internal error, xxxselector() needs 1 argument'); -;;; } +//;;; if (args.length != 1) { +//;;; throw new Error('internal error, xxxselector() needs 1 argument'); +//;;; } }; this.eval = function(args, node, defaultParameters) { var f = kukit.selectorTypesGlobalRegistry.get(this.selector_type); From twilight at codespeak.net Wed Nov 12 17:22:18 2008 From: twilight at codespeak.net (twilight at codespeak.net) Date: Wed, 12 Nov 2008 17:22:18 +0100 (CET) Subject: [KSS-checkins] r59893 - in kukit/kss.core/branch/bluraction/kss/core/plugins/core: . demo demo/commandaction Message-ID: <20081112162218.C2DFB1684CD@codespeak.net> Author: twilight Date: Wed Nov 12 17:22:17 2008 New Revision: 59893 Added: kukit/kss.core/branch/bluraction/kss/core/plugins/core/demo/commandaction/blur.kss kukit/kss.core/branch/bluraction/kss/core/plugins/core/demo/commandaction/blur.pt Modified: kukit/kss.core/branch/bluraction/kss/core/plugins/core/configure.zcml kukit/kss.core/branch/bluraction/kss/core/plugins/core/demo/commandaction/commandaction.py kukit/kss.core/branch/bluraction/kss/core/plugins/core/demo/commandaction/configure.zcml kukit/kss.core/branch/bluraction/kss/core/plugins/core/demo/config.py kukit/kss.core/branch/bluraction/kss/core/plugins/core/demo/zopeconfig.py kukit/kss.core/branch/bluraction/kss/core/plugins/core/interfaces.py Log: Added tests for blur action. Modified: kukit/kss.core/branch/bluraction/kss/core/plugins/core/configure.zcml ============================================================================== --- kukit/kss.core/branch/bluraction/kss/core/plugins/core/configure.zcml (original) +++ kukit/kss.core/branch/bluraction/kss/core/plugins/core/configure.zcml Wed Nov 12 17:22:17 2008 @@ -276,6 +276,11 @@ /> + + + + + + + + + + + + header + + Blur + We test the blur action/command : it is used to remove focus from form + widgets. + The focus is removed from various widgets : input, + select, textarea, with both client and server + actions + + + Blur input. + + + Select the input, then press the 'Space' key to remove focus from it. + + + + + + + + + Blur textarea. + + + Select the textarea, then press the 'Space' key to remove focus from it. + + + + textarea + textarea + + + + Blur select. + + + Select the select, then press the 'Space' key to remove focus from it. + + + + + xxx + + + xxx + + + + + +
header
We test the blur action/command : it is used to remove focus from form + widgets.
The focus is removed from various widgets : input, + select, textarea, with both client and server + actions
input
select
textarea