O'Reilly logo

Professional Plone Development: Building robust, content-centric web applications with Plone 3, an open source Content Management System by Martin Aspeli

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Form Controller Tool

Plone ships with the CMFFormController product, which can be used to manage the flow of control between forms and scripts, optionally taking into account which button was pressed or invoking validators. It can be quite useful for complex page flows, but is becoming less important since it does not work with Zope 3 views. It can also be a little cumbersome because it spreads the form logic across multiple files. Still, a lot of products and a number of forms in Plone itself use it. Note that form controller templates and scripts can only be defined in skin layers.

Let us look at an example. Plone’s Send this page to someone form is defined in CMFPlone/skins/plone_forms/sendto_form.cpt—the .cpt extension declaring it as a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required