Created
December 14, 2012 09:30
-
-
Save jean/4284020 to your computer and use it in GitHub Desktop.
Plomino gets confused by some field names, e.g. 'action'.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plominodatabase id="test"> | |
<design> | |
<dbsettings version="1.16"> | |
<AboutDescription type="Products.Archetypes.Field.TextField"><![CDATA[]]></AboutDescription> | |
<UsingDescription type="Products.Archetypes.Field.TextField"><![CDATA[]]></UsingDescription> | |
<IndexAttachments type="Products.Archetypes.Field.BooleanField">False</IndexAttachments> | |
<FulltextIndex type="Products.Archetypes.Field.BooleanField">True</FulltextIndex> | |
<IndexInPortal type="Products.Archetypes.Field.BooleanField">False</IndexInPortal> | |
<debugMode type="Products.Archetypes.Field.BooleanField">False</debugMode> | |
<StorageAttachments type="Products.Archetypes.Field.BooleanField">False</StorageAttachments> | |
<CountDocuments type="Products.Archetypes.Field.BooleanField">False</CountDocuments> | |
<DateTimeFormat type="Products.Archetypes.Field.StringField">%Y-%m-%d</DateTimeFormat> | |
<StartPage type="Products.Archetypes.Field.StringField"/> | |
<DoNotListUsers type="Products.Archetypes.Field.BooleanField">False</DoNotListUsers> | |
<DoNotReindex type="Products.Archetypes.Field.BooleanField">False</DoNotReindex> | |
<excludeFromNav type="Products.Archetypes.Field.BooleanField">False</excludeFromNav> | |
<acl AnomynousAccessRight="NoAccess" AuthenticatedAccessRight="NoAccess"> | |
<params id="UserRoles"> | |
<param> | |
<value><struct> | |
</struct></value> | |
</param> | |
</params> | |
<params id="SpecificRights"> | |
<param> | |
<value><struct> | |
<member> | |
<name>specific_deletedocument</name> | |
<value><string>PlominoAuthor</string></value> | |
</member> | |
</struct></value> | |
</param> | |
</params> | |
</acl> | |
</dbsettings> | |
<element id="dgForm" title="dgForm" type="PlominoForm"> | |
<id type="Products.Archetypes.Field.StringField">dgForm</id> | |
<onCreateDocument type="Products.Archetypes.Field.TextField"><![CDATA[]]></onCreateDocument> | |
<onOpenDocument type="Products.Archetypes.Field.TextField"><![CDATA[]]></onOpenDocument> | |
<onSaveDocument type="Products.Archetypes.Field.TextField"><![CDATA[]]></onSaveDocument> | |
<onDeleteDocument type="Products.Archetypes.Field.TextField"><![CDATA[]]></onDeleteDocument> | |
<onSearch type="Products.Archetypes.Field.TextField"><![CDATA[]]></onSearch> | |
<beforeCreateDocument type="Products.Archetypes.Field.TextField"><![CDATA[]]></beforeCreateDocument> | |
<FormLayout type="Products.Archetypes.Field.TextField"><![CDATA[<p><span class="plominoFieldClass">action</span></p>]]></FormLayout> | |
<DocumentTitle type="Products.Archetypes.Field.TextField"><![CDATA[]]></DocumentTitle> | |
<DocumentId type="Products.Archetypes.Field.TextField"><![CDATA[]]></DocumentId> | |
<ActionBarPosition type="Products.Archetypes.Field.StringField">TOP</ActionBarPosition> | |
<HideDefaultActions type="Products.Archetypes.Field.BooleanField">False</HideDefaultActions> | |
<HideInMenu type="Products.Archetypes.Field.BooleanField">False</HideInMenu> | |
<isSearchForm type="Products.Archetypes.Field.BooleanField">False</isSearchForm> | |
<isPage type="Products.Archetypes.Field.BooleanField">False</isPage> | |
<SearchView type="Products.Archetypes.Field.StringField"/> | |
<SearchFormula type="Products.Archetypes.Field.TextField"><![CDATA[]]></SearchFormula> | |
<Position type="Products.Archetypes.Field.IntegerField"/> | |
<excludeFromNav type="Products.Archetypes.Field.BooleanField">False</excludeFromNav> | |
<elements> | |
<element id="action" title="action" type="PlominoField"> | |
<id type="Products.Archetypes.Field.StringField">action</id> | |
<FieldType type="Products.Archetypes.Field.StringField">TEXT</FieldType> | |
<FieldMode type="Products.Archetypes.Field.StringField">EDITABLE</FieldMode> | |
<Formula type="Products.Archetypes.Field.TextField"><![CDATA[]]></Formula> | |
<FieldReadTemplate type="Products.Archetypes.Field.StringField"/> | |
<FieldEditTemplate type="Products.Archetypes.Field.StringField"/> | |
<Mandatory type="Products.Archetypes.Field.BooleanField">False</Mandatory> | |
<ValidationFormula type="Products.Archetypes.Field.TextField"><![CDATA[]]></ValidationFormula> | |
<ToBeIndexed type="Products.Archetypes.Field.BooleanField">False</ToBeIndexed> | |
<IndexType type="Products.Archetypes.Field.StringField">DEFAULT</IndexType> | |
</element> | |
</elements> | |
</element> | |
<element id="frmTest" title="frmTest" type="PlominoForm"> | |
<id type="Products.Archetypes.Field.StringField">frmTest</id> | |
<onCreateDocument type="Products.Archetypes.Field.TextField"><![CDATA[]]></onCreateDocument> | |
<onOpenDocument type="Products.Archetypes.Field.TextField"><![CDATA[]]></onOpenDocument> | |
<onSaveDocument type="Products.Archetypes.Field.TextField"><![CDATA[]]></onSaveDocument> | |
<onDeleteDocument type="Products.Archetypes.Field.TextField"><![CDATA[]]></onDeleteDocument> | |
<onSearch type="Products.Archetypes.Field.TextField"><![CDATA[]]></onSearch> | |
<beforeCreateDocument type="Products.Archetypes.Field.TextField"><![CDATA[]]></beforeCreateDocument> | |
<FormLayout type="Products.Archetypes.Field.TextField"><![CDATA[<p><span class="plominoFieldClass">datagrid_test</span></p>]]></FormLayout> | |
<DocumentTitle type="Products.Archetypes.Field.TextField"><![CDATA[]]></DocumentTitle> | |
<DocumentId type="Products.Archetypes.Field.TextField"><![CDATA[]]></DocumentId> | |
<ActionBarPosition type="Products.Archetypes.Field.StringField">TOP</ActionBarPosition> | |
<HideDefaultActions type="Products.Archetypes.Field.BooleanField">False</HideDefaultActions> | |
<HideInMenu type="Products.Archetypes.Field.BooleanField">False</HideInMenu> | |
<isSearchForm type="Products.Archetypes.Field.BooleanField">False</isSearchForm> | |
<isPage type="Products.Archetypes.Field.BooleanField">False</isPage> | |
<SearchView type="Products.Archetypes.Field.StringField"/> | |
<SearchFormula type="Products.Archetypes.Field.TextField"><![CDATA[]]></SearchFormula> | |
<Position type="Products.Archetypes.Field.IntegerField"/> | |
<excludeFromNav type="Products.Archetypes.Field.BooleanField">False</excludeFromNav> | |
<elements> | |
<element id="datagrid_test" title="datagrid_test" type="PlominoField"> | |
<id type="Products.Archetypes.Field.StringField">datagrid_test</id> | |
<FieldType type="Products.Archetypes.Field.StringField">DATAGRID</FieldType> | |
<FieldMode type="Products.Archetypes.Field.StringField">EDITABLE</FieldMode> | |
<Formula type="Products.Archetypes.Field.TextField"><![CDATA[]]></Formula> | |
<FieldReadTemplate type="Products.Archetypes.Field.StringField"/> | |
<FieldEditTemplate type="Products.Archetypes.Field.StringField"/> | |
<Mandatory type="Products.Archetypes.Field.BooleanField">False</Mandatory> | |
<ValidationFormula type="Products.Archetypes.Field.TextField"><![CDATA[]]></ValidationFormula> | |
<ToBeIndexed type="Products.Archetypes.Field.BooleanField">False</ToBeIndexed> | |
<IndexType type="Products.Archetypes.Field.StringField">DEFAULT</IndexType> | |
<params> | |
<param> | |
<value><struct> | |
<member> | |
<name>associated_form</name> | |
<value><string>dgForm</string></value> | |
</member> | |
<member> | |
<name>jssettings</name> | |
<value><string>"aoColumns": [ | |
{ "sTitle": "action" } | |
], | |
"bPaginate": false, | |
"bLengthChange": false, | |
"bFilter": false, | |
"bSort": false, | |
"bInfo": false, | |
"bAutoWidth": false | |
</string></value> | |
</member> | |
<member> | |
<name>field_mapping</name> | |
<value><string>action</string></value> | |
</member> | |
</struct></value> | |
</param> | |
</params> | |
</element> | |
</elements> | |
</element> | |
</design> | |
</plominodatabase> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment