[Kss-devel] Server side action URL base

Godefroid Chapelle gotcha at bubblenet.be
Thu Dec 20 12:00:00 CET 2007


Duco Dokter wrote:
> L.S.,
> 
> I'm wondering in what way the server side of a KSS action is called. Assuming 
> you use regular XML-RPC stuff, some URL base would be needed. Doing things 
> the Zope way is easy enough, given acquisition, but this doesn't hold for 
> other implementations, like a Java back-end. Actions need to be specificly 
> addressed through their unique URL, no acquisition there. So one way or the 
> other, you must be able to specify the URL to be called in more detail. Any 
> thoughts on that?
> 
> D.
> 
> 

We had thought about that ;-)

Here is what you do for non Zope :

div:click {
     server-action : updateStatus;
     updateStatus-kssUrl : http://myserver/myservice/myurl;
     updateStatus=status : done;
}

The important stuff is that the url called can be specified with kssUrl 
parameter.

HTH

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


More information about the Kss-devel mailing list