<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3DataStructure>
	<sheets>
		<sDEF>
			<ROOT>
				<TCEforms>
					<sheetTitle>LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general</sheetTitle>
				</TCEforms>
				<type>array</type>
				<el>

					<settings.types>
	                    <TCEforms>
	                    	<displayCond>FIELD:parentRec.pages:REQ:true</displayCond>
	                        <label>LLL:EXT:wabs_attractions/Resources/Private/Language/locallang_db.xlf:tx_wabsattractions_domain_model_attraction.type</label>
	                        <config>
	                            <type>select</type>
	                            <renderType>selectMultipleSideBySide</renderType>
	                            <foreign_table>tx_wabsattractions_domain_model_type</foreign_table>
	                            <foreign_table_where>AND find_in_set({#tx_wabsattractions_domain_model_type}.{#pid}, ###REC_FIELD_pages###) AND {#tx_wabsattractions_domain_model_type}.{#sys_language_uid} IN (-1,0)</foreign_table_where>
	                        </config>
	                    </TCEforms>
					</settings.types>

					<settings.detailPid>
						<TCEforms>
							<displayCond>FIELD:parentRec.pages:REQ:true</displayCond>
							<label>LLL:EXT:wabs_attractions/Resources/Private/Language/locallang_flexform.xlf:detailPid</label>
							<config>
								<type>group</type>
								<internal_type>db</internal_type>
								<allowed>pages</allowed>
								<size>1</size>
								<maxitems>1</maxitems>
								<minitems>0</minitems>
							</config>
						</TCEforms>
					</settings.detailPid>

					<settings.layout>
	                    <TCEforms>
	                    	<displayCond>FIELD:parentRec.pages:REQ:true</displayCond>
							<label>LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.layout</label>
							<config>
								<type>select</type>
								<renderType>selectSingle</renderType>
								<items type="array">
									<numIndex index="0" type="array">
										<numIndex index="0">Layout1</numIndex>
										<numIndex index="1">Layout1</numIndex>
									</numIndex>
									<numIndex index="1" type="array">
										<numIndex index="0">Layout2</numIndex>
										<numIndex index="1">Layout2</numIndex>
									</numIndex>
									<numIndex index="3" type="array">
										<numIndex index="0">Layout3</numIndex>
										<numIndex index="1">Layout3</numIndex>
									</numIndex>
									<numIndex index="4" type="array">
										<numIndex index="0">Layout4</numIndex>
										<numIndex index="1">Layout4</numIndex>
									</numIndex>
									<numIndex index="5" type="array">
										<numIndex index="0">Layout5</numIndex>
										<numIndex index="1">Layout5</numIndex>
									</numIndex>
									<numIndex index="6" type="array">
										<numIndex index="0">Layout6</numIndex>
										<numIndex index="1">Layout6</numIndex>
									</numIndex>
								</items>
							</config>
	                    </TCEforms>
					</settings.layout>

				</el>
			</ROOT>
		</sDEF>
		<filter>
			<ROOT>
				<TCEforms>
					<displayCond>FIELD:parentRec.pages:REQ:true</displayCond>
					<sheetTitle>LLL:EXT:core/Resources/Private/Language/locallang_misc.xlf:pageTree_filter</sheetTitle>
				</TCEforms>
				<type>array</type>
				<el>

                    <settings.filter>
                        <type>array</type>
                        <section>1</section>
                        <el>
                            <item>
                                <title>LLL:EXT:core/Resources/Private/Language/locallang_common.xlf:item</title>
                                <type>array</type>
                                <el>
                                    <featureGroup>
                                        <TCEforms>
                                            <label>LLL:EXT:wabs_attractions/Resources/Private/Language/locallang_db.xlf:tx_wabsattractions_domain_model_feature.feature_group</label>
                                            <config>
                                                <type>select</type>
                                                <renderType>selectMultipleSideBySide</renderType>
                                                <foreign_table>tx_wabsattractions_domain_model_featuregroup</foreign_table>
                                                <foreign_table_where>AND find_in_set({#tx_wabsattractions_domain_model_featuregroup}.{#pid}, ###REC_FIELD_pages###) AND {#tx_wabsattractions_domain_model_featuregroup}.{#sys_language_uid} IN (-1,0)</foreign_table_where>
                                            	<maxitems>1</maxitems>
                                            	<multiple>0</multiple>
                                            </config>
                                        </TCEforms>
                                    </featureGroup>
                                    <value>
                                        <TCEforms>
                                            <label>LLL:EXT:wabs_attractions/Resources/Private/Language/locallang_db.xlf:tx_wabsattractions_domain_model_feature.value</label>
                                            <displayCond>FIELD:featureGroup:REQ:TRUE</displayCond>
                                            <config>
                                                <type>select</type>
                                                <renderType>selectMultipleSideBySide</renderType>
                                                <itemsProcFunc>Wabsolute\WabsAttractions\Hooks\ItemsProcFunc->getValuesByFeatureGroup</itemsProcFunc>
                                            	<maxitems>1</maxitems>
                                            	<multiple>0</multiple>
                                            </config>
                                        </TCEforms>
                                    </value>
                                </el>
                            </item>
                        </el>
                    </settings.filter>

				</el>
			</ROOT>
		</filter>
		<categoryfilter>
			<ROOT>
				<TCEforms>
					<displayCond>FIELD:parentRec.pages:REQ:true</displayCond>
					<sheetTitle>Category Title</sheetTitle>
				</TCEforms>
				<type>array</type>
				<el>

					<settings.filter>
						<type>array</type>
						<section>1</section>
						<el>
							<item>
								<title>LLL:EXT:core/Resources/Private/Language/locallang_common.xlf:item</title>
								<type>array</type>
								<el>
									<category>
										<TCEforms>
											<label>LLL:EXT:wabs_attractions/Resources/Private/Language/locallang_db.xlf:tx_wabsattractions_domain_model_feature.category</label>
											<config>
												<type>select</type>
												<renderType>selectMultipleSideBySide</renderType>
												<foreign_table>tx_wabsattractions_domain_model_category</foreign_table>
												<foreign_table_where>AND find_in_set({#tx_wabsattractions_domain_model_category}.{#pid}, ###REC_FIELD_pages###) AND {#tx_wabsattractions_domain_model_category}.{#sys_language_uid} IN (-1,0)</foreign_table_where>
												<maxitems>1</maxitems>
												<multiple>0</multiple>
											</config>
										</TCEforms>
									</category>
								</el>
							</item>
						</el>
					</settings.filter>

				</el>
			</ROOT>
		</categoryfilter>
	</sheets>
</T3DataStructure>