{ "info": { "author": "Sylvain Viollon", "author_email": "thefunny@gmail.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "==================\nzeam.form.composed\n==================\n\nThis package let you defines forms containing other forms in\n`zeam.form.base`_.\n\n.. contents::\n\nExample\n=======\n\nHere a simple example. Let's define a setting form::\n\n from zeam.form import composed, base\n from zope.interface import Interface\n\n\n class Setting(composed.ComposedForm):\n composed.context(Interface)\n\n label = u\"Settings\"\n\n\nAfter, a module can add some mail settings on that screen::\n\n class MailSetting(composed.SubForm):\n composed.context(MyApplication)\n composed.view(Setting)\n composed.order(99)\n\n label = u\"Mail delivery settings\"\n ...\n\nAnd publications of that application could add some publication\nsettings::\n\n class PublicationSetting(composed.SubForm):\n composed.context(MyPublications)\n composed.view(Setting)\n composed.order(10)\n\n label = u\"Publication settings\"\n ...\n\n\nSome default templates are included as well, but you can replace like\nyou will do in `zeam.form.base`_.\n\nAPI\n===\n\nClasses\n-------\n\n``ComposedForm``\n This class define a form which able to contain other forms. It\n behave like a ``zeam.form.base`` Form, but does use its fields.\n A usefull method can give you back a given subform :\n ``getSubForm(identifier)``.\n\n``SubForm``\n This class represent a form which is contained inside a\n ``ComposedForm``. This form behave exactly like a\n ``zeam.form.base`` Form to which you add:\n\n - a method ``available()`` which is called before anything else to\n know if the form shoud still be included in the ``ComposedForm``.\n\n - a method ``getComposedForm()`` that gives you back the composed\n form in which this form is rendered.\n\n``SubFormGroup``\n This class let you group ``SubForm`` together. They are rendered within\n the group template, and prefixed by the group name. Like a ``SubForm``\n they have an ``available()`` and a ``getComposedForm()`` method. It as\n well have a ``getSubForm(identifier)`` method.\n\nDirectives\n----------\n\nAll those directives comes from Grokcore component. Please refer to\nthe `Grok documentation `_ for more information.\n\n``context``\n Define for which object the form/sub form is available.\n\n``layer``\n Define the skin for which the form/sub form is aviable.\n\n``require``\n Define a permission need to access the form.\n\n``template``\n Define a Grok-like template for the form. After you done that, the\n Grok template will be look up and used. You can't use anymore a\n ``megrok.pagetemplate`` template, unless you set ``template=None``\n again on your form class.\n\n``view``\n On a sub form, define for which form the sub form is available.\n\n``order``\n Let you specify a number to sort your sub form afterwards using\n that setting.\n\n.. _zeam.form.base: http://pypi.python.org/pypi/zeam.form.base\n\nChangelog\n=========\n\n1.3.3 (2019/01/15)\n------------------\n\n* Updated versions of GTK packages.\n\n1.3.2 (2012/05/02)\n------------------\n\n* Update to use the latest ``grokcore.component``.\n\n1.3.1 (2012/04/27)\n------------------\n\n* Now use ``grokcore.chameleon`` instead of ``megrok.chameleon``.\n\n1.3 (2011/11/08)\n----------------\n\n* Fix various stupid bugs.\n\n* Fix available issue after executing actions.\n\n* Properly support zeam.form.base 1.2 (actions return the sub form on\n which the action have been executed).\n\n* Updates tests.\n\n1.2 (2010/10/19)\n----------------\n\n* Add the concept of groups : subforms in a composed one can be grouped\n with them : they act as a composed form to the subform, and a subform\n to the composed form.\n\n* Update default templates to reflect changes in ``zeam.form.base``.\n\n1.1 (2010/07/16)\n----------------\n\n* Default templates now use Chameleon.\n\n* Call ``update`` for all subforms when the ``update`` of the composed\n form is called.\n\n1.0 (2010/05/03)\n----------------\n\n* Initial release.\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/zeam.form.composed", "keywords": "zeam form composed", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "zeam.form.composed", "package_url": "https://pypi.org/project/zeam.form.composed/", "platform": "", "project_url": "https://pypi.org/project/zeam.form.composed/", "project_urls": { "Homepage": "http://pypi.python.org/pypi/zeam.form.composed" }, "release_url": "https://pypi.org/project/zeam.form.composed/1.3.3/", "requires_dist": null, "requires_python": "", "summary": "Composed form support for zeam.form", "version": "1.3.3" }, "last_serial": 4699192, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "a3c96d8a708ea2b1f9869d3bde614827", "sha256": "8468a2cbe53e71d3de61d456ce440a8e30cb5ad5cc8c1b9fef8dc82c52208e01" }, "downloads": -1, "filename": "zeam.form.composed-1.0.tar.gz", "has_sig": false, "md5_digest": "a3c96d8a708ea2b1f9869d3bde614827", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7618, "upload_time": "2010-05-03T12:25:42", "url": "https://files.pythonhosted.org/packages/c3/a3/a6206faa48f13cc2c9b3afd65e36c7aa3dbccfaea951a876a489f10353d4/zeam.form.composed-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "655ba83da91d3d8a41df1212cc145bcf", "sha256": "edd59ddea2b0b6c1dbe4a7381e53c41dbeaf37f0516c215d8aff27554dc2eb87" }, "downloads": -1, "filename": "zeam.form.composed-1.1.tar.gz", "has_sig": false, "md5_digest": "655ba83da91d3d8a41df1212cc145bcf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7875, "upload_time": "2010-07-16T14:13:13", "url": "https://files.pythonhosted.org/packages/b9/08/22681e796aefd4a5444852e65fc1b9829d0131fa90f8ba05413f62dc22d6/zeam.form.composed-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "2adaedba1f3b49ec8492b0c45315a784", "sha256": "6f623eb41b1ed4991bc1316266807f577f12a442fb4c5699e7416555a270fa0d" }, "downloads": -1, "filename": "zeam.form.composed-1.2.tar.gz", "has_sig": false, "md5_digest": "2adaedba1f3b49ec8492b0c45315a784", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11630, "upload_time": "2010-10-19T09:32:35", "url": "https://files.pythonhosted.org/packages/bd/4b/9c603da952c5c70772d8c858d9b50f8662767ac86d990b2dde23aa9e7a7e/zeam.form.composed-1.2.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "41618edd333e0fa6708abdfdf7d7d666", "sha256": "ee56cc5eeda56376ced5735111eacfdb7d57cc8749c83499a985457152b65d43" }, "downloads": -1, "filename": "zeam.form.composed-1.2.1.tar.gz", "has_sig": false, "md5_digest": "41618edd333e0fa6708abdfdf7d7d666", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10578, "upload_time": "2011-07-27T13:05:54", "url": "https://files.pythonhosted.org/packages/8a/a3/b5ed0bf04446924d316821d21982f4ab25eb953c12585f159d9c7279d9f6/zeam.form.composed-1.2.1.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "469c996fadf05ef138e22fe61f814bf5", "sha256": "2ba5bc8653c0afe6cb3dabfbfc5a35e976613f965d56336b3642f2afa1b65d2b" }, "downloads": -1, "filename": "zeam.form.composed-1.3.tar.gz", "has_sig": false, "md5_digest": "469c996fadf05ef138e22fe61f814bf5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10305, "upload_time": "2011-11-08T15:37:06", "url": "https://files.pythonhosted.org/packages/e1/c1/94210bc2b0edb3ffdf195ca9dad783c2b37f85ab45870d54b7f3d0d89dfa/zeam.form.composed-1.3.tar.gz" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "f3b1fe0b5691a105039a47b83857d0ba", "sha256": "f599d49f7b53d4c35490abbce9d2795246be66aff6a012411789b63788dfc7e2" }, "downloads": -1, "filename": "zeam.form.composed-1.3.1.tar.gz", "has_sig": false, "md5_digest": "f3b1fe0b5691a105039a47b83857d0ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10314, "upload_time": "2012-04-27T11:23:30", "url": "https://files.pythonhosted.org/packages/7a/2f/b70cbe088789332c007c094d9a3b042308936001fd3f2cea1279c364bdec/zeam.form.composed-1.3.1.tar.gz" } ], "1.3.2": [ { "comment_text": "", "digests": { "md5": "2873f5f502c23ab2e970d2ad419e358d", "sha256": "f93526ebc441ed3ea44a706ac0c04b51c8264323fde8a1ccacad2f06ac33e7d0" }, "downloads": -1, "filename": "zeam.form.composed-1.3.2.tar.gz", "has_sig": false, "md5_digest": "2873f5f502c23ab2e970d2ad419e358d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10381, "upload_time": "2012-05-02T14:00:46", "url": "https://files.pythonhosted.org/packages/69/e3/b6a20ea155f9c12841e5e947b6225a37515d715580e9169072dd99f2f6e6/zeam.form.composed-1.3.2.tar.gz" } ], "1.3.3": [ { "comment_text": "", "digests": { "md5": "4b53fc55d7dd2ef32e2eeb9811495a97", "sha256": "833a9912b1e95d94b5623182ee3d38e8ceb6ad0ea482d8b99070a1c9f19eac1e" }, "downloads": -1, "filename": "zeam.form.composed-1.3.3.tar.gz", "has_sig": false, "md5_digest": "4b53fc55d7dd2ef32e2eeb9811495a97", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12012, "upload_time": "2019-01-15T14:52:23", "url": "https://files.pythonhosted.org/packages/bc/ca/ba362d3a28e0c2f9bf0e3b3aaa74f1777a40e18dcdbcdf826a6751e1b5f8/zeam.form.composed-1.3.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4b53fc55d7dd2ef32e2eeb9811495a97", "sha256": "833a9912b1e95d94b5623182ee3d38e8ceb6ad0ea482d8b99070a1c9f19eac1e" }, "downloads": -1, "filename": "zeam.form.composed-1.3.3.tar.gz", "has_sig": false, "md5_digest": "4b53fc55d7dd2ef32e2eeb9811495a97", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12012, "upload_time": "2019-01-15T14:52:23", "url": "https://files.pythonhosted.org/packages/bc/ca/ba362d3a28e0c2f9bf0e3b3aaa74f1777a40e18dcdbcdf826a6751e1b5f8/zeam.form.composed-1.3.3.tar.gz" } ] }