[Zope3-Users] Re: Skin based on IPageletBrowserLayer

2007-07-13 Thread Stephan Richter
On Friday 13 July 2007 13:48, Hermann Himmelbauer wrote:
> Unfortunately not. configure.zcml and meta.zcml are correctly included. (If
> I make them errorneous, Zope raises an error.)

Are you really, really sure? ;-) Try to cause a syntax error in the 
z3c.layer.pagelet configuration file. Note that I am *not* talking about 
z3c.pagelet.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: Skin based on IPageletBrowserLayer

2007-07-13 Thread Hermann Himmelbauer
Am Freitag, 13. Juli 2007 16:33 schrieb Stephan Richter:
> On Thursday 05 July 2007 04:54, Hermann Himmelbauer wrote:
> > My problem is that when requests are marked with IPageletBrowserLayer,
> > there are no error messages, no 404's, nothing. In case of a zope error,
> > the browser displays "Traversal error - A server error occurred" but in
> > the transcript.log, no error is printed.
>
> Did you include the z3c.layer.pagelet/configure.zcml in your
> registrations? ;-) Don't worry, this got me just this week too. :-)

Unfortunately not. configure.zcml and meta.zcml are correctly included. (If I 
make them errorneous, Zope raises an error.)

Hmmm, I'm stuck on this one...

Best Regards,
Hermann

-- 
[EMAIL PROTECTED]
GPG key ID: 299893C7 (on keyservers)
FP: 0124 2584 8809 EF2A DBF9  4902 64B4 D16B 2998 93C7
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: Skin based on IPageletBrowserLayer

2007-07-13 Thread Stephan Richter
On Thursday 05 July 2007 04:54, Hermann Himmelbauer wrote:
> In my views, based on pagelets/z3c.form, it is recommended to use a
> Layer/Skin based on IPageletBrowserLayer instead of IDefaultBrowserLayer.

Yes, in fact, you should *never* write your own skin based on 
IDefaultBrowserLayer.

> My problem is that when requests are marked with IPageletBrowserLayer,
> there are no error messages, no 404's, nothing. In case of a zope error,
> the browser displays "Traversal error - A server error occurred" but in the
> transcript.log, no error is printed.

Did you include the z3c.layer.pagelet/configure.zcml in your 
registrations? ;-) Don't worry, this got me just this week too. :-)

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users