Commit 50265457 authored by Mikael Barbero's avatar Mikael Barbero

update for posbox


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3733 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 927a4337
...@@ -40,10 +40,11 @@ document_classes = updateGlobals( this_module, globals(), ...@@ -40,10 +40,11 @@ document_classes = updateGlobals( this_module, globals(),
permissions_module = Permissions) permissions_module = Permissions)
# Define object classes and tools # Define object classes and tools
import Form, FSForm, ZGDChart, PDFTemplate, Report, PDFForm import Form, FSForm, ListBox, MatrixBox, SelectionTool, ZGDChart, PDFTemplate,\
import PlanningBox, ListBox, MatrixBox Report, PDFForm, ParallelListField
import RelationField, ImageField, MultiRelationField, ParallelListField import PlanningBox
import SelectionTool, PreferenceTool import POSBox
import RelationField, ImageField, MultiRelationField
from Products.Formulator.FieldRegistry import FieldRegistry from Products.Formulator.FieldRegistry import FieldRegistry
from Products.Formulator import StandardFields, HelperFields from Products.Formulator import StandardFields, HelperFields
...@@ -131,6 +132,8 @@ def initialize( context ): ...@@ -131,6 +132,8 @@ def initialize( context ):
'www/FileField.gif') 'www/FileField.gif')
FieldRegistry.registerField(StandardFields.LinkField, FieldRegistry.registerField(StandardFields.LinkField,
'www/LinkField.gif') 'www/LinkField.gif')
FieldRegistry.registerField(POSBox.POSBox,
'www/StringField.gif')
# some helper fields # some helper fields
FieldRegistry.registerField(HelperFields.ListTextAreaField) FieldRegistry.registerField(HelperFields.ListTextAreaField)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment