[TYPO3-50-general] [TYPO3-team-core-v5] Templating Engine

Sebastian KurfŸürst sebastian at typo3.org
Wed Oct 22 13:45:09 CEST 2008


Hi Ernesto,
> It should just "do it". :) <f3:link> should know that it should
> manipulate the parent tag.

To me, that would be too much magic happening intransparently behind the 
scenes. How do you explain that to somebody who expects that f3:link 
outputs the link itself?

What it really does is overriding the href from the surrounding tag, 
which is almost the same of what is done in my example:
<a href="{f3:link:uriTo(controller='posts', action='editPost', 
parameter:postId='{postId}')}">Some link the templater knows about</a>

except that is clearly understandable that the href is actually filled 
in by the templating system.

So, I think we should discuss two different issues here:

1) How do we fix the array-access problem?

2) Do we want to have some "magic" manipulating surrounding tags as well?

What do you think? Does it make sense to split the questions up?

Greets,
Sebastian


More information about the TYPO3-project-5_0-general mailing list