<div class="gmail_quote">On Fri, Jan 18, 2013 at 8:12 AM, Uli Fouquet <span dir="ltr"><<a href="mailto:uli@gnufix.de" target="_blank">uli@gnufix.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Mario,<br>
<div class="im"><br>
On Thu, 17 Jan 2013 13:57:22 +0100 Mario Gusset wrote:<br>
<br>
> Hi list,<br>
> according to the official tutorial(<a href="http://grok.zope.org/documentation/how-to/adding-ajax-with-kss-to-grok" target="_blank">http://grok.zope.org/documentation/how-to/adding-ajax-with-kss-to-grok</a>) I tried to install<br>
> KSS to the Grok-framework,however, when I'm going to start the paster the following ImportError occurs:<br>
> "ImportError: No module named pagetemplate.viewpagetemplatefile"<br>
> In order to resolve this I additionally added "zope.app.pagetemplate" to the install_requires in setup.py,but this leads into another<br>
> Import error:<br>
> "ImportError: No module named component.interfaces"<br>
> To solve this I "added zope.app.component" to the install_requires, but this also leads in another error:<br>
> "ImportError: Cannot import name handler"<br>
> It seems like it is a never ending story of import errors occuring by resolving the precending error.<br>
> Is there any other way of implementing KSS in the grok framework?<br>
<br>
</div>Well, there _might_ be a way, although KSS integration in Grok is<br>
terribly outdated.<br>
<br>
Are you sure you really want KSS? It's not used widely anymore and<br>
overall I think most people use popular JS frameworks like jQuery these<br>
days if they are after some nice AJAX effects.<br>
<br>
Usage of these external JS libs became much easier with fanstatic. From<br>
my personal view usage of something like jQuery with fanstatic is<br>
faster, easier, more transparent and much more powerful.<br>
<br>
So, you're sure you really want KSS?<br>
<br>
Best regards,<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Uli<br></font></span></blockquote><div>Hi,<br><br>You really shouldn't use KSS in new projects. This module is not maintained.<br>The Plone community dropped KSS support in Plone 4.3 core and rewrote some functionalities using jQuery instead.<br>
<br>Regards<br>Vincent</div></div><br>