[TYPO3-mvc] Possible to make a section optional?

Nathan Lenz typo3 at k9tfk.com
Fri Jan 8 16:45:08 CET 2010


Sebastian Kurfürst wrote:
> Hey,
> 
> great idea! Please write a patch for that, and we'll include that in the
> next Fluid version.... I'd add an extra parameter optional="true" - and
> if it is optional, I'd use the inner content of the tag as data.
> 
> Reason for another parameter: If you omit it, then:
> <f:render ... />
> <f:render ...></f:render> are mandatory,
> but <f:render> </f:render> (with space in between) would be optional -
> that sounds strange ;) Thus I'd add another parameter.
> 
> Greets,
> Sebastian

Done, see #5933. Give me feedback if you think it should be done
differently.

--Nathan


More information about the TYPO3-project-typo3v4mvc mailing list