[Kss-devel] Java implementation KSS

Godefroid Chapelle gotcha at bubblenet.be
Tue Dec 18 18:58:09 CET 2007


Duco Dokter wrote:
> Gents,
> 
> I'll most probably be starting on a Java implementation of KSS shortly.

That would be great !!

> Is there any documenation whatsoever already on non-Plone implementations? Can't 
> find any, really...

Well, documentation about what is needed for server-side support is missing.

In your HTML pages, you need to

* include JS files :

sarissa.js
base2-dom-fp.js

Those are found in

  http://codespeak.net/svn/kukit/kukit.js/trunk/3rd_party

kukit.js

It is the concatenation of the set of files found in

  http://codespeak.net/svn/kukit/kukit.js/trunk/kukit

You should be able to produce it by using a tool.
(Laurent, can you recall us how to do it ? )

* setup a link for your kinetic stylesheet

  <link rel="kinetic-stylesheet" type="text/css"
           href="commands.kss" />

The server-side actions need to produce xml payload similar to the 
following :

<kukit xmlns="http://www.kukit.org/commands/1.1">
<commands>
<command selector="div#copy" name="copyChildNodesTo"
          selectorType="">
     <param name="html_id">demo</param>
</command>
<command selector="div#copy" name="clearChildNodes"
          selectorType="">
</command>
</commands>
</kukit>


> 
> Cheers, Duco.
> 

For our information, do you use Plone ?

How did you find us ?

-- 
Godefroid Chapelle (aka __gotcha) http://bubblenet.be


More information about the Kss-devel mailing list