[TYPO3-mvc] How to use FAL?

bernd wilke t3ng at bernd-wilke.net
Mon Jul 15 11:10:23 CEST 2013


Am 15.07.13 10:25, schrieb Tobias Liegl:
> Hi Bernd,
>
> maybe this article (and the link to the gist) helps you:
> http://buzz.typo3.org/teams/extbase/article/fal-and-extbase-the-easy-part/
> https://gist.github.com/maddy2101/5668835
>

it should help.

first debug seems ok:
:
       addImgs => 
TYPO3\CMS\Extbase\Persistence\ObjectStorageprototypeobject (2 items)
          000000003baf4acb00000000e2938a8a => 
TYPO3\CMS\Extbase\Domain\Model\FileReferenceprototypepersistent entity 
(uid=35, pid=781)
          000000003baf4ac400000000e2938a8a => 
TYPO3\CMS\Extbase\Domain\Model\FileReferenceprototypepersistent entity 
(uid=34, pid=781)
:

but then I call a partial:
<f:render partial="Detail/MediaContainer2" arguments="{media: 
newsItem.addImgs, settings:settings}" />

and in the partial 'media' is NULL.
where got the filereferences lost?

bernd
-- 
http://www.pi-phi.de/cheatsheet.html


More information about the TYPO3-project-typo3v4mvc mailing list