[KSS-checkins] r53907 - in kukit/kss.core/branch/1.4/kss/core: . pluginregistry/browser plugins/core/demo plugins/core/demo/commandaction plugins/core/demo/selenium_tests plugins/core/demo/selenium_tests/disabled tests

gotcha at codespeak.net gotcha at codespeak.net
Sun Apr 20 17:22:50 CEST 2008


Author: gotcha
Date: Sun Apr 20 17:22:50 2008
New Revision: 53907

Added:
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/addressbook.css
      - copied unchanged from r53903, kukit/kss.core/branch/improve-demos/kss/core/plugins/core/demo/addressbook.css
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/addressbook.kss
      - copied unchanged from r53903, kukit/kss.core/branch/improve-demos/kss/core/plugins/core/demo/addressbook.kss
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/addressbook.pt
      - copied unchanged from r53903, kukit/kss.core/branch/improve-demos/kss/core/plugins/core/demo/addressbook.pt
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/addressbook.py
      - copied unchanged from r53903, kukit/kss.core/branch/improve-demos/kss/core/plugins/core/demo/addressbook.py
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/addressbook.zcml
      - copied unchanged from r53903, kukit/kss.core/branch/improve-demos/kss/core/plugins/core/demo/addressbook.zcml
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/demoregistry.py
      - copied unchanged from r53903, kukit/kss.core/branch/improve-demos/kss/core/plugins/core/demo/demoregistry.py
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/help.kss
      - copied unchanged from r53903, kukit/kss.core/branch/improve-demos/kss/core/plugins/core/demo/help.kss
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/selenium_tests/addressbook.html
      - copied unchanged from r53903, kukit/kss.core/branch/improve-demos/kss/core/plugins/core/demo/selenium_tests/addressbook.html
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/selenium_tests/disabled/
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/selenium_tests/disabled/addressbook.html
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/selenium_tests/typewriter.html
      - copied unchanged from r53903, kukit/kss.core/branch/improve-demos/kss/core/plugins/core/demo/selenium_tests/typewriter.html
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/snake.css
      - copied unchanged from r53903, kukit/kss.core/branch/improve-demos/kss/core/plugins/core/demo/snake.css
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/snake.kss
      - copied unchanged from r53903, kukit/kss.core/branch/improve-demos/kss/core/plugins/core/demo/snake.kss
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/snake.pt
      - copied unchanged from r53903, kukit/kss.core/branch/improve-demos/kss/core/plugins/core/demo/snake.pt
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/snake.py
      - copied unchanged from r53903, kukit/kss.core/branch/improve-demos/kss/core/plugins/core/demo/snake.py
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/snake.rst
      - copied unchanged from r53903, kukit/kss.core/branch/improve-demos/kss/core/plugins/core/demo/snake.rst
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/snake.zcml
      - copied unchanged from r53903, kukit/kss.core/branch/improve-demos/kss/core/plugins/core/demo/snake.zcml
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/typewriter.css
      - copied unchanged from r53903, kukit/kss.core/branch/improve-demos/kss/core/plugins/core/demo/typewriter.css
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/typewriter.kss
      - copied unchanged from r53903, kukit/kss.core/branch/improve-demos/kss/core/plugins/core/demo/typewriter.kss
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/typewriter.pt
      - copied unchanged from r53903, kukit/kss.core/branch/improve-demos/kss/core/plugins/core/demo/typewriter.pt
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/typewriter.py
      - copied unchanged from r53903, kukit/kss.core/branch/improve-demos/kss/core/plugins/core/demo/typewriter.py
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/typewriter.rst
      - copied unchanged from r53903, kukit/kss.core/branch/improve-demos/kss/core/plugins/core/demo/typewriter.rst
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/typewriter.zcml
      - copied unchanged from r53903, kukit/kss.core/branch/improve-demos/kss/core/plugins/core/demo/typewriter.zcml
Modified:
   kukit/kss.core/branch/1.4/kss/core/   (props changed)
   kukit/kss.core/branch/1.4/kss/core/EXTERNALS.TXT
   kukit/kss.core/branch/1.4/kss/core/pluginregistry/browser/develui.css
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/commandaction/cancel.kss
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/commandaction/cancel.pt
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/config.py
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/configure.zcml
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/selenium_tests/ca_cancel.html
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/tree.pt
   kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/zopeconfig.py
   kukit/kss.core/branch/1.4/kss/core/tests/ecmaview.py
Log:
merge 50489-HEAD of improve-demos branch

addressbook demo is disabled because insertion in tbody is still broken in IE6


Modified: kukit/kss.core/branch/1.4/kss/core/EXTERNALS.TXT
==============================================================================
--- kukit/kss.core/branch/1.4/kss/core/EXTERNALS.TXT	(original)
+++ kukit/kss.core/branch/1.4/kss/core/EXTERNALS.TXT	Sun Apr 20 17:22:50 2008
@@ -1,8 +1,9 @@
+# You can check externals by issuing:
 #
-# results of svn propget svn:externals
-# http://codespeak.net/svn/kukit/kss.core/trunk
+#     svn propget svn:externals .
+#
+# You can update your working dir by issuing: 
 #
-# You can update your working dir by: 
 #     svn propset svn:externals -F EXTERNALS.TXT .
 #
 kukit http://codespeak.net/svn/kukit/kukit.js/branch/1.4/

Modified: kukit/kss.core/branch/1.4/kss/core/pluginregistry/browser/develui.css
==============================================================================
--- kukit/kss.core/branch/1.4/kss/core/pluginregistry/browser/develui.css	(original)
+++ kukit/kss.core/branch/1.4/kss/core/pluginregistry/browser/develui.css	Sun Apr 20 17:22:50 2008
@@ -55,12 +55,16 @@
   text-decoration: none;
 }
 
-#global-links a:hover {
+#global-links a:hover, a.button:hover, input.button:hover {
   border-color: #FF4916;
   background-color: #FF4916;
   color: white;
 }
 
+a.hidden {
+  display: none !important;
+}
+
 #target {
   padding: 1em;
   margin: 0.5em 0;
@@ -80,7 +84,7 @@
   background-color: #FF4916;
 }
 
-a.button, .clickable {
+a.button, .clickable, input.button {
   width: auto;
   padding: 0.2em;
   border: 1px solid #FF4916;
@@ -88,6 +92,7 @@
   text-decoration: none;
   font-size: 80%;
   background-color: #FAFAED;
+  cursor: pointer;
 }
 
 fieldset {

Modified: kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/commandaction/cancel.kss
==============================================================================
--- kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/commandaction/cancel.kss	(original)
+++ kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/commandaction/cancel.kss	Sun Apr 20 17:22:50 2008
@@ -2,7 +2,7 @@
     action-server: cancel;
 } 
 
-#standard #without:click {
+#standard .without:click {
     action-cancel: cancel;
 } 
 
@@ -11,7 +11,7 @@
     test-html: action;
 } 
 
-#alias #without:click {
+#alias .without:click {
     action-cancel: test;
 }
 

Modified: kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/commandaction/cancel.pt
==============================================================================
--- kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/commandaction/cancel.pt	(original)
+++ kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/commandaction/cancel.pt	Sun Apr 20 17:22:50 2008
@@ -15,16 +15,16 @@
     <div id="standard">
       <h3>Standard case</h3>
       <ul>
-        <li id="with">with</li>
-        <li id="without">without</li>
+        <li class="with">with</li>
+        <li class="without">without</li>
       </ul>
     </div>
 
     <div id="alias">
       <h3>Alias case</h3>
       <ul>
-        <li id="with">with</li>
-        <li id="without">without</li>
+        <li class="with">with</li>
+        <li class="without">without</li>
       </ul>
     </div>
 

Modified: kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/config.py
==============================================================================
--- kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/config.py	(original)
+++ kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/config.py	Sun Apr 20 17:22:50 2008
@@ -5,22 +5,22 @@
     KSSSeleniumTestDirectory,
     )
 
+
+##################
+#
+#
+# THIS MODULE IS USED BY KSS.ZOPE DURING TRANSITION FROM KSS.CORE TO KSS.ZOPE
+#
+#
+##################
 class CoreDemos(Plugin):
 
     zope_demos = (
-        KSSDemo('', '', "basic_commands.html", "Change tag content"),
-        KSSDemo('', '', "two_selects.html", "Two selects"),
-        KSSDemo('', '', "autoupdate.html", "Auto update"),
-        KSSDemo('', '', "inline_edit.html", "Inline edit"),
-        KSSDemo('', '', "cancel_submit.html", "Cancel Submit Click"),
-        KSSDemo('', '', "tree.html", "Tree"),
-        KSSDemo('', '', "more_selectors.html", "More complex selectors"),
-        KSSDemo('', '', "two_select_revisited.html", "Master-slave selects revisited"),
-        KSSDemo('', '', "form_submit.html", "Form submit"),
-        KSSDemo('', '', "error_handling.html", "Error handling"),
-        KSSDemo('', '', "preventdefault.html", "Preventdefault (a.k.a. Safari workarounds)"),
-        KSSDemo('', '', "html_inserts.html", "HTML insertions (Change tag content returns)"),
-        KSSDemo('', '', "client-server-protocol", "Client server protocol"),
+        ##disable address book because tbody problem needs to be fixed on IE
+        ##KSSDemo('', 'Applications', "addressbook.html", "Addressbook"),
+        KSSDemo('', 'Applications', "typewriter.html", "Typewriter"),
+        KSSDemo('', 'Applications', "snake.html", "Snake"),
+##      KSSDemo('', '',  "draganddrop.html", "Scriptaculous drag and drop"),
         KSSDemo('', 'Selectors', 'selectors.html', 'Parent node selector'),
         KSSDemo('', 'Core events', "kss_evt_preventbubbling.html", "Prevent bubbling KSS event parameter"),
         KSSDemo('', 'Core events', "kss_keyevents.html", "Key events"),
@@ -28,6 +28,20 @@
         KSSDemo('', 'Commands/Actions', "actions.html", "Class actions: toggle, add, remove"),
         KSSDemo('', 'Commands/Actions', "ca_cancel.html", "action-cancel"),
         KSSDemo('', 'Commands/Actions', "ca_kssattr.html", "setKssAttribute"),
+        KSSDemo('', 'History', "basic_commands.html", "Change tag content"),
+        KSSDemo('', 'History', "two_selects.html", "Two selects"),
+        KSSDemo('', 'History', "autoupdate.html", "Auto update"),
+        KSSDemo('', 'History', "inline_edit.html", "Inline edit"),
+        KSSDemo('', 'History', "cancel_submit.html", "Cancel Submit Click"),
+        KSSDemo('', 'History', "tree.html", "Tree"),
+        KSSDemo('', 'History', "more_selectors.html", "More complex selectors"),
+        KSSDemo('', 'History', "two_select_revisited.html", "Master-slave selects revisited"),
+        KSSDemo('', 'History', "form_submit.html", "Form submit"),
+        KSSDemo('', 'History', "effects.html", "Effects"),
+        KSSDemo('', 'History', "error_handling.html", "Error handling"),
+        KSSDemo('', 'History', "preventdefault.html", "Preventdefault (a.k.a. Safari workarounds)"),
+        KSSDemo('', 'History', "html_inserts.html", "HTML insertions (Change tag content returns)"),
+        KSSDemo('', 'History', "client-server-protocol", "Client server protocol"),
         # XXX this should go to the other plugin wuth all its stuff
         KSSDemo('Effects', '', "effects.html", "Effects"),
         )

Modified: kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/configure.zcml
==============================================================================
--- kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/configure.zcml	(original)
+++ kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/configure.zcml	Sun Apr 20 17:22:50 2008
@@ -30,6 +30,35 @@
         permission="zope.Public"
         />
   </configure>
+  
+  <browser:page
+      for="*"
+      name="demoregistry"
+      class=".demoregistry.DemoRegistry"
+      permission="zope.Public"
+      />
+
+  <browser:page
+      for="kss.demo.interfaces.ISimpleContent"
+      class=".demoregistry.DemoRegistry"
+      attribute="displayHelp"
+      name="displayHelp"
+      permission="zope.View"
+      />
+
+  <browser:page
+      for="kss.demo.interfaces.ISimpleContent"
+      class=".demoregistry.DemoRegistry"
+      attribute="hideHelp"
+      name="hideHelp"
+      permission="zope.View"
+      />
+
+  <browser:resource
+    file="help.kss"
+    name="help.kss"
+    />
+
 
   <!-- change tag content -->
   <browser:page
@@ -545,5 +574,14 @@
     permission="zope.View"
     />
 
+  <!-- Dynamic table -->
+  <include file="addressbook.zcml" />
+
+  <!-- Typewriter -->
+  <include file="typewriter.zcml" />
+
+  <!-- CursorTest -->
+  <include file="snake.zcml" />
+
 </configure>
 

Modified: kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/selenium_tests/ca_cancel.html
==============================================================================
--- kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/selenium_tests/ca_cancel.html	(original)
+++ kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/selenium_tests/ca_cancel.html	Sun Apr 20 17:22:50 2008
@@ -20,7 +20,7 @@
 </tr>
 <tr>
 	<td>click</td>
-	<td>css=#standard #with</td>
+	<td>css=#standard .with</td>
 	<td></td>
 </tr>
 <tr>
@@ -35,7 +35,7 @@
 </tr>
 <tr>
 	<td>click</td>
-	<td>css=#standard #without</td>
+	<td>css=#standard .without</td>
 	<td></td>
 </tr>
 <tr>
@@ -50,7 +50,7 @@
 </tr>
 <tr>
 	<td>click</td>
-	<td>css=#standard #with</td>
+	<td>css=#standard .with</td>
 	<td></td>
 </tr>
 <tr>
@@ -70,7 +70,7 @@
 </tr>
 <tr>
 	<td>click</td>
-	<td>css=#alias #with</td>
+	<td>css=#alias .with</td>
 	<td></td>
 </tr>
 <tr>
@@ -85,7 +85,7 @@
 </tr>
 <tr>
 	<td>click</td>
-	<td>css=#alias #without</td>
+	<td>css=#alias .without</td>
 	<td></td>
 </tr>
 <tr>
@@ -100,7 +100,7 @@
 </tr>
 <tr>
 	<td>click</td>
-	<td>css=#alias #with</td>
+	<td>css=#alias .with</td>
 	<td></td>
 </tr>
 <tr>

Added: kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/selenium_tests/disabled/addressbook.html
==============================================================================
--- (empty file)
+++ kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/selenium_tests/disabled/addressbook.html	Sun Apr 20 17:22:50 2008
@@ -0,0 +1,294 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>addressbook</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">addressbook</td></tr>
+</thead><tbody>
+<tr>
+	<td>open</td>
+	<td>/demo/addressbook.html</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertTextPresent</td>
+	<td>Addressbook</td>
+	<td></td>
+</tr>
+<tr>
+	<td>click</td>
+	<td>clean</td>
+	<td></td>
+</tr>
+<tr>
+	<td>waitForElementNotPresent</td>
+	<td>//tr[2]</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertElementNotPresent</td>
+	<td>//tr[2]</td>
+	<td></td>
+</tr>
+<tr>
+	<td>type</td>
+	<td>name</td>
+	<td>Carsten</td>
+</tr>
+<tr>
+	<td>type</td>
+	<td>city</td>
+	<td>Aachen</td>
+</tr>
+<tr>
+	<td>click</td>
+	<td>submit</td>
+	<td></td>
+</tr>
+<tr>
+	<td>waitForText</td>
+	<td>//td[1]</td>
+	<td>Carsten</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//td[1]</td>
+	<td>Carsten</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//td[3]</td>
+	<td>Aachen</td>
+</tr>
+<tr>
+	<td>type</td>
+	<td>name</td>
+	<td>Jonas</td>
+</tr>
+<tr>
+	<td>type</td>
+	<td>city</td>
+	<td>Bern</td>
+</tr>
+<tr>
+	<td>click</td>
+	<td>submit</td>
+	<td></td>
+</tr>
+<tr>
+	<td>waitForText</td>
+	<td>//tr[2]/td[1]</td>
+	<td>Jonas</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//tr[2]/td[1]</td>
+	<td>Jonas</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//tr[2]/td[3]</td>
+	<td>Bern</td>
+</tr>
+<tr>
+	<td>type</td>
+	<td>name</td>
+	<td>Godefroid</td>
+</tr>
+<tr>
+	<td>type</td>
+	<td>city</td>
+	<td>Louvain-la-neuve</td>
+</tr>
+<tr>
+	<td>click</td>
+	<td>submit</td>
+	<td></td>
+</tr>
+<tr>
+	<td>waitForText</td>
+	<td>//tr[3]/td[1]</td>
+	<td>Godefroid</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//tr[3]/td[1]</td>
+	<td>Godefroid</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//tr[3]/td[3]</td>
+	<td>Louvain-la-neuve</td>
+</tr>
+<tr>
+	<td>click</td>
+	<td>//tr[3]/td[6]/input[@value='Up']</td>
+	<td></td>
+</tr>
+<tr>
+	<td>waitForText</td>
+	<td>//tr[2]/td[1]</td>
+	<td>Godefroid</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//tr[2]/td[1]</td>
+	<td>Godefroid</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//tr[2]/td[3]</td>
+	<td>Louvain-la-neuve</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//tr[3]/td[1]</td>
+	<td>Jonas</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//tr[3]/td[3]</td>
+	<td>Bern</td>
+</tr>
+<tr>
+	<td>click</td>
+	<td>//input[@value='Down']</td>
+	<td></td>
+</tr>
+<tr>
+	<td>waitForText</td>
+	<td>//tr[1]/td[1]</td>
+	<td>Godefroid</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//tr[1]/td[1]</td>
+	<td>Godefroid</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//tr[1]/td[3]</td>
+	<td>Louvain-la-neuve</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//tr[2]/td[1]</td>
+	<td>Carsten</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//tr[2]/td[3]</td>
+	<td>Aachen</td>
+</tr>
+<tr>
+	<td>click</td>
+	<td>//tr[2]/td[6]/input[@value='Top']</td>
+	<td></td>
+</tr>
+<tr>
+	<td>waitForText</td>
+	<td>//tr[1]/td[1]</td>
+	<td>Carsten</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//tr[1]/td[1]</td>
+	<td>Carsten</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//tr[1]/td[3]</td>
+	<td>Aachen</td>
+</tr>
+<tr>
+	<td>click</td>
+	<td>//tr[2]/td[6]/input[@value='Bottom']</td>
+	<td></td>
+</tr>
+<tr>
+	<td>waitForText</td>
+	<td>//tr[3]/td[1]</td>
+	<td>Godefroid</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//tr[3]/td[1]</td>
+	<td>Godefroid</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//tr[3]/td[3]</td>
+	<td>Louvain-la-neuve</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//tr[2]/td[1]</td>
+	<td>Jonas</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//tr[2]/td[3]</td>
+	<td>Bern</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//tr[3]/td[1]</td>
+	<td>Godefroid</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//tr[3]/td[3]</td>
+	<td>Louvain-la-neuve</td>
+</tr>
+<tr>
+	<td>click</td>
+	<td>//tr[2]/td[6]/input[@value='Remove']</td>
+	<td></td>
+</tr>
+<tr>
+	<td>waitForText</td>
+	<td>//tr[1]/td[1]</td>
+	<td>Carsten</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//tr[1]/td[1]</td>
+	<td>Carsten</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//tr[1]/td[3]</td>
+	<td>Aachen</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//tr[2]/td[1]</td>
+	<td>Godefroid</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//tr[2]/td[3]</td>
+	<td>Louvain-la-neuve</td>
+</tr>
+<tr>
+	<td>click</td>
+	<td>clean</td>
+	<td></td>
+</tr>
+<tr>
+	<td>waitForElementNotPresent</td>
+	<td>//tr[2]</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertElementNotPresent</td>
+	<td>//tr[2]</td>
+	<td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>

Modified: kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/tree.pt
==============================================================================
--- kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/tree.pt	(original)
+++ kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/tree.pt	Sun Apr 20 17:22:50 2008
@@ -1,4 +1,4 @@
-<html>
+<html tal:define="viewname string:tree">
   <head>
     <link rel="kinetic-stylesheet" type="text/css"
           tal:attributes="href string:${context/@@absolute_url}/++resource++tree.kss"/>

Modified: kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/zopeconfig.py
==============================================================================
--- kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/zopeconfig.py	(original)
+++ kukit/kss.core/branch/1.4/kss/core/plugins/core/demo/zopeconfig.py	Sun Apr 20 17:22:50 2008
@@ -18,28 +18,42 @@
     implements(IResource)
 
     demos = (
-        KSSDemo('', '', "basic_commands.html", "Change tag content"),
-        KSSDemo('', '', "two_selects.html", "Two selects"),
-        KSSDemo('', '', "autoupdate.html", "Auto update"),
-        KSSDemo('', '', "inline_edit.html", "Inline edit"),
-        KSSDemo('', '', "cancel_submit.html", "Cancel Submit Click"),
-        KSSDemo('', '', "tree.html", "Tree"),
-        KSSDemo('', '', "more_selectors.html", "More complex selectors"),
-        KSSDemo('', '', "two_select_revisited.html", "Master-slave selects revisited"),
-        KSSDemo('', '', "form_submit.html", "Form submit"),
-        KSSDemo('', '', "effects.html", "Effects"),
-        KSSDemo('', '', "error_handling.html", "Error handling"),
-        KSSDemo('', '', "preventdefault.html", "Preventdefault (a.k.a. Safari workarounds)"),
-        KSSDemo('', '', "html_inserts.html", "HTML insertions (Change tag content returns)"),
-        KSSDemo('', '', "client-server-protocol", "Client server protocol"),
+        ##disable address book because tbody problem needs to be fixed on IE
+        ##KSSDemo('', 'Applications',         "addressbook.html",             "Addressbook",
+        ##        description = 'Small Addressbook application'),
+        KSSDemo('', 'Applications',         "typewriter.html",              "Typewriter",
+                description = 'Typewriter application for learning typewriting',
+                helpfile = 'typewriter.rst',
+                packageName = 'kss.core.plugins.core.demo'),
+        KSSDemo('', 'Applications', "snake.html", "Snake",
+                description = 'A simple implementation of the infamous snake game',
+                helpfile = 'snake.rst',
+                packageName = 'kss.core.plugins.core.demo'),
 ##      KSSDemo('', '',  "draganddrop.html", "Scriptaculous drag and drop"),
-        KSSDemo('', 'Selectors', 'selectors.html', 'Parent node selector'),
-        KSSDemo('', 'Core events', "kss_evt_preventbubbling.html", "Prevent bubbling KSS event parameter"),
-        KSSDemo('', 'Core events', "kss_keyevents.html", "Key events"),
-        KSSDemo('', 'Commands/Actions', "ca_focus.html", "Focus"),
-        KSSDemo('', 'Commands/Actions', "actions.html", "Class actions: toggle, add, remove"),
-        KSSDemo('', 'Commands/Actions', "ca_cancel.html", "action-cancel"),
-        KSSDemo('', 'Commands/Actions', "ca_kssattr.html", "setKssAttribute"),
+        KSSDemo('', 'Parameter functions', 'pf_forms.html',                 'Forms'),
+        KSSDemo('', 'Selectors',            'selectors.html',               'Parent node selector'),
+        KSSDemo('', 'Core syntax',          "kss_selector_param.html",      "Kss selector parameters"),
+        KSSDemo('', 'Core syntax',          "kss_url_param.html",           "Kss url parameters"),
+        KSSDemo('', 'Core events',          "kss_evt_preventbubbling.html", "Prevent bubbling KSS event parameter"),
+        KSSDemo('', 'Core events',          "kss_keyevents.html",           "Key events"),
+        KSSDemo('', 'Commands/Actions',     "ca_focus.html",                "Focus"),
+        KSSDemo('', 'Commands/Actions',     "ca_cancel.html",               "action-cancel"),
+        KSSDemo('', 'Commands/Actions',     "ca_kssattr.html",              "setKssAttribute"),
+        KSSDemo('', 'Commands/Actions',     "actions.html",                 "Class actions: toggle, add, remove"),
+        KSSDemo('', 'History',              "basic_commands.html",          "Change tag content"),
+        KSSDemo('', 'History',              "two_selects.html",             "Two selects"),
+        KSSDemo('', 'History',              "autoupdate.html",              "Auto update"),
+        KSSDemo('', 'History',              "inline_edit.html",             "Inline edit"),
+        KSSDemo('', 'History',              "cancel_submit.html",           "Cancel Submit Click"),
+        KSSDemo('', 'History',              "tree.html",                    "Tree"),
+        KSSDemo('', 'History',              "more_selectors.html",          "More complex selectors"),
+        KSSDemo('', 'History',              "two_select_revisited.html",    "Master-slave selects revisited"),
+        KSSDemo('', 'History',              "form_submit.html",             "Form submit"),
+        KSSDemo('', 'History',              "effects.html",                 "Effects"),
+        KSSDemo('', 'History',              "error_handling.html",          "Error handling"),
+        KSSDemo('', 'History',              "preventdefault.html",          "Preventdefault (a.k.a. Safari workarounds)"),
+        KSSDemo('', 'History',              "html_inserts.html",            "HTML insertions (Change tag content returns)"),
+        KSSDemo('', 'History',              "client-server-protocol",       "Client server protocol"),
         )
 
     # directories are relative from the location of this .py file

Modified: kukit/kss.core/branch/1.4/kss/core/tests/ecmaview.py
==============================================================================
--- kukit/kss.core/branch/1.4/kss/core/tests/ecmaview.py	(original)
+++ kukit/kss.core/branch/1.4/kss/core/tests/ecmaview.py	Sun Apr 20 17:22:50 2008
@@ -84,7 +84,7 @@
 
     _testdir = absolute_dir('../kukit/tests')
 
-    _runner = ViewPageTemplateFile('../kukit/tests/runner.html', content_type='text/html; charset=utf-8')
+    _runner = ViewPageTemplateFile('../kukit/tests/runner.html')
     
     # The next is only necessary on Zope (<=) 2.9,
     # provides a docstring to the method


More information about the Kukit-checkins mailing list