Task #69728

Story #69712: Further FormEngine development

Move SelectTree data providing

Added by Christian Kuhn over 6 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-09-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
medium
Sprint Focus:

Description

The SelectTreeElement currently still does the data item calculation on its own.

This should be extracted to an own data provider, probably called after TcaSelectItems / TcaSelectValues provider. Goal is that the tree element does not fetch the to-render elements on its own anymore, but instead that should be prepared by an own provider. To all this $treeDataProvider stuff should vanish from the render element.

There may be parts - especially the addItems tsConfig stuff that is already resolved within TcaSelectItems provider, so it might be a good idea to extract the according method(s) to an abstract, so both provider classes can use it. Additionally, TcaSelectItems need to be changed to not handle renderMode=tree elements.


Related issues

Related to TYPO3 Core - Bug #78381: Custom select renderTypes use TcaSelectItemsClosed2016-10-22

Actions

Also available in: Atom PDF