[Checkins] SVN: megrok.kss/trunk/src/megrok/kss/doc/README.txt update README

Godefroid Chapelle gotcha at bubblenet.be
Tue Oct 2 12:50:59 EDT 2007


Log message for revision 80507:
  update README

Changed:
  U   megrok.kss/trunk/src/megrok/kss/doc/README.txt

-=-
Modified: megrok.kss/trunk/src/megrok/kss/doc/README.txt
===================================================================
--- megrok.kss/trunk/src/megrok/kss/doc/README.txt	2007-10-02 16:47:18 UTC (rev 80506)
+++ megrok.kss/trunk/src/megrok/kss/doc/README.txt	2007-10-02 16:50:58 UTC (rev 80507)
@@ -35,5 +35,13 @@
    <link tal:attributes="href static/app.kss" rel="kinetic-stylesheet" type="text/kss" />
 
 
+- create a KSSActions view with code like::
+   
+        class AppKSS(KSSActions):
+
+            def welcome(self):
+                core = self.getCommandSet('core')
+                core.replaceHTML('#click-me', '<p>ME GROK KISSED !</p>')
+
 - you can use @@kss_devel_mode/ui url to access the UI that sets up the devel
   mode.



More information about the Checkins mailing list