[TYPO3-mvc] Fluid: Own Condition ViewHelper

Oliver Beck obeck at biznet.ch
Tue Oct 29 13:21:13 CET 2013


Hi all

I'm writing a VH which should render the "then-child" if a condition met. Now i test the VH in my fluid template:

<bn:myViewHelper someArgument="foo" otherArgument="bar">
<f:then></f:then>
<f:else></f:else>
</bn:myViewHelper>

TYPO3 throws this error: Templating tags not properly nested

I'm really sure that the tags are properly nested... 

And this way it works: <bn:myViewHelper someArgument="foo" otherArgument="bar" />

But I would use the child-tags...

Has anyone an idea?

Kind regards, Oliver


More information about the TYPO3-project-typo3v4mvc mailing list