[Grok-dev] Implementing KSS in Grok

Vincent Fretin vincent.fretin at gmail.com
Fri Jan 18 08:42:50 UTC 2013

On Fri, Jan 18, 2013 at 8:12 AM, Uli Fouquet <uli at gnufix.de> wrote:

> Hi Mario,
> On Thu, 17 Jan 2013 13:57:22 +0100 Mario Gusset wrote:
> > Hi list,
> > according to the official tutorial(
> http://grok.zope.org/documentation/how-to/adding-ajax-with-kss-to-grok) I
> tried to install
> > KSS to the Grok-framework,however, when I'm going to start the paster
> the following ImportError occurs:
> > "ImportError: No module named pagetemplate.viewpagetemplatefile"
> > In order to resolve this I additionally added "zope.app.pagetemplate" to
> the install_requires in setup.py,but this leads into another
> > Import error:
> > "ImportError: No module named component.interfaces"
> > To solve this I "added zope.app.component" to the install_requires, but
> this also leads in another error:
> > "ImportError: Cannot import name handler"
> > It seems like it is a never ending story of import errors occuring by
> resolving the precending error.
> > Is there any other way of implementing KSS in the grok framework?
> Well, there _might_ be a way, although KSS integration in Grok is
> terribly outdated.
> Are you sure you really want KSS? It's not used widely anymore and
> overall I think most people use popular JS frameworks like jQuery these
> days if they are after some nice AJAX effects.
> Usage of these external JS libs became much easier with fanstatic. From
> my personal view usage of something like jQuery with fanstatic is
> faster, easier, more transparent and much more powerful.
> So, you're sure you really want KSS?
> Best regards,
> --
> Uli

You really shouldn't use KSS in new projects. This module is not maintained.
The Plone community dropped KSS support in Plone 4.3 core and rewrote some
functionalities using jQuery instead.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.zope.org/pipermail/grok-dev/attachments/20130118/5f25d3f7/attachment.html>

More information about the Grok-dev mailing list