[KSS-checkins] r42989 - in kukit/kss.demo/trunk/kss/demo: . browser browser/coreplugin browser/coresyntax tests tests/selenium_tests

gotcha at codespeak.net gotcha at codespeak.net
Thu May 10 00:00:35 CEST 2007


Author: gotcha
Date: Thu May 10 00:00:35 2007
New Revision: 42989

Added:
   kukit/kss.demo/trunk/kss/demo/browser/autoupdate.kss
      - copied unchanged from r42976, kukit/kss.demo/trunk/kss/demo/browser/azax_three_autoupdate.kss
   kukit/kss.demo/trunk/kss/demo/browser/autoupdate.pt
      - copied, changed from r42976, kukit/kss.demo/trunk/kss/demo/browser/azax_three_autoupdate.pt
   kukit/kss.demo/trunk/kss/demo/browser/basic_commands.kss
      - copied unchanged from r42976, kukit/kss.demo/trunk/kss/demo/browser/azax_demo.kss
   kukit/kss.demo/trunk/kss/demo/browser/basic_commands.pt
      - copied, changed from r42976, kukit/kss.demo/trunk/kss/demo/browser/azax_demo.pt
   kukit/kss.demo/trunk/kss/demo/browser/coreplugin/demoview.py
      - copied, changed from r42976, kukit/kss.demo/trunk/kss/demo/browser/coreplugin/azaxview.py
   kukit/kss.demo/trunk/kss/demo/browser/coresyntax/demoview.py
      - copied, changed from r42976, kukit/kss.demo/trunk/kss/demo/browser/coresyntax/azaxview.py
   kukit/kss.demo/trunk/kss/demo/browser/effects.kss
      - copied unchanged from r42976, kukit/kss.demo/trunk/kss/demo/browser/azax_effects.kss
   kukit/kss.demo/trunk/kss/demo/browser/effects.pt
      - copied unchanged from r42976, kukit/kss.demo/trunk/kss/demo/browser/azax_effects.pt
   kukit/kss.demo/trunk/kss/demo/browser/inline_edit.kss
      - copied unchanged from r42976, kukit/kss.demo/trunk/kss/demo/browser/azax_instant_edit.kss
   kukit/kss.demo/trunk/kss/demo/browser/inline_edit.pt
      - copied, changed from r42976, kukit/kss.demo/trunk/kss/demo/browser/azax_instant_edit.pt
   kukit/kss.demo/trunk/kss/demo/browser/kss_demo_index.pt
      - copied, changed from r42976, kukit/kss.demo/trunk/kss/demo/browser/azax_demo_index.pt
   kukit/kss.demo/trunk/kss/demo/browser/tree.kss
      - copied unchanged from r42976, kukit/kss.demo/trunk/kss/demo/browser/azax_tree.kss
   kukit/kss.demo/trunk/kss/demo/browser/tree.pt
      - copied, changed from r42976, kukit/kss.demo/trunk/kss/demo/browser/azax_tree.pt
   kukit/kss.demo/trunk/kss/demo/browser/two_selects.kss
      - copied unchanged from r42976, kukit/kss.demo/trunk/kss/demo/browser/azax_two_select.kss
   kukit/kss.demo/trunk/kss/demo/browser/two_selects.pt
      - copied, changed from r42976, kukit/kss.demo/trunk/kss/demo/browser/azax_two_select.pt
   kukit/kss.demo/trunk/kss/demo/browser/xpath.kss
      - copied unchanged from r42976, kukit/kss.demo/trunk/kss/demo/browser/azax_xpath.kss
   kukit/kss.demo/trunk/kss/demo/browser/xpath.pt
      - copied, changed from r42976, kukit/kss.demo/trunk/kss/demo/browser/azax_xpath.pt
   kukit/kss.demo/trunk/kss/demo/demoview.py
      - copied, changed from r42976, kukit/kss.demo/trunk/kss/demo/azaxview.py
   kukit/kss.demo/trunk/kss/demo/tests/selenium_tests/autopupdate.html
      - copied, changed from r42976, kukit/kss.demo/trunk/kss/demo/tests/selenium_tests/three_autopupdate.html
   kukit/kss.demo/trunk/kss/demo/tests/selenium_tests/basic_commands.html
      - copied unchanged from r42976, kukit/kss.demo/trunk/kss/demo/tests/selenium_tests/demo1.html
   kukit/kss.demo/trunk/kss/demo/tests/selenium_tests/inline_edit.html
      - copied, changed from r42976, kukit/kss.demo/trunk/kss/demo/tests/selenium_tests/azax_instant_edit.html
   kukit/kss.demo/trunk/kss/demo/tests/test_demoview.py
      - copied, changed from r42976, kukit/kss.demo/trunk/kss/demo/tests/test_azaxview.py
Removed:
   kukit/kss.demo/trunk/kss/demo/azaxview.py
   kukit/kss.demo/trunk/kss/demo/browser/azax_demo.kss
   kukit/kss.demo/trunk/kss/demo/browser/azax_demo.pt
   kukit/kss.demo/trunk/kss/demo/browser/azax_demo_index.pt
   kukit/kss.demo/trunk/kss/demo/browser/azax_effects.kss
   kukit/kss.demo/trunk/kss/demo/browser/azax_effects.pt
   kukit/kss.demo/trunk/kss/demo/browser/azax_instant_edit.kss
   kukit/kss.demo/trunk/kss/demo/browser/azax_instant_edit.pt
   kukit/kss.demo/trunk/kss/demo/browser/azax_three_autoupdate.kss
   kukit/kss.demo/trunk/kss/demo/browser/azax_three_autoupdate.pt
   kukit/kss.demo/trunk/kss/demo/browser/azax_tree.kss
   kukit/kss.demo/trunk/kss/demo/browser/azax_tree.pt
   kukit/kss.demo/trunk/kss/demo/browser/azax_two_select.kss
   kukit/kss.demo/trunk/kss/demo/browser/azax_two_select.pt
   kukit/kss.demo/trunk/kss/demo/browser/azax_xpath.kss
   kukit/kss.demo/trunk/kss/demo/browser/azax_xpath.pt
   kukit/kss.demo/trunk/kss/demo/browser/coreplugin/azaxview.py
   kukit/kss.demo/trunk/kss/demo/browser/coresyntax/azaxview.py
   kukit/kss.demo/trunk/kss/demo/tests/selenium_tests/azax_instant_edit.html
   kukit/kss.demo/trunk/kss/demo/tests/selenium_tests/demo1.html
   kukit/kss.demo/trunk/kss/demo/tests/selenium_tests/three_autopupdate.html
   kukit/kss.demo/trunk/kss/demo/tests/test_azaxview.py
Modified:
   kukit/kss.demo/trunk/kss/demo/EXTERNALS.TXT
   kukit/kss.demo/trunk/kss/demo/browser/coresyntax/configure.zcml
   kukit/kss.demo/trunk/kss/demo/configure.zcml
Log:
death to azax, long life kss

Modified: kukit/kss.demo/trunk/kss/demo/EXTERNALS.TXT
==============================================================================
--- kukit/kss.demo/trunk/kss/demo/EXTERNALS.TXT	(original)
+++ kukit/kss.demo/trunk/kss/demo/EXTERNALS.TXT	Thu May 10 00:00:35 2007
@@ -1,6 +1,6 @@
 #
 # results of svn propget svn:externals
-# http://codespeak.net/svn/kukit/azaxdemo/trunk
+# http://codespeak.net/svn/kukit/kss.demo/trunk
 #
 # You can update your working dir by: 
 #     svn propset svn:externals -F EXTERNALS.TXT .

Deleted: /kukit/kss.demo/trunk/kss/demo/azaxview.py
==============================================================================
--- /kukit/kss.demo/trunk/kss/demo/azaxview.py	Thu May 10 00:00:35 2007
+++ (empty file)
@@ -1,204 +0,0 @@
-# -*- coding: ISO-8859-15 -*-
-# Copyright (c) 2005
-# Authors:
-#   Godefroid Chapelle <gotcha at bubblenet.be>
-#   Tarek Ziadé <tz at nuxeo.com>
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as published
-# by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-#
-
-from kss.core import AzaxBaseView, force_unicode, KssExplicitError, kssaction
-import datetime
-
-class AzaxView(AzaxBaseView):
-
-    def clearDivContent(self):
-        """ clear div content """
-        self.getCommandSet('core').clearChildNodes('div#demo')
-        return self.render()
-
-    def copyFromDivContent(self):
-        """ copy div content """
-        self.getCommandSet('core').copyChildNodesFrom('div#copy', 'demo')
-        return self.render()
-
-    def copyToDivContent(self):
-        """ copy div content """
-        self.getCommandSet('core').copyChildNodesTo('div#copy', 'demo')
-        return self.render()
-
-    def moveToDivContent(self):
-        """ copy div content """
-        self.getCommandSet('core').copyChildNodesTo('div#copy', 'demo')
-        self.getCommandSet('core').clearChildNodes('div#copy')
-        return self.render()
-
-    def getDivContent(self):
-        """ returns div content """
-        self.getCommandSet('core').replaceInnerHTML('div#demo', '<h1>it worked</h1>')
-        self.getCommandSet('core').replaceInnerHTML('div#demo', '<h1 id="workedagain">it worked&nbsp;again</h1>')
-        return self.render()
-
-    def getCorrespondingSelect(self, value):
-        """ returns select content """
-        mapping = {}
-        mapping['']=[]
-        mapping['animals']=['dog', 'cat', 'cow']
-        mapping['machines']=['computer', 'car', 'airplane']
-        # XXX Note that originally we just used replaceInnerHTML to just put
-        # the options inside the select, however this is principally broken 
-        # on IE due to an IE bug. Microsoft has confirmed the bug but is not
-        # giving information on whether it has or it will ever be fixed.
-        # For further info, see http://support.microsoft.com/default.aspx?scid=kb;en-us;276228
-        # The current solution, replace the outer node, works solidly.
-        result = ['<select id="second">']
-        result.extend(['<option>%s</option>' % item for item in mapping[value]])
-        result.append('</select>')
-        self.getCommandSet('core').replaceHTML('select#second', ' '.join(result))
-        return self.render()
-
-    def getAutoupdateMarkup(self):
-        """ returns the current time """
-        self.getCommandSet('core').replaceInnerHTML('div#update-wrapper', '<div id="update-area"></div>')
-        return self.render()
-
-    def getCurrentTime(self):
-        """ returns the current time """
-        self.getCommandSet('core').replaceInnerHTML('div#update-area', "<p>%s</p>" % str(datetime.datetime.now()))
-        return self.render()
-        
-    def getInputField(self, value):
-        'Inserts the value as entered into an input field'
-        # We need to make unicode. But on Z2 we receive utf-8, on Z3 unicode
-        value = force_unicode(value, 'utf')
-        self.getCommandSet('core').replaceInnerHTML('div#text', 
-                            '<div><input type="text" name="value" value="'+value+'" /></div>' \
-                            '<input type="button" value="save" id="save" />'
-                           )
-        return self.render()
-        
-    def saveText(self, value):
-        'Inserts the value to display it on the page'
-        # We need to make unicode. But on Z2 we receive utf-8, on Z3 unicode
-        value = force_unicode(value, 'utf')
-        self.getCommandSet('core').replaceInnerHTML('div#text', value+'<input type="hidden" name="value" value="'+value+'" />')
-        return self.render()
-    
-    def expandSubTree(self, value, xvalue):
-        'Expands given subtree'
-        self.getCommandSet('core').replaceInnerHTML('#text', 'works, expand %s (xhtml attr: %s)' % (value, xvalue))
-        return self.render()
-        
-    def collapseSubTree(self, value, xvalue):
-        'Collapses given subtree'
-        self.getCommandSet('core').replaceInnerHTML('#text', 'works, collapse %s (xhtml attr: %s)' % (value, xvalue))
-        return self.render()
-
-    def cancelSubmitSave(self, text_save):
-        # We need to make unicode. But on Z2 we receive utf-8, on Z3 unicode
-        text_save = force_unicode(text_save, 'utf')
-        self.getCommandSet('core').replaceInnerHTML('div#async', 'Async saved %s' % text_save)
-        return self.render()
-
-    def removeNodeXpath(self):
-        # XXX the xpath selector is now moved out of the core, see suppl, product "azaxslt"
-        sel = self.getSelector('xpath', "//P[@id='xpath']/following-sibling::*[position()=1]")
-        self.getCommandSet('core').deleteNode(sel)
-        return self.render()
-       
-    def clickedButton(self, id):
-        'Show status of the button clicked'
-        self.getCommandSet('core').replaceInnerHTML('#update-status', "<p>Button <b>%s</b> clicked. <i>%s</i></p>" % (id, datetime.datetime.now()))
-        return self.render()
-
-    def updateSlaveSelector(self, masterid, value):
-        """ returns select content """
-        mapping = {}
-        mapping['']=[]
-        mapping['animals']=['dog', 'cat', 'cow']
-        mapping['machines']=['computer', 'car', 'airplane']
-        # calculate the slave id
-        master, _dummy = masterid.split('-')
-        slaveid = '%s-slave' % master
-        # make the payload
-        result = ['<select id="%s">' % slaveid]
-        result.extend(['<option>%s</option>' % item for item in mapping[value]])
-        result.append('</select>')
-        # XXX See above remark why we need to replace the outer select.
-        self.getCommandSet('core').replaceHTML('select#%s' % slaveid, ' '.join(result))
-        return self.render()
-
-    def formSubmitSave(self, data):
-        result = ['<p>Async saved:</p><table><th>Name:</th><th>Value:</th>']
-        for key, value in data.items():
-            result.append('<tr><td>%s</td><td>%s</td></tr>' % (key, value))
-        result.append('</table>')
-        # We need to make unicode. But on Z2 we receive utf-8, on Z3 unicode
-        retval = force_unicode(''.join(result), 'utf')
-        self.getCommandSet('core').replaceInnerHTML('div#async', retval)
-        return self.render()
-
-    def reset(self):
-        self.getCommandSet('effects').effect('.effects', 'appear')
-        return self.render()
-
-    @kssaction
-    def errTest(self, id, act):
-        if act == 'error':
-            raise Exception, 'We have an error here.'
-        elif act == 'explicit':
-            raise KssExplicitError, 'Explicit error raised.'
-        elif act == 'empty':
-            # Just do nothing, we want to return a response with no commands.
-            # This is valid behaviour, should raise no error, however 
-            # gives a warning in the kukit log.
-            pass
-        ## XXX This is commented out by default, but you can try this on your own
-        ## server, together with the timeout buttons in the page template timeout buttons in the page template.
-        ## 
-        #elif act == 'timeout':
-        #    # Wait longer then timeout, this is currently 4 s
-        #    time.sleep(6.0);
-        #    # the next reply will never arrive.
-        #    self.replaceInnerHTML('#update-status', u'Timeout response, button %s clicked. %s' % (id, datetime.datetime.now()))
-        else:
-            # act = noerror: standard response.
-            self.getCommandSet('core').replaceInnerHTML('#update-status', u'Normal response, button %s clicked. %s' % (id, datetime.datetime.now()))
-        return self.render()
-
-    def htmlReplace(self):
-        """html replace"""
-        self.getCommandSet('core').replaceHTML('div#frame', '<div id="frame"><h1 id="core">KSS for a life.</h1></div>')
-        return self.render()
-
-    def htmlInsertBefore(self):
-        """html insert"""
-        self.getCommandSet('core').insertHTMLBefore('#core', '<div class="type1">KSS for a life. %s</div>' % (str(datetime.datetime.now()), ))
-        return self.render()
-
-    def htmlInsertAfter(self):
-        """html insert"""
-        self.getCommandSet('core').insertHTMLAfter('#core', '<div class="type1">KSS for a life. %s</div>' % (str(datetime.datetime.now()), ))
-        return self.render()
-
-    def htmlInsertAsFirstChild(self):
-        """html insert"""
-        self.getCommandSet('core').insertHTMLAsFirstChild('div#frame', '<div class="type2">KSS for a life. %s</div>' % (str(datetime.datetime.now()), ))
-        return self.render()
-
-    def htmlInsertAsLastChild(self):
-        """html insert"""
-        self.getCommandSet('core').insertHTMLAsLastChild('div#frame', '<div class="type2">KSS for a life. %s</div>' % (str(datetime.datetime.now()), ))
-        return self.render()

Copied: kukit/kss.demo/trunk/kss/demo/browser/autoupdate.pt (from r42976, kukit/kss.demo/trunk/kss/demo/browser/azax_three_autoupdate.pt)
==============================================================================
--- kukit/kss.demo/trunk/kss/demo/browser/azax_three_autoupdate.pt	(original)
+++ kukit/kss.demo/trunk/kss/demo/browser/autoupdate.pt	Thu May 10 00:00:35 2007
@@ -1,7 +1,7 @@
 <html>
   <head>
     <link rel="kukit" type="text/css" 
-          tal:attributes="href string:${context/@@absolute_url}/++resource++azax_three_autoupdate.kss"/>
+          tal:attributes="href string:${context/@@absolute_url}/++resource++autoupdate.kss"/>
     <metal:header use-macro="context/@@header_macros/header_resources" />
     <style type="text/css">
         #update-area {
@@ -26,7 +26,7 @@
   <body>
     <p><a href=".">All demos</a></p>
     <p><a href="javascript:void(createLoggingPane(true))">Start logging pane</a></p>
-    <p><a href="./++resource++azax_three_autoupdate.kss">View KSS resource</a></p>
+    <p><a href="./++resource++autoupdate.kss">View KSS resource</a></p>
     <h2>Three autoupdate</h2>
 
 <h3>Demo</h3>

Deleted: /kukit/kss.demo/trunk/kss/demo/browser/azax_demo.kss
==============================================================================
--- /kukit/kss.demo/trunk/kss/demo/browser/azax_demo.kss	Thu May 10 00:00:35 2007
+++ (empty file)
@@ -1,21 +0,0 @@
- 
-button#copyFrom:click {
-    action-server: copyFromDivContent;
-}
-
-button#copyTo:click {
-    action-server: copyToDivContent;
-}
-
-button#moveTo:click {
-    action-server: moveToDivContent;
-}
-
-button#clear:click {
-    action-server: clearDivContent;
-}
-
-button#change:click {
-    action-server: getDivContent;
-}
-

Deleted: /kukit/kss.demo/trunk/kss/demo/browser/azax_demo.pt
==============================================================================
--- /kukit/kss.demo/trunk/kss/demo/browser/azax_demo.pt	Thu May 10 00:00:35 2007
+++ (empty file)
@@ -1,116 +0,0 @@
-<html>
-  <head>
-    <link rel="kukit" type="text/css"
-          tal:attributes="href string:${context/@@absolute_url}/++resource++azax_demo.kss"/>
-    <metal:header use-macro="context/@@header_macros/header_resources" />
-  </head>
-  <body>
-    <p><a href=".">All demos</a></p>
-    <p><a href="javascript:void(createLoggingPane(true))">Start logging pane</a></p>
-    <p><a href="./++resource++azax_demo.kss">View KSS resource</a></p>
-    <h2>Change tag content</h2>
-    <h4>Top div</h4>
-    <div id="demo" style="border: 1px solid black;padding: 15px">
-    KSS 
-    </div>
-    <ul>
-    <li>
-    <button id="change">
-	Change top div content
-    </button>
-    <a tal:attributes="href string:${context/@@absolute_url}/getDivContent">
-       getDivContent RESPONSE
-    </a>
-    </li>
-    <li>
-    <button id="clear">
-	Clear top div content
-    </button>
-    <a tal:attributes="href string:${context/@@absolute_url}/clearDivContent">
-       clearDivContent RESPONSE
-    </a>
-    </li>
-    <li>
-    <button id="copyFrom">
-	Copy top div content to bottom
-    </button>
-    <a tal:attributes="href string:${context/@@absolute_url}/copyFromDivContent">
-      copyFromDivContent RESPONSE
-    </a>
-    </li>
-    <li>
-    <button id="copyTo">
-	Copy bottom div content to top
-    </button>
-    <a tal:attributes="href string:${context/@@absolute_url}/copyToDivContent">
-      copyToDivContent RESPONSE
-    </a>
-    </li>
-    <li>
-    <button id="moveTo">
-	Move bottom div content to top
-    </button>
-    <a tal:attributes="href string:${context/@@absolute_url}/moveToDivContent">
-      moveToDivContent RESPONSE
-    </a>
-    </li>
-    </ul>
-    <h4>Bottom div</h4>
-    <div id="copy" style="border: 1px solid black;padding: 15px">
-    copy here
-    </div>
-    <h3>Javascript Styling</h3>
-    <p>This page defines a <code>link</code> in the header which <code>rel</code> attribute points
-       to a <code>.kss</code> resource file on the server :
-
-          <a tal:attributes="href string:${context/@@absolute_url}/++resource++azax_demo.kss">
-           see the kss file here</a>.</p>
-    <p>
-        This <code>.kss</code> file declares CSS selectors associated with events and server URLs called when the event occur.
-    </p>
-    <p>A javascript engine processes the XML content : it inserts javascript
-       events in the DOM.</p>
-    <p>
-       For instance, the click event of button with the id <code>change</code> will call asynchronously the <code>getDivContent</code> URL.
-
-    </p>
-   <h3>Server Asynchronous Call</h3>
-   <p>
-     The events associated with Javascript just call the server asynchronously.
-   </p>
-   <p>
-     The response is a XML file.
-     The XML contains CSS selectors associated with commands.
-   </p>
-   <p>
-     The Javascript engine selects the DOM nodes to which it applies each command.
-   </p>
-   <p>
-     For instance, let's look at the <a tal:attributes="href string:${context/@@absolute_url}/moveToDivContent"><code>moveToDivContent</code> response</a>.
-   </p>
-   <pre>
-&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
-&lt;html xmlns="http://www.w3.org/1999/xhtml"
-      xmlns:kukit="http://www.kukit.org/commands/1.0"&gt;&lt;body&gt;
-&lt;kukit:commands&gt;
-&lt;kukit:command selector="div#copy" name="copyChildNodesTo"
-               selectorType=""&gt;
-    &lt;kukit:param name="html_id"&gt;demo&lt;/kukit:param&gt;
-&lt;/kukit:command&gt;
-&lt;kukit:command selector="div#copy" name="clearChildNodes"
-               selectorType=""&gt;
-&lt;/kukit:command&gt;
-&lt;/kukit:commands&gt;
-&lt;/body&gt;&lt;/html&gt;
-   </pre>
-   <p>
-     The XML specifies two commands to apply to the <code>div#copy</code> node :
-   </p>
-   <p>
-     <code>copyChildNodesTo</code> copies the children of the DOM node to the node with id <code>demo</code>.
-   </p>
-   <p>
-     <code>clearChildNodes</code> removes the children of the DOM node.
-   </p>
-  </body>
-</html>

Deleted: /kukit/kss.demo/trunk/kss/demo/browser/azax_demo_index.pt
==============================================================================
--- /kukit/kss.demo/trunk/kss/demo/browser/azax_demo_index.pt	Thu May 10 00:00:35 2007
+++ (empty file)
@@ -1,56 +0,0 @@
-<html>
-  <head>
-    <link rel="stylesheet" type="text/css"
-          tal:attributes="href string:${context/@@absolute_url}/++resource++demo.css"/>
-  </head>
-  <body>
-    <h2>KSS demos</h2>
-    <ul>
-     <li><a href="basic_commands.html">Change tag content</a></li>
-     <li><a href="two_selects.html">Two selects</a></li>
-     <li><a href="three_autoupdate.html">Three autoupdate</a></li>
-     <li><a href="azax_instant_edit.html">instant edit</a></li>
-     <!--li><a href="azax_xpath.html">xpath</a></li-->
-     <li><a href="cancel_submit.html">Cancel Submit Click</a></li>
-     <li><a href="azax_tree.html">Tree</a></li>
-     <li><a href="more_selectors.html">More complex selectors</a></li>
-     <li><a href="two_select_revisited.html">Master-slave selects revisited</a></li>
-     <li><a href="form_submit.html">Form submit</a></li>
-     <li><a href="effects.html">Effects</a></li>
-     <li><a href="error_handling.html">Error handling</a></li>
-     <li><a href="preventdefault.html">Preventdefault (a.k.a. Safari workarounds)</a></li>
-     <li><a href="html_inserts.html">HTML insertions (Change tag content returns)</a></li>
-     <li><a href="draganddrop.html">Scriptaculous drag and drop</a></li>
-    </ul>
-    <h3>Parameter functions</h3>
-    <ul>
-      <li><a href="pf_forms.html">Forms</a></li>
-    </ul>
-    <h3>Selectors</h3>
-    <ul>
-      <li><a href="selectors.html">Parent node selector</a></li>
-    </ul>
-    <h3>Core syntax</h3>
-    <ul>
-      <li><a href="kss_selector_param.html">Kss selector parameters</a></li>
-      <li><a href="kss_url_param.html">Kss url parameters</a></li>
-    </ul>
-    <h3>Core plugin</h3>
-    <ul>
-      <li><a href="kss_evt_preventbubbling.html">Prevent bubbling KSS event parameter </a></li>
-    </ul>
-    <h3>Commands/Actions</h3>
-    <ul>
-      <li><a href="ca_focus.html">Focus</a></li>
-      <li><a href="actions.html">Toggle case action</a></li>
-    </ul>
-
-	  <br /><br />
-
-    <h3>Unit tests</h3>
-    <ul style="background-color:#E0E0C0;">
-     <li><a href="@@kukittestsuite">Run all tests</a></li>
-    </ul>
-
-  </body>
-</html>

Deleted: /kukit/kss.demo/trunk/kss/demo/browser/azax_effects.kss
==============================================================================
--- /kukit/kss.demo/trunk/kss/demo/browser/azax_effects.kss	Thu May 10 00:00:35 2007
+++ (empty file)
@@ -1,9 +0,0 @@
-.effects:click {
-    action-client: effect;
-    effect-type: nodeAttr('id');
-}
-
-input#resetEffects:click {
-    action-server: resetEffects;
-}
-

Deleted: /kukit/kss.demo/trunk/kss/demo/browser/azax_effects.pt
==============================================================================
--- /kukit/kss.demo/trunk/kss/demo/browser/azax_effects.pt	Thu May 10 00:00:35 2007
+++ (empty file)
@@ -1,27 +0,0 @@
-<html>
-  <head>
-    <link rel="kukit" type="text/css" 
-          tal:attributes="href string:${context/@@absolute_url}/++resource++effects.kss"/>
-    <metal:header use-macro="context/@@header_macros/header_resources_with_prototype" />
-    <style type="text/css">
-        .effects {
-            border: 0;
-            height: 3em;
-            background-color: red;
-            margin: 1em;
-        }
-    </style>
-  </head>
-  <body>
-    <p><a href=".">All demos</a></p>
-    <p><a href="javascript:void(createLoggingPane(true))">Start logging pane</a></p>
-    <p><a href="./++resource++effects.kss">View KSS resource</a></p>
-    <h2>Effects</h2>
-
-<h3>Demo</h3>
-    <div id="fade" class="effects">Click here to make me fade</div>
-    <div id="puff" class="effects">Click here to make me puff</div>
-    <div id="blindup" class="effects">Click here to make me blindup</div>
-    <input type="submit" id="resetEffects" value="Reset" />
-  </body>
-</html>

Deleted: /kukit/kss.demo/trunk/kss/demo/browser/azax_instant_edit.kss
==============================================================================
--- /kukit/kss.demo/trunk/kss/demo/browser/azax_instant_edit.kss	Thu May 10 00:00:35 2007
+++ (empty file)
@@ -1,20 +0,0 @@
-div#text:click {
-    action-server: getInputField;
-    getInputField-value:      currentFormVar(value);
-}
-
-div#text:keydown {
-evt-keydown-allowbubbling: true;
-evt-keydown-keycodes: 13;
-action-client:log;
-action-server: saveText;
-saveText-value:currentFormVar(value);
-
-}
-
-input#save:click {
-    action-server: saveText;
-    saveText-value:      currentFormVar(value);
-}
-
-

Deleted: /kukit/kss.demo/trunk/kss/demo/browser/azax_instant_edit.pt
==============================================================================
--- /kukit/kss.demo/trunk/kss/demo/browser/azax_instant_edit.pt	Thu May 10 00:00:35 2007
+++ (empty file)
@@ -1,22 +0,0 @@
-<html>
-  <head>
-    <link rel="kukit" type="text/css"
-          tal:attributes="href string:${context/@@absolute_url}/++resource++azax_instant_edit.kss"/>
-    <metal:header use-macro="context/@@header_macros/header_resources" />
-  </head>
-  <body>
-    <p><a href=".">All demos</a></p>
-    <p><a href="javascript:void(createLoggingPane(true))">Start logging pane</a></p>
-    <p><a href="./++resource++azax_instant_edit.kss">View KSS resource</a></p>
-
-<h3>Instant edit Demo</h3>
-	<div>
-   <form name="edit">
-        <div id="text">
-        click me!
-        <input type="hidden" name="value" value="click me!"  />
-        </div>
-    </form>
-	</div>
-  </body>
-</html>

Deleted: /kukit/kss.demo/trunk/kss/demo/browser/azax_three_autoupdate.kss
==============================================================================
--- /kukit/kss.demo/trunk/kss/demo/browser/azax_three_autoupdate.kss	Thu May 10 00:00:35 2007
+++ (empty file)
@@ -1,9 +0,0 @@
-div#update-area:timeout {
-    evt-timeout-delay: 2000;
-    action-server: getCurrentTime;
-}
-
-input#start-update:click {
-    action-server: getAutoupdateMarkup;
-}
-

Deleted: /kukit/kss.demo/trunk/kss/demo/browser/azax_three_autoupdate.pt
==============================================================================
--- /kukit/kss.demo/trunk/kss/demo/browser/azax_three_autoupdate.pt	Thu May 10 00:00:35 2007
+++ (empty file)
@@ -1,37 +0,0 @@
-<html>
-  <head>
-    <link rel="kukit" type="text/css" 
-          tal:attributes="href string:${context/@@absolute_url}/++resource++azax_three_autoupdate.kss"/>
-    <metal:header use-macro="context/@@header_macros/header_resources" />
-    <style type="text/css">
-        #update-area {
-            border: 1px solid black;
-            width: 10em;
-            height: 10em;
-        }
-    </style>
-    <script type="text/javascript">
-        /*
-        function handleTimeout() {
-            element = document.getElementById("update-area");
-            element.click()
-            setTimeout("handleTimeout();", 500);
-        }
-        window.onload = function () {
-            setTimeout("handleTimeout();", 500);
-        }
-        */
-    </script>
-  </head>
-  <body>
-    <p><a href=".">All demos</a></p>
-    <p><a href="javascript:void(createLoggingPane(true))">Start logging pane</a></p>
-    <p><a href="./++resource++azax_three_autoupdate.kss">View KSS resource</a></p>
-    <h2>Three autoupdate</h2>
-
-<h3>Demo</h3>
-    <div id="update-wrapper">
-    </div>
-    <input type="button" id="start-update" />
-  </body>
-</html>

Deleted: /kukit/kss.demo/trunk/kss/demo/browser/azax_tree.kss
==============================================================================
--- /kukit/kss.demo/trunk/kss/demo/browser/azax_tree.kss	Thu May 10 00:00:35 2007
+++ (empty file)
@@ -1,11 +0,0 @@
-.state-expanded:click {
-    action-server: collapseSubTree;
-    collapseSubTree-value: kssAttr("node");
-    collapseSubTree-xvalue: kssAttr("xnode");
-}
-
-.state-collapsed:click {
-    action-server: expandSubTree;
-    expandSubTree-value: kssAttr("node");
-    expandSubTree-xvalue: kssAttr("xnode");
-}

Deleted: /kukit/kss.demo/trunk/kss/demo/browser/azax_tree.pt
==============================================================================
--- /kukit/kss.demo/trunk/kss/demo/browser/azax_tree.pt	Thu May 10 00:00:35 2007
+++ (empty file)
@@ -1,50 +0,0 @@
-<html>
-  <head>
-    <link rel="kinetic-stylesheet" type="text/css"
-          tal:attributes="href string:${context/@@absolute_url}/++resource++azax_tree.kss"/>
-    <metal:header use-macro="context/@@header_macros/header_resources" />
-    <style>
-        ul, li{
-            list-style: square;
-        }
-
-        input{
-            border: 0px;
-            background-color: transparent;
-        }
-    </style>
-</head>
-  <body>
-    <p><a href=".">All demos</a></p>
-    <p><a href="javascript:void(createLoggingPane(true))">Start logging pane</a></p>
-    <p><a href="./++resource++azax_tree.kss">View KSS resource</a></p>
-
-<h3>Tree Demo</h3>
-    <p id="text">This is not finished yet.</p>
-    <p>In this demo we use attributes in a special namespace. This makes
-    it possible to put attributes to nodes without being forced to reuse "id"
-	or otherwise produce invalid html.</p>
-    <p>There are two ways to provide these attributes in pages:
-    with real xhtml (mimetype text/xhtml), namespace attributes can be used, 
-	with transitional xhtml (mimetype text/html)
-	the attributes can be encoded into "class" attributes. Both are demonstrated
-	in this example in parallel, but in reality, one of these should be 
-	used depending on the content type of the page.</p>
-    <form name="edit">
-    <ul id="root">
-        <li class="state-collapsed kssattr-node-1" id="node:1" kssattr:xnode="1">1</li>
-        <li class="state-expanded kssattr-node-2" id="node:2" kssattr:xnode="2">2</li>
-        <ul id="childs:2">
-            <li class="state-collapsed kssattr-node-2/1" id="node:2/1" kssattr:xnode="2/1">2.1</li>
-            <li class="state-collapsed kssattr-node-2/2" id="node:2/2" kssattr:xnode="2/2">2.2</li>
-        </ul>
-        <li class="state-expanded kssattr-node-3" id="node:3" kssattr:xnode="3">3</li>
-        <ul id="subTree:3">
-            <li class="state-collapsed kssattr-node-3/1" id="node:3/1" kssattr:xnode="3/1">3.1</li>
-            <li class="state-collapsed kssattr-node-3/2" id="node:3/2" kssattr:xnode="3/2">3.2</li>
-        </ul>
-    </ul>
-
-    </form>
-  </body>
-</html>

Deleted: /kukit/kss.demo/trunk/kss/demo/browser/azax_two_select.kss
==============================================================================
--- /kukit/kss.demo/trunk/kss/demo/browser/azax_two_select.kss	Thu May 10 00:00:35 2007
+++ (empty file)
@@ -1,4 +0,0 @@
-select#first:change {
-    action-server: getCorrespondingSelect;
-    getCorrespondingSelect-value:      currentFormVar(value);
-}

Deleted: /kukit/kss.demo/trunk/kss/demo/browser/azax_two_select.pt
==============================================================================
--- /kukit/kss.demo/trunk/kss/demo/browser/azax_two_select.pt	Thu May 10 00:00:35 2007
+++ (empty file)
@@ -1,21 +0,0 @@
-<html>
-  <head>
-    <link rel="kukit" type="text/css"
-          tal:attributes="href string:${context/@@absolute_url}/++resource++azax_two_selects.kss"/>
-    <metal:header use-macro="context/@@header_macros/header_resources" />
-  </head>
-  <body>
-    <p><a href=".">All demos</a></p>
-    <p><a href="javascript:void(createLoggingPane(true))">Start logging pane</a></p>
-    <p><a href="./++resource++azax_two_selects.kss">View KSS resource</a></p>
-    <h2>Two Selects</h2>
-   <form name="two">
-       <select id="first" name="value">
-            <option></option>
-            <option>animals</option>
-            <option>machines</option>
-       </select>
-       <select id="second" />
-    </form>
-  </body>
-</html>

Deleted: /kukit/kss.demo/trunk/kss/demo/browser/azax_xpath.kss
==============================================================================
--- /kukit/kss.demo/trunk/kss/demo/browser/azax_xpath.kss	Thu May 10 00:00:35 2007
+++ (empty file)
@@ -1 +0,0 @@
-

Deleted: /kukit/kss.demo/trunk/kss/demo/browser/azax_xpath.pt
==============================================================================
--- /kukit/kss.demo/trunk/kss/demo/browser/azax_xpath.pt	Thu May 10 00:00:35 2007
+++ (empty file)
@@ -1,45 +0,0 @@
-<html>
-  <head>
-    <link rel="kukit" type="text/css"
-          tal:attributes="href string:${context/@@absolute_url}/++resource++azax_xpath.kss"/>
-    <metal:header use-macro="context/@@header_macros/header_resources_with_ajaxslt" />
-  </head>
-  <body>
-    <p><a href=".">All demos</a></p>
-    <p><a href="javascript:void(createLoggingPane(true))">Start logging pane</a></p>
-    <p><a href="./++resource++azax_xpath.kss">View KSS resource</a></p>
-
-<h3>xpath Demo</h3>
-<p>Some preliminary xpath demo. Godefroid's test area.
-</p>
-<br>
-<p>ab</p>
-<input onclick="test();" type="submit" />
-<script>function test() {
-        var
-        res=xpathDomEval("//P[@id='xpath']/following-sibling::*[position()=1]", document);
-        if (res.nodeSetValue() == null) {alert('null');}
-        else {
-        Log.write(''+res.stringValue());
-        Log.show();
-        Log.write(''+res.nodeSetValue().length);
-        Log.show();
-        }
-        /*res=xpathDomEval("following-sibling::P", res.nodeSetValue()[0]);
-        if (res.nodeSetValue() == null) {alert('null');}
-        else {
-        Log.write(''+res.stringValue());
-        Log.show();
-        Log.write(''+res.nodeSetValue().length);
-        Log.show();
-        }*/
-        }
-</script>
-<p><a id="remove_xpath">Remove Node with XPath</a><p>
-<p id="xpath">XPath</p>
-<p>next 1</p>
-<p>next 2</p>
-<p>next 3</p>
-
-  </body>
-</html>

Copied: kukit/kss.demo/trunk/kss/demo/browser/basic_commands.pt (from r42976, kukit/kss.demo/trunk/kss/demo/browser/azax_demo.pt)
==============================================================================
--- kukit/kss.demo/trunk/kss/demo/browser/azax_demo.pt	(original)
+++ kukit/kss.demo/trunk/kss/demo/browser/basic_commands.pt	Thu May 10 00:00:35 2007
@@ -1,13 +1,13 @@
 <html>
   <head>
     <link rel="kukit" type="text/css"
-          tal:attributes="href string:${context/@@absolute_url}/++resource++azax_demo.kss"/>
+          tal:attributes="href string:${context/@@absolute_url}/++resource++basic_commands.kss"/>
     <metal:header use-macro="context/@@header_macros/header_resources" />
   </head>
   <body>
     <p><a href=".">All demos</a></p>
     <p><a href="javascript:void(createLoggingPane(true))">Start logging pane</a></p>
-    <p><a href="./++resource++azax_demo.kss">View KSS resource</a></p>
+    <p><a href="./++resource++basic_commands.kss">View KSS resource</a></p>
     <h2>Change tag content</h2>
     <h4>Top div</h4>
     <div id="demo" style="border: 1px solid black;padding: 15px">
@@ -63,7 +63,7 @@
     <p>This page defines a <code>link</code> in the header which <code>rel</code> attribute points
        to a <code>.kss</code> resource file on the server :
 
-          <a tal:attributes="href string:${context/@@absolute_url}/++resource++azax_demo.kss">
+          <a tal:attributes="href string:${context/@@absolute_url}/++resource++basic_commands.kss">
            see the kss file here</a>.</p>
     <p>
         This <code>.kss</code> file declares CSS selectors associated with events and server URLs called when the event occur.

Deleted: /kukit/kss.demo/trunk/kss/demo/browser/coreplugin/azaxview.py
==============================================================================
--- /kukit/kss.demo/trunk/kss/demo/browser/coreplugin/azaxview.py	Thu May 10 00:00:35 2007
+++ (empty file)
@@ -1,23 +0,0 @@
-# -*- coding: ISO-8859-15 -*-
-# Copyright (c) 2005-2007
-# Authors: KSS Project Contributors (see docs/CREDITS.txt)
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as published
-# by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-#
-
-from kss.core import AzaxBaseView, force_unicode, KssExplicitError, kssaction
-
-class AzaxView(AzaxBaseView):
-    pass
\ No newline at end of file

Copied: kukit/kss.demo/trunk/kss/demo/browser/coreplugin/demoview.py (from r42976, kukit/kss.demo/trunk/kss/demo/browser/coreplugin/azaxview.py)
==============================================================================
--- kukit/kss.demo/trunk/kss/demo/browser/coreplugin/azaxview.py	(original)
+++ kukit/kss.demo/trunk/kss/demo/browser/coreplugin/demoview.py	Thu May 10 00:00:35 2007
@@ -17,7 +17,7 @@
 # 02111-1307, USA.
 #
 
-from kss.core import AzaxBaseView, force_unicode, KssExplicitError, kssaction
+from kss.core import KSSView
 
-class AzaxView(AzaxBaseView):
-    pass
\ No newline at end of file
+class KSSDemoView(KSSView):
+    pass

Deleted: /kukit/kss.demo/trunk/kss/demo/browser/coresyntax/azaxview.py
==============================================================================
--- /kukit/kss.demo/trunk/kss/demo/browser/coresyntax/azaxview.py	Thu May 10 00:00:35 2007
+++ (empty file)
@@ -1,34 +0,0 @@
-# -*- coding: ISO-8859-15 -*-
-# Copyright (c) 2005-2007
-# Authors: KSS Project Contributors (see docs/CREDITS.txt)
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as published
-# by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-#
-
-from kss.core import AzaxBaseView, force_unicode, KssExplicitError, kssaction
-
-class AzaxView(AzaxBaseView):
-
-    @kssaction
-    def urlMethod1(self):
-        self.getCommandSet('core').replaceInnerHTML('div#target', 'Method 1 called')
-
-    @kssaction
-    def urlMethod2(self):
-        self.getCommandSet('core').replaceInnerHTML('div#target', 'Method 2 called')
-
-    @kssaction
-    def urlMethod3(self):
-        self.getCommandSet('core').replaceInnerHTML('div#target', 'Method 3 called')

Modified: kukit/kss.demo/trunk/kss/demo/browser/coresyntax/configure.zcml
==============================================================================
--- kukit/kss.demo/trunk/kss/demo/browser/coresyntax/configure.zcml	(original)
+++ kukit/kss.demo/trunk/kss/demo/browser/coresyntax/configure.zcml	Thu May 10 00:00:35 2007
@@ -28,7 +28,7 @@
 
   <browser:page
       for="kss.demo.interfaces.ISimpleContent"
-      class=".azaxview.AzaxView"
+      class=".demoview.KSSDemoView"
       name="urlMethod1"
       attribute="urlMethod1"
       permission="zope.View"
@@ -36,7 +36,7 @@
 
   <browser:page
       for="kss.demo.interfaces.ISimpleContent"
-      class=".azaxview.AzaxView"
+      class=".demoview.KSSDemoView"
       name="urlMethod2"
       attribute="urlMethod2"
       permission="zope.View"
@@ -44,7 +44,7 @@
 
   <browser:page
       for="kss.demo.interfaces.ISimpleContent"
-      class=".azaxview.AzaxView"
+      class=".demoview.KSSDemoView"
       name="urlMethod3"
       attribute="urlMethod3"
       permission="zope.View"

Copied: kukit/kss.demo/trunk/kss/demo/browser/coresyntax/demoview.py (from r42976, kukit/kss.demo/trunk/kss/demo/browser/coresyntax/azaxview.py)
==============================================================================
--- kukit/kss.demo/trunk/kss/demo/browser/coresyntax/azaxview.py	(original)
+++ kukit/kss.demo/trunk/kss/demo/browser/coresyntax/demoview.py	Thu May 10 00:00:35 2007
@@ -17,9 +17,9 @@
 # 02111-1307, USA.
 #
 
-from kss.core import AzaxBaseView, force_unicode, KssExplicitError, kssaction
+from kss.core import KSSView, kssaction
 
-class AzaxView(AzaxBaseView):
+class KSSDemoView(KSSView):
 
     @kssaction
     def urlMethod1(self):

Copied: kukit/kss.demo/trunk/kss/demo/browser/inline_edit.pt (from r42976, kukit/kss.demo/trunk/kss/demo/browser/azax_instant_edit.pt)
==============================================================================
--- kukit/kss.demo/trunk/kss/demo/browser/azax_instant_edit.pt	(original)
+++ kukit/kss.demo/trunk/kss/demo/browser/inline_edit.pt	Thu May 10 00:00:35 2007
@@ -1,13 +1,13 @@
 <html>
   <head>
     <link rel="kukit" type="text/css"
-          tal:attributes="href string:${context/@@absolute_url}/++resource++azax_instant_edit.kss"/>
+          tal:attributes="href string:${context/@@absolute_url}/++resource++inline_edit.kss"/>
     <metal:header use-macro="context/@@header_macros/header_resources" />
   </head>
   <body>
     <p><a href=".">All demos</a></p>
     <p><a href="javascript:void(createLoggingPane(true))">Start logging pane</a></p>
-    <p><a href="./++resource++azax_instant_edit.kss">View KSS resource</a></p>
+    <p><a href="./++resource++inline_edit.kss">View KSS resource</a></p>
 
 <h3>Instant edit Demo</h3>
 	<div>

Copied: kukit/kss.demo/trunk/kss/demo/browser/kss_demo_index.pt (from r42976, kukit/kss.demo/trunk/kss/demo/browser/azax_demo_index.pt)
==============================================================================
--- kukit/kss.demo/trunk/kss/demo/browser/azax_demo_index.pt	(original)
+++ kukit/kss.demo/trunk/kss/demo/browser/kss_demo_index.pt	Thu May 10 00:00:35 2007
@@ -8,11 +8,10 @@
     <ul>
      <li><a href="basic_commands.html">Change tag content</a></li>
      <li><a href="two_selects.html">Two selects</a></li>
-     <li><a href="three_autoupdate.html">Three autoupdate</a></li>
-     <li><a href="azax_instant_edit.html">instant edit</a></li>
-     <!--li><a href="azax_xpath.html">xpath</a></li-->
+     <li><a href="autoupdate.html">Auto update</a></li>
+     <li><a href="inline_edit.html">Inline edit</a></li>
      <li><a href="cancel_submit.html">Cancel Submit Click</a></li>
-     <li><a href="azax_tree.html">Tree</a></li>
+     <li><a href="tree.html">Tree</a></li>
      <li><a href="more_selectors.html">More complex selectors</a></li>
      <li><a href="two_select_revisited.html">Master-slave selects revisited</a></li>
      <li><a href="form_submit.html">Form submit</a></li>

Copied: kukit/kss.demo/trunk/kss/demo/browser/tree.pt (from r42976, kukit/kss.demo/trunk/kss/demo/browser/azax_tree.pt)
==============================================================================
--- kukit/kss.demo/trunk/kss/demo/browser/azax_tree.pt	(original)
+++ kukit/kss.demo/trunk/kss/demo/browser/tree.pt	Thu May 10 00:00:35 2007
@@ -1,7 +1,7 @@
 <html>
   <head>
     <link rel="kinetic-stylesheet" type="text/css"
-          tal:attributes="href string:${context/@@absolute_url}/++resource++azax_tree.kss"/>
+          tal:attributes="href string:${context/@@absolute_url}/++resource++tree.kss"/>
     <metal:header use-macro="context/@@header_macros/header_resources" />
     <style>
         ul, li{
@@ -17,7 +17,7 @@
   <body>
     <p><a href=".">All demos</a></p>
     <p><a href="javascript:void(createLoggingPane(true))">Start logging pane</a></p>
-    <p><a href="./++resource++azax_tree.kss">View KSS resource</a></p>
+    <p><a href="./++resource++tree.kss">View KSS resource</a></p>
 
 <h3>Tree Demo</h3>
     <p id="text">This is not finished yet.</p>

Copied: kukit/kss.demo/trunk/kss/demo/browser/two_selects.pt (from r42976, kukit/kss.demo/trunk/kss/demo/browser/azax_two_select.pt)
==============================================================================
--- kukit/kss.demo/trunk/kss/demo/browser/azax_two_select.pt	(original)
+++ kukit/kss.demo/trunk/kss/demo/browser/two_selects.pt	Thu May 10 00:00:35 2007
@@ -1,13 +1,13 @@
 <html>
   <head>
     <link rel="kukit" type="text/css"
-          tal:attributes="href string:${context/@@absolute_url}/++resource++azax_two_selects.kss"/>
+          tal:attributes="href string:${context/@@absolute_url}/++resource++two_selects.kss"/>
     <metal:header use-macro="context/@@header_macros/header_resources" />
   </head>
   <body>
     <p><a href=".">All demos</a></p>
     <p><a href="javascript:void(createLoggingPane(true))">Start logging pane</a></p>
-    <p><a href="./++resource++azax_two_selects.kss">View KSS resource</a></p>
+    <p><a href="./++resource++two_selects.kss">View KSS resource</a></p>
     <h2>Two Selects</h2>
    <form name="two">
        <select id="first" name="value">

Copied: kukit/kss.demo/trunk/kss/demo/browser/xpath.pt (from r42976, kukit/kss.demo/trunk/kss/demo/browser/azax_xpath.pt)
==============================================================================
--- kukit/kss.demo/trunk/kss/demo/browser/azax_xpath.pt	(original)
+++ kukit/kss.demo/trunk/kss/demo/browser/xpath.pt	Thu May 10 00:00:35 2007
@@ -1,13 +1,13 @@
 <html>
   <head>
     <link rel="kukit" type="text/css"
-          tal:attributes="href string:${context/@@absolute_url}/++resource++azax_xpath.kss"/>
+          tal:attributes="href string:${context/@@absolute_url}/++resource++xpath.kss"/>
     <metal:header use-macro="context/@@header_macros/header_resources_with_ajaxslt" />
   </head>
   <body>
     <p><a href=".">All demos</a></p>
     <p><a href="javascript:void(createLoggingPane(true))">Start logging pane</a></p>
-    <p><a href="./++resource++azax_xpath.kss">View KSS resource</a></p>
+    <p><a href="./++resource++xpath.kss">View KSS resource</a></p>
 
 <h3>xpath Demo</h3>
 <p>Some preliminary xpath demo. Godefroid's test area.

Modified: kukit/kss.demo/trunk/kss/demo/configure.zcml
==============================================================================
--- kukit/kss.demo/trunk/kss/demo/configure.zcml	(original)
+++ kukit/kss.demo/trunk/kss/demo/configure.zcml	Thu May 10 00:00:35 2007
@@ -3,7 +3,7 @@
            xmlns:five="http://namespaces.zope.org/five"
            xmlns:kss="http://namespaces.zope.org/kss"
            xmlns:zcml="http://namespaces.zope.org/zcml"
-		   i18n_domain="azax"
+		   i18n_domain="kss"
 		   >
 
   <!-- Things to do only on Zope2 -->
@@ -37,7 +37,7 @@
 
    <browser:page
       for=".interfaces.ISimpleContent"
-      template="browser/azax_demo_index.pt"
+      template="browser/kss_demo_index.pt"
       name="index.html"
       permission="zope.View"
       />
@@ -70,16 +70,11 @@
         <implements
             interface=".interfaces.ISimpleContent"
             />
-        <!--factory
-            id="zopeproducts.axaxdemo"
-            title="KSS demos folder"
-            description="A folder to hold a set of KSS demos"
-        /-->
     </class>
 
   <browser:page
       for=".interfaces.ISimpleContent"
-      template="browser/azax_demo_index.pt"
+      template="browser/kss_demo_index.pt"
       name="index.html"
       permission="zope.View"
       menu="zmi_views"
@@ -120,19 +115,19 @@
   <!-- change tag content -->
   <browser:page
       for=".interfaces.ISimpleContent"
-      template="browser/azax_demo.pt"
+      template="browser/basic_commands.pt"
       name="basic_commands.html"
       permission="zope.View"
       />
 
   <browser:resource
-    file="browser/azax_demo.kss"
-    name="azax_demo.kss"
+    file="browser/basic_commands.kss"
+    name="basic_commands.kss"
     />
 
   <browser:page
       for=".interfaces.ISimpleContent"
-      class=".azaxview.AzaxView"
+      class=".demoview.KSSDemoView"
       attribute="getDivContent"
       name="getDivContent"
       permission="zope.View"
@@ -140,7 +135,7 @@
 
   <browser:page
       for=".interfaces.ISimpleContent"
-      class=".azaxview.AzaxView"
+      class=".demoview.KSSDemoView"
       attribute="copyFromDivContent"
       name="copyFromDivContent"
       permission="zope.View"
@@ -148,7 +143,7 @@
 
   <browser:page
       for=".interfaces.ISimpleContent"
-      class=".azaxview.AzaxView"
+      class=".demoview.KSSDemoView"
       attribute="copyToDivContent"
       name="copyToDivContent"
       permission="zope.View"
@@ -156,7 +151,7 @@
 
   <browser:page
       for=".interfaces.ISimpleContent"
-      class=".azaxview.AzaxView"
+      class=".demoview.KSSDemoView"
       attribute="moveToDivContent"
       name="moveToDivContent"
       permission="zope.View"
@@ -164,7 +159,7 @@
 
   <browser:page
       for=".interfaces.ISimpleContent"
-      class=".azaxview.AzaxView"
+      class=".demoview.KSSDemoView"
       attribute="clearDivContent"
       name="clearDivContent"
       permission="zope.View"
@@ -174,19 +169,19 @@
   <!-- two_selects content -->
   <browser:page
       for=".interfaces.ISimpleContent"
-      template="browser/azax_two_select.pt"
+      template="browser/two_selects.pt"
       name="two_selects.html"
       permission="zope.View"
       />
 
   <browser:resource
-    file="browser/azax_two_select.kss"
-    name="azax_two_selects.kss"
+    file="browser/two_selects.kss"
+    name="two_selects.kss"
   />
 
   <browser:page
       for=".interfaces.ISimpleContent"
-      class=".azaxview.AzaxView"
+      class=".demoview.KSSDemoView"
       attribute="getCorrespondingSelect"
       name="getCorrespondingSelect"
       permission="zope.View"
@@ -196,49 +191,49 @@
   <!-- three autoupdate content -->
   <browser:page
       for=".interfaces.ISimpleContent"
-      template="browser/azax_three_autoupdate.pt"
-      name="three_autoupdate.html"
+      template="browser/autoupdate.pt"
+      name="autoupdate.html"
       permission="zope.View"
       />
 
   <browser:resource
-    file="browser/azax_three_autoupdate.kss"
-    name="azax_three_autoupdate.kss"
+    file="browser/autoupdate.kss"
+    name="autoupdate.kss"
   />
 
   <browser:page
       for=".interfaces.ISimpleContent"
-      class=".azaxview.AzaxView"
+      class=".demoview.KSSDemoView"
       attribute="getCurrentTime"
       name="getCurrentTime"
       permission="zope.View"
       />
       
       
-  <!-- instant edit content -->
+  <!-- inline edit content -->
   <browser:page
       for=".interfaces.ISimpleContent"
-      template="browser/azax_instant_edit.pt"
-      name="azax_instant_edit.html"
+      template="browser/inline_edit.pt"
+      name="inline_edit.html"
       permission="zope.View"
       />
 
   <browser:page
       for=".interfaces.ISimpleContent"
-      class=".azaxview.AzaxView"
+      class=".demoview.KSSDemoView"
       attribute="getAutoupdateMarkup"
       name="getAutoupdateMarkup"
       permission="zope.View"
       />
 
   <browser:resource
-    file="browser/azax_instant_edit.kss"
-    name="azax_instant_edit.kss"
+    file="browser/inline_edit.kss"
+    name="inline_edit.kss"
   />
 
   <browser:page
       for=".interfaces.ISimpleContent"
-      class=".azaxview.AzaxView"
+      class=".demoview.KSSDemoView"
       attribute="getInputField"
       name="getInputField"
       permission="zope.View"
@@ -246,7 +241,7 @@
       
   <browser:page
       for=".interfaces.ISimpleContent"
-      class=".azaxview.AzaxView"
+      class=".demoview.KSSDemoView"
       attribute="saveText"
       name="saveText"
       permission="zope.View"
@@ -255,19 +250,19 @@
   <!-- xpath content -->
   <browser:page
       for=".interfaces.ISimpleContent"
-      template="browser/azax_xpath.pt"
-      name="azax_xpath.html"
+      template="browser/xpath.pt"
+      name="xpath.html"
       permission="zope.View"
       />
 
   <browser:resource
-    file="browser/azax_xpath.kss"
-    name="azax_xpath.kss"
+    file="browser/xpath.kss"
+    name="xpath.kss"
   />
 
   <browser:page
       for=".interfaces.ISimpleContent"
-      class=".azaxview.AzaxView"
+      class=".demoview.KSSDemoView"
       attribute="removeNodeXpath"
       name="removeNodeXpath"
       permission="zope.View"
@@ -288,7 +283,7 @@
 
   <browser:page
       for=".interfaces.ISimpleContent"
-      class=".azaxview.AzaxView"
+      class=".demoview.KSSDemoView"
       attribute="cancelSubmitSave"
       name="save"
       permission="zope.View"
@@ -297,19 +292,19 @@
   <!-- tree content -->
   <browser:page
       for=".interfaces.ISimpleContent"
-      template="browser/azax_tree.pt"
-      name="azax_tree.html"
+      template="browser/tree.pt"
+      name="tree.html"
       permission="zope.View"
       />
 
   <browser:resource
-    file="browser/azax_tree.kss"
-    name="azax_tree.kss"
+    file="browser/tree.kss"
+    name="tree.kss"
   />
 
   <browser:page
       for=".interfaces.ISimpleContent"
-      class=".azaxview.AzaxView"
+      class=".demoview.KSSDemoView"
       attribute="expandSubTree"
       name="expandSubTree"
       permission="zope.View"
@@ -317,7 +312,7 @@
 
   <browser:page
       for=".interfaces.ISimpleContent"
-      class=".azaxview.AzaxView"
+      class=".demoview.KSSDemoView"
       attribute="collapseSubTree"
       name="collapseSubTree"
       permission="zope.View"
@@ -339,7 +334,7 @@
 
   <browser:page
       for=".interfaces.ISimpleContent"
-      class=".azaxview.AzaxView"
+      class=".demoview.KSSDemoView"
       attribute="clickedButton"
       name="clickedButton"
       permission="zope.View"
@@ -366,7 +361,7 @@
 
   <browser:page
       for=".interfaces.ISimpleContent"
-      class=".azaxview.AzaxView"
+      class=".demoview.KSSDemoView"
       attribute="updateSlaveSelector"
       name="updateSlaveSelector"
       permission="zope.View"
@@ -388,7 +383,7 @@
 
   <browser:page
       for=".interfaces.ISimpleContent"
-      class=".azaxview.AzaxView"
+      class=".demoview.KSSDemoView"
       attribute="formSubmitSave"
       name="formSave"
       permission="zope.View"
@@ -398,19 +393,19 @@
   <!-- effects submit -->
   <browser:page
       for=".interfaces.ISimpleContent"
-      template="browser/azax_effects.pt"
+      template="browser/effects.pt"
       name="effects.html"
       permission="zope.View"
       />
 
   <browser:resource
-    file="browser/azax_effects.kss"
+    file="browser/effects.kss"
     name="effects.kss"
   />
   
   <browser:page
       for=".interfaces.ISimpleContent"
-      class=".azaxview.AzaxView"
+      class=".demoview.KSSDemoView"
       attribute="reset"
       name="resetEffects"
       permission="zope.View"
@@ -432,7 +427,7 @@
   
   <browser:page
       for=".interfaces.ISimpleContent"
-      class=".azaxview.AzaxView"
+      class=".demoview.KSSDemoView"
       attribute="errTest"
       name="errTest"
       permission="zope.View"
@@ -466,7 +461,7 @@
 
   <browser:page
       for=".interfaces.ISimpleContent"
-      class=".azaxview.AzaxView"
+      class=".demoview.KSSDemoView"
       attribute="htmlReplace"
       name="htmlReplace"
       permission="zope.View"
@@ -474,7 +469,7 @@
 
   <browser:page
       for=".interfaces.ISimpleContent"
-      class=".azaxview.AzaxView"
+      class=".demoview.KSSDemoView"
       attribute="htmlInsertBefore"
       name="htmlInsertBefore"
       permission="zope.View"
@@ -482,7 +477,7 @@
 
   <browser:page
       for=".interfaces.ISimpleContent"
-      class=".azaxview.AzaxView"
+      class=".demoview.KSSDemoView"
       attribute="htmlInsertAfter"
       name="htmlInsertAfter"
       permission="zope.View"
@@ -490,7 +485,7 @@
 
   <browser:page
       for=".interfaces.ISimpleContent"
-      class=".azaxview.AzaxView"
+      class=".demoview.KSSDemoView"
       attribute="htmlInsertAsFirstChild"
       name="htmlInsertAsFirstChild"
       permission="zope.View"
@@ -498,7 +493,7 @@
 
   <browser:page
       for=".interfaces.ISimpleContent"
-      class=".azaxview.AzaxView"
+      class=".demoview.KSSDemoView"
       attribute="htmlInsertAsLastChild"
       name="htmlInsertAsLastChild"
       permission="zope.View"

Copied: kukit/kss.demo/trunk/kss/demo/demoview.py (from r42976, kukit/kss.demo/trunk/kss/demo/azaxview.py)
==============================================================================
--- kukit/kss.demo/trunk/kss/demo/azaxview.py	(original)
+++ kukit/kss.demo/trunk/kss/demo/demoview.py	Thu May 10 00:00:35 2007
@@ -1,8 +1,6 @@
 # -*- coding: ISO-8859-15 -*-
-# Copyright (c) 2005
-# Authors:
-#   Godefroid Chapelle <gotcha at bubblenet.be>
-#   Tarek Ziadé <tz at nuxeo.com>
+# Copyright (c) 2005-2007
+# Authors: KSS Project Contributors (see docs/CREDITS.txt)
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as published
@@ -17,12 +15,11 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
-#
 
-from kss.core import AzaxBaseView, force_unicode, KssExplicitError, kssaction
+from kss.core import KSSView, force_unicode, KSSExplicitError, kssaction
 import datetime
 
-class AzaxView(AzaxBaseView):
+class KSSDemoView(KSSView):
 
     def clearDivContent(self):
         """ clear div content """

Copied: kukit/kss.demo/trunk/kss/demo/tests/selenium_tests/autopupdate.html (from r42976, kukit/kss.demo/trunk/kss/demo/tests/selenium_tests/three_autopupdate.html)
==============================================================================
--- kukit/kss.demo/trunk/kss/demo/tests/selenium_tests/three_autopupdate.html	(original)
+++ kukit/kss.demo/trunk/kss/demo/tests/selenium_tests/autopupdate.html	Thu May 10 00:00:35 2007
@@ -1,16 +1,16 @@
 <html>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>three_autopupdate</title>
+<title>autoupdate</title>
 </head>
 <body>
 <table cellpadding="1" cellspacing="1" border="1">
 <thead>
-<tr><td rowspan="1" colspan="3">three_autopupdate</td></tr>
+<tr><td rowspan="1" colspan="3">autoupdate</td></tr>
 </thead><tbody>
 <tr>
 	<td>open</td>
-	<td>/demo/three_autoupdate.html</td>
+	<td>/demo/autoupdate.html</td>
 	<td></td>
 </tr>
 <tr>

Deleted: /kukit/kss.demo/trunk/kss/demo/tests/selenium_tests/azax_instant_edit.html
==============================================================================
--- /kukit/kss.demo/trunk/kss/demo/tests/selenium_tests/azax_instant_edit.html	Thu May 10 00:00:35 2007
+++ (empty file)
@@ -1,69 +0,0 @@
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>azax_instant_edit</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">azax_instant_edit</td></tr>
-</thead><tbody>
-<tr>
-	<td>open</td>
-	<td>/demo/azax_instant_edit.html</td>
-	<td></td>
-</tr>
-<tr>
-	<td>assertTextPresent</td>
-	<td>click me!</td>
-	<td></td>
-</tr>
-<tr>
-	<td>assertText</td>
-	<td>text</td>
-	<td>click me!</td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>text</td>
-	<td></td>
-</tr>
-<tr>
-	<td>waitForValue</td>
-	<td>value</td>
-	<td>click me!</td>
-</tr>
-<tr>
-	<td>assertValue</td>
-	<td>value</td>
-	<td>click me!</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>value</td>
-	<td>change</td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>save</td>
-	<td></td>
-</tr>
-<tr>
-	<td>waitForTextPresent</td>
-	<td>change</td>
-	<td></td>
-</tr>
-<tr>
-	<td>assertTextPresent</td>
-	<td>change</td>
-	<td></td>
-</tr>
-<tr>
-	<td>assertTextNotPresent</td>
-	<td>click me!</td>
-	<td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>

Deleted: /kukit/kss.demo/trunk/kss/demo/tests/selenium_tests/demo1.html
==============================================================================
--- /kukit/kss.demo/trunk/kss/demo/tests/selenium_tests/demo1.html	Thu May 10 00:00:35 2007
+++ (empty file)
@@ -1,184 +0,0 @@
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>demo1</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">demo1</td></tr>
-</thead><tbody>
-<tr>
-	<td>open</td>
-    <td>/demo/basic_commands.html</td>
-	<td></td>
-</tr>
-<tr>
-	<td>assertText</td>
-	<td>demo</td>
-    <td>KSS</td>
-</tr>
-<tr>
-	<td>assertText</td>
-	<td>copy</td>
-	<td>copy here</td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>change</td>
-	<td></td>
-</tr>
-<tr>
-	<td>waitForElementPresent</td>
-	<td>workedagain</td>
-	<td></td>
-</tr>
-<tr>
-	<td>assertElementPresent</td>
-	<td>workedagain</td>
-	<td></td>
-</tr>
-<tr>
-	<td>assertText</td>
-	<td>demo</td>
-	<td>it worked again</td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>clear</td>
-	<td></td>
-</tr>
-<tr>
-	<td>waitForElementNotPresent</td>
-	<td>workedagain</td>
-	<td></td>
-</tr>
-<tr>
-	<td>assertNotText</td>
-	<td>demo</td>
-	<td>it worked again</td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>copyFrom</td>
-	<td></td>
-</tr>
-<tr>
-	<td>waitForNotText</td>
-	<td>copy</td>
-	<td>copy here</td>
-</tr>
-<tr>
-	<td>assertNotText</td>
-	<td>copy</td>
-	<td>copy here</td>
-</tr>
-<tr>
-	<td>assertElementNotPresent</td>
-	<td>workedagain</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>change</td>
-	<td></td>
-</tr>
-<tr>
-	<td>waitForElementPresent</td>
-	<td>workedagain</td>
-	<td></td>
-</tr>
-<tr>
-	<td>assertElementPresent</td>
-	<td>workedagain</td>
-	<td></td>
-</tr>
-<tr>
-	<td>assertNotText</td>
-	<td>copy</td>
-	<td>it worked again</td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>copyFrom</td>
-	<td></td>
-</tr>
-<tr>
-	<td>waitForText</td>
-	<td>copy</td>
-	<td>it worked again</td>
-</tr>
-<tr>
-	<td>assertText</td>
-	<td>copy</td>
-	<td>it worked again</td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>clear</td>
-	<td></td>
-</tr>
-<tr>
-	<td>waitForNotText</td>
-	<td>demo</td>
-	<td>it worked again</td>
-</tr>
-<tr>
-	<td>assertNotText</td>
-	<td>demo</td>
-	<td>it worked again</td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>copyTo</td>
-	<td></td>
-</tr>
-<tr>
-	<td>waitForText</td>
-	<td>demo</td>
-	<td>it worked again</td>
-</tr>
-<tr>
-	<td>assertText</td>
-	<td>demo</td>
-	<td>it worked again</td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>clear</td>
-	<td></td>
-</tr>
-<tr>
-	<td>waitForNotText</td>
-	<td>demo</td>
-	<td>it worked again</td>
-</tr>
-<tr>
-	<td>assertNotText</td>
-	<td>demo</td>
-	<td>it worked again</td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>moveTo</td>
-	<td></td>
-</tr>
-<tr>
-	<td>waitForText</td>
-	<td>demo</td>
-	<td>it worked again</td>
-</tr>
-<tr>
-	<td>assertText</td>
-	<td>demo</td>
-	<td>it worked again</td>
-</tr>
-<tr>
-	<td>assertNotText</td>
-	<td>copy</td>
-	<td>it worked again</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>

Copied: kukit/kss.demo/trunk/kss/demo/tests/selenium_tests/inline_edit.html (from r42976, kukit/kss.demo/trunk/kss/demo/tests/selenium_tests/azax_instant_edit.html)
==============================================================================
--- kukit/kss.demo/trunk/kss/demo/tests/selenium_tests/azax_instant_edit.html	(original)
+++ kukit/kss.demo/trunk/kss/demo/tests/selenium_tests/inline_edit.html	Thu May 10 00:00:35 2007
@@ -1,16 +1,16 @@
 <html>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>azax_instant_edit</title>
+<title>inline_edit</title>
 </head>
 <body>
 <table cellpadding="1" cellspacing="1" border="1">
 <thead>
-<tr><td rowspan="1" colspan="3">azax_instant_edit</td></tr>
+<tr><td rowspan="1" colspan="3">inline_edit</td></tr>
 </thead><tbody>
 <tr>
 	<td>open</td>
-	<td>/demo/azax_instant_edit.html</td>
+	<td>/demo/inline_edit.html</td>
 	<td></td>
 </tr>
 <tr>

Deleted: /kukit/kss.demo/trunk/kss/demo/tests/selenium_tests/three_autopupdate.html
==============================================================================
--- /kukit/kss.demo/trunk/kss/demo/tests/selenium_tests/three_autopupdate.html	Thu May 10 00:00:35 2007
+++ (empty file)
@@ -1,69 +0,0 @@
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>three_autopupdate</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">three_autopupdate</td></tr>
-</thead><tbody>
-<tr>
-	<td>open</td>
-	<td>/demo/three_autoupdate.html</td>
-	<td></td>
-</tr>
-<tr>
-	<td>assertText</td>
-	<td>update-wrapper</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>start-update</td>
-	<td></td>
-</tr>
-<tr>
-	<td>waitForElementPresent</td>
-	<td>update-area</td>
-	<td></td>
-</tr>
-<tr>
-	<td>assertElementPresent</td>
-	<td>update-area</td>
-	<td></td>
-</tr>
-<tr>
-	<td>assertText</td>
-	<td>update-area</td>
-	<td></td>
-</tr>
-<tr>
-	<td>storeText</td>
-	<td>update-area</td>
-	<td>updateText</td>
-</tr>
-<tr>
-	<td>assertText</td>
-	<td>update-area</td>
-	<td>${updateText}</td>
-</tr>
-<tr>
-	<td>pause</td>
-	<td>3000</td>
-	<td></td>
-</tr>
-<tr>
-	<td>assertNotText</td>
-	<td>update-area</td>
-	<td>${updateText}</td>
-</tr>
-<tr>
-	<td></td>
-	<td></td>
-	<td></td>
-</tr>
-
-</tbody></table>
-</body>
-</html>

Deleted: /kukit/kss.demo/trunk/kss/demo/tests/test_azaxview.py
==============================================================================
--- /kukit/kss.demo/trunk/kss/demo/tests/test_azaxview.py	Thu May 10 00:00:35 2007
+++ (empty file)
@@ -1,73 +0,0 @@
-# Copyright (c) 2005
-# Authors:
-#   Godefroid Chapelle <gotcha at bubblenet.be>
-#   Tarek Ziade <tz at nuxeo.com>
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as published
-# by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-#
-import unittest, os
-from zope.testing import doctest
-from Testing.ZopeTestCase import ZopeTestCase
-from kss.core.tests.base import AzaxViewTestCase
-from kss.demo.azaxview import AzaxView
-from Products.Five.zcml import load_string, load_config
-import kss.demo
-
-try:
-    import Products.Five
-except AttributeError:
-    from kss.demo.simplecontent_z3 import SimpleContent
-else:
-    from kss.demo.simplecontent import SimpleContent
-
-class AzaxDemoTestCase(AzaxViewTestCase):
-
-    class layer(AzaxViewTestCase.layer):
-        @classmethod
-        def setUp(cls):
-            load_config('meta.zcml', package=kss.demo)
-            load_config('configure.zcml', package=kss.demo)
-
-    def afterSetUp(self):
-        AzaxViewTestCase.afterSetUp(self)
-        self.setDebugRequest()
-        self.folder._setObject('demo', SimpleContent('Demo', 'Demo'))
-        self.view = self.folder.demo.restrictedTraverse('getDivContent')
-
-    def test_instantiation(self):
-        view = self.view
-        commands = view.getCommands()
-        self.assertNotEquals(view, None)
-
-    # XXX This shows the idea of how the commands output can be
-    # tested by using DebugTestRequest. 
-    def test_getDivContent(self):
-        view = self.view
-        commands = view.getCommands()
-        res = view.getDivContent()
-        self.assertEquals(res, [
-            {'selectorType': '', 'params': {
-                    'html': u'<h1>it worked</h1>'
-                }, 'name': 'replaceInnerHTML', 'selector': 'div#demo'}, 
-            {'selectorType': '', 'params': {
-                    'html': u'<h1 id="workedagain">it worked&#160;again</h1>'
-                }, 'name': 'replaceInnerHTML', 'selector': 'div#demo'},
-            ])
-
-def test_suite():
-    return unittest.TestSuite((
-        unittest.makeSuite(AzaxDemoTestCase),
-        doctest.DocTestSuite('kss.demo.azaxview'),
-        ))

Copied: kukit/kss.demo/trunk/kss/demo/tests/test_demoview.py (from r42976, kukit/kss.demo/trunk/kss/demo/tests/test_azaxview.py)
==============================================================================
--- kukit/kss.demo/trunk/kss/demo/tests/test_azaxview.py	(original)
+++ kukit/kss.demo/trunk/kss/demo/tests/test_demoview.py	Thu May 10 00:00:35 2007
@@ -20,8 +20,7 @@
 import unittest, os
 from zope.testing import doctest
 from Testing.ZopeTestCase import ZopeTestCase
-from kss.core.tests.base import AzaxViewTestCase
-from kss.demo.azaxview import AzaxView
+from kss.core.tests.base import KSSViewTestCase
 from Products.Five.zcml import load_string, load_config
 import kss.demo
 
@@ -32,16 +31,16 @@
 else:
     from kss.demo.simplecontent import SimpleContent
 
-class AzaxDemoTestCase(AzaxViewTestCase):
+class KSSDemoTestCase(KSSViewTestCase):
 
-    class layer(AzaxViewTestCase.layer):
+    class layer(KSSViewTestCase.layer):
         @classmethod
         def setUp(cls):
             load_config('meta.zcml', package=kss.demo)
             load_config('configure.zcml', package=kss.demo)
 
     def afterSetUp(self):
-        AzaxViewTestCase.afterSetUp(self)
+        KSSViewTestCase.afterSetUp(self)
         self.setDebugRequest()
         self.folder._setObject('demo', SimpleContent('Demo', 'Demo'))
         self.view = self.folder.demo.restrictedTraverse('getDivContent')
@@ -59,15 +58,17 @@
         res = view.getDivContent()
         self.assertEquals(res, [
             {'selectorType': '', 'params': {
-                    'html': u'<h1>it worked</h1>'
+                    'html': u'<h1>it worked</h1>',
+                    'withKssSetup': u'True',
                 }, 'name': 'replaceInnerHTML', 'selector': 'div#demo'}, 
             {'selectorType': '', 'params': {
-                    'html': u'<h1 id="workedagain">it worked&#160;again</h1>'
+                    'html': u'<h1 id="workedagain">it worked&#160;again</h1>',
+                    'withKssSetup': u'True',
                 }, 'name': 'replaceInnerHTML', 'selector': 'div#demo'},
             ])
 
 def test_suite():
     return unittest.TestSuite((
-        unittest.makeSuite(AzaxDemoTestCase),
-        doctest.DocTestSuite('kss.demo.azaxview'),
+        unittest.makeSuite(KSSDemoTestCase),
+        doctest.DocTestSuite('kss.demo.demoview'),
         ))


More information about the Kukit-checkins mailing list