[TYPO3-mvc] How to access a repository from a flexform?

Richard Bausek richard.bausek at moccu.com
Mon Jan 31 17:53:21 CET 2011


Hi list,

for a frontend plugin configuration in a flexform I need to fill an
"select" TCEForm field with data from my domain model based on the other
settings from the flexform.

To prevent code duplication and to have consistency between my frontend
and backend output, I want to use my existing domain model repository to
pull the domain objects into the flexform.

I tried to create an userfunction with "itemsProcFunc" where I create an
instance of my repository. But that doesn't seem to work as not all
classes are loaded.

Is it possible to use a repository outside of an frontend plugin or
backend module? Are there any examples available or is there a
recommended way of doing this?

I'm using extbase and fluid 1.3.0alpha2 (can't change that ATM).

Any help or clues is welcome!

Thanks in advance,
Richard


More information about the TYPO3-project-typo3v4mvc mailing list