Using zope.formlib With Plone

Display the use of the Zope 3 technology, zope.formlib, in a Plone based environment. A side goal is to help demonstrate some new practices with building new Plone based applications.

  1. Getting Initial Skeleton Product Ready Demonstrates some best practices of setting up the initial product.
  2. Building A Simple Search Interface Using zope.formlib to build a simple search interface for Plone.
  3. Formlib And Content Types Using zope.formlib to layout Archetypes based content types.

All content on one page (useful for printing, presentation mode etc.)

 

Using plone.app.form

Posted by Emyr Thomas at Jun 25, 2007 10:25 AM
This is great stuff. Any advice on using with plone.app.form to give the forms a more Plonish look and feel?

an other hack

Posted by Jean-Michel FRANCOIS at Aug 16, 2007 03:20 PM
# a hack to make the content tab work
self.template.getId = lambda: 'index.html'

I didn t know this hack, here is mine:
inside __init__ of the View
self.request['default_tab'] = 'edit' #action_id

There is a tal:define inside one of the numerous plone2.5 templates that try to get a default_tab value inside the request.

Oh and i hate lambda fct ^^. I have read some where that python 3000 will not have lambda fct ;)

Ahem...

Posted by Derek Broughton at Mar 26, 2009 01:21 PM
Could we please replace all those "Schema's" with "Schemas" when you only want to mean more than one...