[BlueBream] z3c.authenticator in Bluebream

Ilshad Khabibullin astoon.net at gmail.com
Thu May 27 14:11:29 EDT 2010


Need mix IPageletBrowserLayer, also.

Since we have not yet complete example applications (my fault, too), see
example of z3c.pagelet based skin layer here:
http://github.com/astoon/ice.control/tree/master/src/ice/control/skin/ and
use such zcml and interfaces.

2010/5/27 Dr. Volker Jaenisch <volker.jaenisch at inqbus.de>

> Thank you very much  Ilshad!
>
> Ilshad Khabibullin schrieb:
> > <include package="z3c.form" /> missed
> Yes. This was the error!
> > (I assume you have z3c.pagelet based skin layer, of course)
> Yes, I have a z3c.pagelet based skin layer.
> But it seems not to work correct as the next stacktrace indicates:
> *ComponentLookupError: ((<z3c.pagelet.zcml.AddMLSApplication object at
> 0xacf274c>, <zope.publisher.browser.BrowserRequest instance
> URL=http://127.0.0.1:8080/@@add_mls_app>), <InterfaceClass
> z3c.template.interfaces.ILayoutTemplate>, u'')
>
> *Did I miss a package include again or did my skin layer setup in
> incorrect?:
>
> configure.zcml:
>
> <configure
>    xmlns="http://namespaces.zope.org/zope"
>    xmlns:browser="http://namespaces.zope.org/browser"
>    xmlns:z3c="http://namespaces.zope.org/z3c"
>    i18n_domain="propertyshelf.mls">
>
>    <interface
>        interface=".interfaces.IFlamingo"
>        type="zope.publisher.interfaces.browser.IBrowserSkinType"
>    />
>
>    <utility
>        component=".interfaces.IFlamingo"
>        name="Flamingo"
>        provides="zope.publisher.interfaces.browser.IBrowserSkinType"
>    />
>
>    <browser:defaultSkin name="Flamingo" />
>
>    <z3c:layout
>        for="*"
>        layer=".interfaces.IDefaultLayer"
>        template="templates/layout.pt"
>    />
>
>    <browser:resourceDirectory
>        name="static"
>        directory="static"
>        layer=".interfaces.IDefaultLayer"
>    />
>
> </configure>
>
>
interfaces.py :
> from zope.publisher.interfaces.browser import IBrowserSkinType,
> IDefaultBrowserLayer
> from z3c.form.interfaces import IFormLayer
>
> class IFlamingo(IFormLayer, IDefaultBrowserLayer):
>    """Default Skin for MLS Applicatiob."""
>
> Any help appreciated
>
>
>
Volker
>
> --
> ====================================================
>   inqbus it-consulting      +49 ( 341 )  5643800
>   Dr.  Volker Jaenisch      http://www.inqbus.de
>   Herloßsohnstr.    12      0 4 1 5 5    Leipzig
>   N  O  T -  F Ä L L E      +49 ( 170 )  3113748
> ====================================================
>
> _______________________________________________
> bluebream mailing list
> bluebream at zope.org
> https://mail.zope.org/mailman/listinfo/bluebream
>



-- 
Ilshad R. Khabibullin
http://astoon.zwiki.org
+7 922 600 56 06
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/bluebream/attachments/20100528/6fdf805e/attachment.html 


More information about the bluebream mailing list