z3c.layer.pagelet

Software Screenshot:
z3c.layer.pagelet
Software Details:
Version: 1.10.0
Upload Date: 15 Apr 15
Distribution Type: Freeware
Downloads: 0

Rating: nan/5 (Total Votes: 0)

z3c.layer.pagelet is a Python package that provides a pagelet based layer setup for Zope3.

This layer supports a correct set of component registration and can be used for inheritation in custom skins.

Right now the default implementation in Zope3 has different restriction in the traversal concept and use to much registration on the default layer.

Important

This layer ia based on the pagelet pattern. This means every page e.g. the error page is based on the pagelet concept.

IPageletBrowserLayer Layer

The pagelet layer is useful for build custom presentation skins without access to ZMI menus like zmi_views etc. This means there is no menu item registred if you use this layer.

This layer is NOT derived from IDefaultBrowserLayer layer. Therefore it provides only a minimal set of the most important public views such as @@absolute_url which get registered in zope packages for the IHTTPRequest and IBrowserRequest. Next to this views, this package will only provide error views and traversers which are normaly regsitered in the following zope packages:

 * zope.app.http.exception
 * zope.app.publication
 * zope.browserresource
 * zope.traversing

Note, this package does not depend on all the packages described above. We only need to depend on the same interfaces where this package will define views and traversers for.

What is new in this release:

  • Sets HTTP status code to 500 on system errors but only in devmode and in tests.

What is new in version 1.9.0:

  • Re-release of 1.8.1 as the changes in it require a new major release because they broke z3c.authviewlet.

What is new in version 1.8.1:

  • Doing redirect in UnauthorizedPagelet now in update method instead of render so the layout templage does not get rendered when redirecting.
  • Fixed tests: Using manager account, so anonymous user does not need to get all permissions for running tests successfully.
  • Got rid of zope.app.testing test dependency by using zope.app.wsgi.
  • Got rid of zope.app.authentication test dependency.
  • Added a test for 403 Forbidden.

Requirements:

  • Python
  • Zope

Other Software of Developer Zope Corporation and Contributors

five.customerize
five.customerize

20 Feb 15

zope.contenttype
zope.contenttype

11 May 15

zope.proxy
zope.proxy

14 Apr 15

Comments to z3c.layer.pagelet

Comments not found
Add Comment
Turn on images!