Project

General

Profile

Actions

Task #69728

closed

Story #69712: Further FormEngine development

Move SelectTree data providing

Added by Christian Kuhn over 8 years ago. Updated over 6 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 1 (0 open1 closed)

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

Actions
Actions

Also available in: Atom PDF