Author: jfroche
Date: Tue Aug 28 18:02:41 2007
New Revision: 46101

Modified:
   kukit/kss.demo/trunk/kss/demo/browser/parameterfunction/forms.kss
   kukit/kss.demo/trunk/kss/demo/browser/parameterfunction/forms.pt
Log:
Add new demo/test for the new recursive call in kss

Modified: kukit/kss.demo/trunk/kss/demo/browser/parameterfunction/forms.kss
==============================================================================
--- kukit/kss.demo/trunk/kss/demo/browser/parameterfunction/forms.kss   
(original)
+++ kukit/kss.demo/trunk/kss/demo/browser/parameterfunction/forms.kss   Tue Aug 
28 18:02:41 2007
@@ -12,6 +12,12 @@
     executeCommand-html: currentFormVar(text-by-name);
 } 
 
+#text-by-kssname:click {
+    action-client: executeCommand;
+    executeCommand-name: replaceInnerHTML;
+    executeCommand-selector: "#target";
+    executeCommand-html: currentFormVar(kssAttr(key1, true));
+}
 #textarea:click {
     action-client: executeCommand;
     executeCommand-name: replaceInnerHTML;

Modified: kukit/kss.demo/trunk/kss/demo/browser/parameterfunction/forms.pt
==============================================================================
--- kukit/kss.demo/trunk/kss/demo/browser/parameterfunction/forms.pt    
(original)
+++ kukit/kss.demo/trunk/kss/demo/browser/parameterfunction/forms.pt    Tue Aug 
28 18:02:41 2007
@@ -45,6 +45,19 @@
         </div>
       </fieldset>
       <h3>
+        <code>currentFormVar(kssAttr('name'))</code> with text field.
+      </h3>
+      <div class="help">
+        Click the button.
+      </div>
+      <fieldset>
+        <div class="kssattr-key1-text-by-kssname">
+          <a class="button click cursorPointer " id="text-by-kssname">Click me 
!</a>
+          <input type="text" name="text-by-kssname" value="text-by-kssname" />
+        </div>
+      </fieldset>
+
+      <h3>
         <code>currentFormVar()</code> with textarea field.
       </h3>
       <div class="help">
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins

Reply via email to