[TYPO3-mvc] Lazy Loading

Christian Zenker christian.zenker at 599media.de
Mon Jul 20 15:29:03 CEST 2009


Am 20.07.2009, 15:01 Uhr, schrieb Jochen Rau <jochen.rau at typoplanet.de>:

> Hi Christian,
>
> it is implemented but needs proper testing in the wilds.
>
> Do you have recursive m:n-relations (self referencing)?

Exactly. They are build as in http://forge.typo3.org/issues/show/3947 (a  
related issue ;) )

> Could you please post your $TCA snippet and your sql table definitions?

I'd prefer to send you by mail, if you want - it's a bit longish.
But you can see the same behavior in the blogs extension anyways. The tags  
related to the posts are loaded instantly, too. (tried by inserting

<ul>
	<f:for each="{blogs}" as="blog">
+		<f:debug>{blog.posts}</f:debug>
		<li>
			<h3><f:link.action controller="Post" action="index" arguments="{blog :  
blog}">{blog.name}</f:link.action></h3>
			<p>

to the Blog/index.html template)

Christian



More information about the TYPO3-project-typo3v4mvc mailing list