Project

General

Profile

Bug #72307 ยป example-flexform.xml

Philipp Wrann, 2015-12-18 09:57

 
<T3DataStructure>
<meta>
<langDisable>1</langDisable>
</meta>
<sheets>

<sDEF>

<ROOT>
<TCEforms>
<sheetTitle>LLL:EXT:XXX/Resources/Private/Language/locallang.xlf:plugin.settings</sheetTitle>
</TCEforms>
<type>array</type>
<el>
<switchableControllerActions>
<TCEforms>
<label>LLL:EXT:XXX/Resources/Private/Language/locallang.xlf:flexform.switchableControllerActions</label>
<onChange>reload</onChange>
<config>
<type>select</type>
<items>
<numIndex index="0">
<numIndex index="0">LLL:EXT:XXX/Resources/Private/Language/locallang.xlf:flexform.switchableControllerActions.list</numIndex>
<numIndex index="1">Document->list</numIndex>
</numIndex>
<numIndex index="1">
<numIndex index="0">LLL:EXT:XXX/Resources/Private/Language/locallang.xlf:flexform.switchableControllerActions.search</numIndex>
<numIndex index="1">Document->search</numIndex>
</numIndex>
<numIndex index="2">
<numIndex index="0">LLL:EXT:XXX/Resources/Private/Language/locallang.xlf:flexform.switchableControllerActions.results</numIndex>
<numIndex index="1">Document->results</numIndex>
</numIndex>
<numIndex index="3">
<numIndex index="0">LLL:EXT:XXX/Resources/Private/Language/locallang.xlf:flexform.switchableControllerActions.index</numIndex>
<numIndex index="1">Document->index</numIndex>
</numIndex>
</items>
</config>
</TCEforms>
</switchableControllerActions>
<settings.resultsPageUid>
<TCEforms>
<label>LLL:EXT:XXX/Resources/Private/Language/locallang.xlf:flexform.resultsPageUid</label>
<displayCond><![CDATA[FIELD:switchableControllerActions:=:Document->search]]></displayCond>
<config>
<type>group</type>
<internal_type>db</internal_type>
<allowed>pages</allowed>
<maxitems>1</maxitems>
<wizards>
<suggest>
<type>suggest</type>
<default>
<searchWholePhrase>1</searchWholePhrase>
</default>
</suggest>
</wizards>
</config>
</TCEforms>
</settings.resultsPageUid>
<settings.useCollection>
<TCEforms>
<label>LLL:EXT:XXX/Resources/Private/Language/locallang.xlf:flexform.useCollection</label>
<displayCond><![CDATA[FIELD:switchableControllerActions:=:Document->list]]></displayCond>
<config>
<type>check</type>
<default>0</default>
</config>
</TCEforms>
</settings.useCollection>
<settings.collection>
<TCEforms>
<label>LLL:EXT:XXX/Resources/Private/Language/locallang.xlf:flexform.collection</label>
<displayCond><![CDATA[FIELD:switchableControllerActions:=:Document->list]]></displayCond>
<config>
<type>documents</type>
<size>3</size>
</config>
</TCEforms>
</settings.collection>

</el>
</ROOT>

</sDEF>
<filters>
<ROOT>
<TCEforms>
<sheetTitle>LLL:EXT:XXX/Resources/Private/Language/locallang.xlf:plugin.filters</sheetTitle>
</TCEforms>
<type>array</type>
<el>
<settings.fulltext>
<TCEforms>
<label>LLL:EXT:XXX/Resources/Private/Language/locallang.xlf:flexform.fulltext</label>
<displayCond><![CDATA[FIELD:switchableControllerActions:=:Document->list]]></displayCond>
<config>
<type>input</type>
<placeholder>LLL:EXT:XXX/Resources/Private/Language/locallang.xlf:flexform.fulltext.placeholder</placeholder>
<eval>trim</eval>
</config>
</TCEforms>
</settings.fulltext>
<settings.models>
<TCEforms>
<label>LLL:EXT:XXX/Resources/Private/Language/locallang.xlf:flexform.models</label>
<displayCond><![CDATA[FIELD:switchableControllerActions:!=:Document->index]]></displayCond>
<config>
<type>select</type>
<itemsProcFunc>Pixelpoint\XXX\UserFunc\FormEngineUserFunc->getSolrRegistryModelsOptions</itemsProcFunc>
<renderType>selectCheckBox</renderType>
</config>
</TCEforms>
</settings.models>

<settings.ignoreDefaultFacettes>
<TCEforms>
<label>LLL:EXT:XXX/Resources/Private/Language/locallang.xlf:flexform.ignoreDefaultFacettes</label>
<displayCond><![CDATA[FIELD:switchableControllerActions:!=:Document->index]]></displayCond>
<config>
<type>check</type>
<default>0</default>
</config>
</TCEforms>
</settings.ignoreDefaultFacettes>

<settings.filters>
<TCEforms>
<label>LLL:EXT:XXX/Resources/Private/Language/locallang.xlf:flexform.filters</label>
<displayCond><![CDATA[FIELD:switchableControllerActions:!=:Document->index]]></displayCond>
<config>
<type>group</type>
<internal_type>db</internal_type>
<allowed>tx_XXX_domain_model_facette,tx_XXX_domain_model_filter</allowed>
<maxitems>99</maxitems>
<size>3</size>
<wizards>
<suggest>
<type>suggest</type>
<default>
<searchWholePhrase>1</searchWholePhrase>
</default>
</suggest>
</wizards>
</config>
</TCEforms>
</settings.filters>
<settings.facets>
<TCEforms>
<label>LLL:EXT:XXX/Resources/Private/Language/locallang.xlf:flexform.facets</label>
<displayCond><![CDATA[FIELD:switchableControllerActions:=:Document->index]]></displayCond>
<config>
<type>check</type>
<default>0</default>
</config>
</TCEforms>
</settings.facets>
</el>
</ROOT>
</filters>
<appearance>
<ROOT>
<TCEforms>
<sheetTitle>LLL:EXT:XXX/Resources/Private/Language/locallang.xlf:plugin.appearance</sheetTitle>
</TCEforms>
<type>array</type>
<el>
<settings.template>
<TCEforms>
<label>LLL:EXT:XXX/Resources/Private/Language/locallang.xlf:flexform.template</label>
<config>
<type>select</type>
<size>1</size>
<maxitems>1</maxitems>
<default>0</default>
<items>
<numIndex index="0">
<numIndex index="0">LLL:EXT:XXX/Resources/Private/Language/locallang.xlf:flexform.template.0</numIndex>
<numIndex index="1">0</numIndex>
</numIndex>
<numIndex index="1">
<numIndex index="0">LLL:EXT:XXX/Resources/Private/Language/locallang.xlf:flexform.template.minimal</numIndex>
<numIndex index="1">Document:Templates:Minimal</numIndex>
</numIndex>
</items>
</config>
</TCEforms>
</settings.template>
<settings.paging>
<TCEforms>
<label>LLL:EXT:XXX/Resources/Private/Language/locallang.xlf:flexform.paging</label>
<displayCond><![CDATA[FIELD:switchableControllerActions:!=:Document->index]]></displayCond>
<config>
<type>check</type>
<default>1</default>
</config>
</TCEforms>
</settings.paging>
<settings.limit>
<TCEforms>
<label>LLL:EXT:XXX/Resources/Private/Language/locallang.xlf:flexform.limit</label>
<config>
<type>input</type>
<eval>null,int</eval>
<placeholder>LLL:EXT:XXX/Resources/Private/Language/locallang.xlf:flexform.limit.placeholder</placeholder>
<mode>useOrOverridePlaceholder</mode>
<range>
<lower>0</lower>
<upper>999</upper>
</range>
</config>
</TCEforms>
</settings.limit>
<settings.sort>
<TCEforms>
<label>LLL:EXT:XXX/Resources/Private/Language/locallang.xlf:flexform.sort</label>
<config>
<type>select</type>
<itemsProcFunc>Pixelpoint\XXX\Solr\SortStrategies->getSortStrategiesForFlexFormSelect</itemsProcFunc>
<size>1</size>
<maxitems>1</maxitems>
</config>
</TCEforms>
</settings.sort>
</el>
</ROOT>
</appearance>

</sheets>
</T3DataStructure>
    (1-1/1)