Forked from michaelorionmcmanus/Extbase: Define Switchable Controller Actions in a Flexform
Created
March 6, 2014 09:46
-
-
Save xcidar/9386322 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<T3DataStructure> | |
<meta> | |
<langDisable>1</langDisable> | |
</meta> | |
<sheets> | |
<sDEF> | |
<ROOT> | |
<TCEforms> | |
<sheetTitle>General</sheetTitle> | |
</TCEforms> | |
<type>array</type> | |
<el> | |
<switchableControllerActions> | |
<TCEforms> | |
<label>Display Type</label> | |
<onChange>reload</onChange> | |
<config> | |
<type>select</type> | |
<items type="array"> | |
<numIndex index="1" type="array"> | |
<numIndex index="0">Some List Item</numIndex> | |
<numIndex index="1">Controller->primaryAction</numIndex> | |
</numIndex> | |
<numIndex index="2" type="array"> | |
<numIndex index="0">Some Other Great Option</numIndex> | |
<numIndex index="1">Controller->secondaryOption;Story->primaryOption</numIndex> | |
</numIndex> | |
</items> | |
<minitems>0</minitems> | |
<maxitems>1</maxitems> | |
<size>1</size> | |
</config> | |
</TCEforms> | |
</switchableControllerActions> | |
</el> | |
</ROOT> | |
</sDEF> | |
</sheets> | |
</T3DataStructure> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment