Commit efe280b7 authored by Sebastien Robin's avatar Sebastien Robin

added formulator patch


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@521 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e76cb6aa
...@@ -55,6 +55,9 @@ portal_tools = ( SelectionTool.SelectionTool, ) ...@@ -55,6 +55,9 @@ portal_tools = ( SelectionTool.SelectionTool, )
content_classes = () content_classes = ()
content_constructors = () content_constructors = ()
# Import patch
import FormulatorPatch
# Optimization # Optimization
import psyco import psyco
psyco.bind(ListBox.ListBoxWidget.render) psyco.bind(ListBox.ListBoxWidget.render)
...@@ -89,6 +92,8 @@ def initialize( context ): ...@@ -89,6 +92,8 @@ def initialize( context ):
'www/StringField.gif') 'www/StringField.gif')
FieldRegistry.registerField(StandardFields.StringField, FieldRegistry.registerField(StandardFields.StringField,
'www/StringField.gif') 'www/StringField.gif')
#FieldRegistry.registerField(StandardFields.LabelField,
# 'www/LabelField.gif')
FieldRegistry.registerField(StandardFields.CheckBoxField, FieldRegistry.registerField(StandardFields.CheckBoxField,
'www/CheckBoxField.gif') 'www/CheckBoxField.gif')
FieldRegistry.registerField(StandardFields.IntegerField, FieldRegistry.registerField(StandardFields.IntegerField,
......
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