[Kss-devel] kss and response.redirect

Radim Novotny novotny.radim at gmail.com
Tue Nov 6 10:01:49 CET 2007


Hi Hedley,

my example is from Plone 2.5/azax 1.1, so current syntax may be slightly 
different.

Radim

> 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