{ "info": { "author": "Roger Ineichen and the Zope Community", "author_email": "zope-dev@zope.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Zope3", "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP" ], "description": "This package provides a table implementation including form support for Zope3 \r\nbased on z3c.form and z3c.table.\r\n\n\n.. contents::\n\n========\n Issues\n========\n\n- There is still an issue in README.txt sample, the samples are using nested\n ``
\n\n\nNow we are ready to select an item by click on the link. We simulate this by\nset the relevant data in the request:\n\n >>> selectRequest = TestRequest(form={\n ... 'subFormTable-selectedItem-0-selectedItems': 'second'})\n >>> alsoProvides(selectRequest, IDivFormLayer)\n >>> selectedItemTable = ContentFormTable(container, selectRequest)\n >>> selectedItemTable.__name__ = 'view.html'\n >>> selectedItemTable.update()\n >>> print selectedItemTable.render()\n \n\n\nClicking the ``Edit`` button at the same time should hold the same result:\n\n >>> selectRequest = TestRequest(form={\n ... 'subFormTable-selectedItem-0-selectedItems': 'second',\n ... 'subFormTable.buttons.edit': 'Edit'})\n >>> alsoProvides(selectRequest, IDivFormLayer)\n >>> selectedItemTable = ContentFormTable(container, selectRequest)\n >>> selectedItemTable.__name__ = 'view.html'\n >>> selectedItemTable.update()\n >>> print selectedItemTable.render()\n