[Kss-devel] kss and response.redirect

Hedley Roos hedley at upfrontsystems.co.za
Tue Nov 6 09:15:58 CET 2007


Thanks Radim

That is also my intended approach, but there is a snag - I can't call 
addCommand from a Python Script. Maybe it needs to be exposed in ttwapi?

H

> 
> You can use something like this:
> 
>     ksscore = IKSSCoreCommands(self)
>     ksscore.setAttribute('#follow-me', 'href', 'http://plone.org')
>     self.commands.addCommand('plone-followLink', '#follow-me')
>     return self.render()


More information about the Kss-devel mailing list