source: products/quintagroup.transmogrify.pfm2pfg/trunk/quintagroup/transmogrify/pfm2pfg/formgen.zcml @ 1498

Last change on this file since 1498 was 1496, checked in by koval, 10 years ago

updated package to work with a lastest version of quintagroup.transmogrifier

File size: 2.1 KB
Line 
1<configure
2    xmlns="http://namespaces.zope.org/zope">
3
4    <!-- export data correctors -->
5    <!-- FormFolder adapter -->
6    <adapter
7        for="Products.PloneFormGen.interfaces.IPloneFormGenForm
8            collective.transmogrifier.interfaces.ITransmogrifier"
9        factory=".importing.FormFolderImporter"
10        name="marshall"
11        />
12
13    <!-- default adapter -->
14    <adapter
15        for="Products.PloneFormGen.interfaces.IPloneFormGenField"
16        factory=".importing.BaseFieldDemarshaller"
17        />
18
19    <!-- custom adapters -->
20    <adapter
21        for="Products.PloneFormGen.content.fields.FGStringField"
22        factory=".importing.StringFieldDemarshaller"
23        />
24
25    <adapter
26        for="Products.PloneFormGen.content.fields.FGTextField"
27        factory=".importing.TextFieldDemarshaller"
28        />
29
30    <adapter
31        for="Products.PloneFormGen.content.fields.FGRichLabelField"
32        factory=".importing.LabelFieldDemarshaller"
33        />
34
35    <adapter
36        for="Products.PloneFormGen.content.fields.FGPasswordField"
37        factory=".importing.StringFieldDemarshaller"
38        />
39
40    <adapter
41        for="Products.PloneFormGen.content.fields.FGIntegerField"
42        factory=".importing.IntegerFieldDemarshaller"
43        />
44
45    <adapter
46        for="Products.PloneFormGen.content.fields.FGFixedPointField"
47        factory=".importing.StringFieldDemarshaller"
48        />
49
50    <adapter
51        for="Products.PloneFormGen.content.fields.FGDateField"
52        factory=".importing.DateTimeFieldDemarshaller"
53        />
54
55    <adapter
56        for="Products.PloneFormGen.content.fields.FGLinesField"
57        factory=".importing.LinesFieldDemarshaller"
58        />
59
60    <adapter
61        for="Products.PloneFormGen.content.fields.FGBooleanField"
62        factory=".importing.BooleanFieldDemarshaller"
63        />
64
65    <adapter
66        for="Products.PloneFormGen.content.fields.FGSelectionField"
67        factory=".importing.SelectionFieldDemarshaller"
68        />
69
70    <adapter
71        for="Products.PloneFormGen.content.fields.FGMultiSelectField"
72        factory=".importing.MultiSelectFieldDemarshaller"
73        />
74
75</configure>
Note: See TracBrowser for help on using the repository browser.