资源说明:A Plone specific integration and HTML mark-up for z3c.form
================= plone.app.z3cform ================= A Plone specific integration and HTML mark-up for z3c.form. This is a Plone core package. .. contents:: Table of Contents Introduction ============== This Plone package is aimed for developers who want to create forms in Python code. Please read the documentation for `z3c.form`_, which contains important information about using z3c.form in Zope 2 in general. For the most part, that package contains the "active" parts that you need to know about, and this package provides "passive" overrides that make the forms integrate with Plone. Features ======== The following Plone and z3c.form integration is added * Plone *main_template.pt* integration * Plone specific widget frame * Date/time pickers * WYSIWYG widget (TinyMCE visual editor with Plone support) * CRUD forms Out of the box form templates ============================= The form and widget templates are applied in the following order * *plone.app.z3cform* specific * *plone.z3cform* specific * *z3c.form* specific *plone.app.z3cform* package overrides the ``@@ploneform-macros`` view from `plone.z3cform`_, using standard Plone markup for form fields, fieldsets, etc. All the macros described in `plone.z3cform`_ are still available. In addition, you can use the ``widget_rendering`` macro to render all the default widgets, but none of the fieldsets (groups) or the fieldset headers (which would be rendered with the ``fields`` macro). Each widget is rendered using the ``@@ploneform-render-widget`` view, which by default includes the widget's label, required indicator, description, errors, and the result of ``widget.render()``. This view may be overridden for particular widget types in order to customize this widget chrome. Customizing form behavior ========================= Form method ----------- If your form instance defines a property called ``method`` it allows you to set whether form is HTTP POST or HTTP GET. The default is POST. This translates to ``
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。
English
