Changeset 2282 in products
- Timestamp:
- May 10, 2010 3:25:20 PM (14 years ago)
- Location:
- quintagroup.referencedatagridfield/trunk/quintagroup/referencedatagridfield
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.referencedatagridfield/trunk/quintagroup/referencedatagridfield/__init__.py
r2261 r2282 13 13 # Example content type initialization 14 14 import quintagroup.referencedatagridfield.examples 15 import quintagroup.referencedatagridfield.hiddencolumn 15 16 content_types, constructors, ftis = process_types(listTypes(PKG_NAME), PKG_NAME,) 16 17 -
quintagroup.referencedatagridfield/trunk/quintagroup/referencedatagridfield/_field.py
r2281 r2282 15 15 from Products.ATReferenceBrowserWidget.ATReferenceBrowserWidget import ReferenceBrowserWidget 16 16 17 from Products.DataGridField.Column import Column 17 18 from Products.DataGridField.DataGridField import DataGridField 18 19 from Products.DataGridField.DataGridWidget import DataGridWidget 19 20 21 from hiddencolumn import HiddenColumn 20 22 21 23 # Logger object … … 28 30 _properties.update({ 29 31 'macro': "referencedatagridwidget", 30 'column_names': ["Title", "Link", "UID"],31 32 'helper_css': ('datagridwidget.css',), 32 33 'helper_js': ('referencebrowser.js', 'datagridwidget.js',), 33 34 'force_close_on_insert': True, 35 'columns': { 36 'title': Column("Title"), 37 'link': Column("Link"), 38 'uid': HiddenColumn("UID", visible=False)}, 34 39 }) 35 40
Note: See TracChangeset
for help on using the changeset viewer.