[FLOW3-general] (FLUID) Assemble TagBasedViewHelper manually
Michael Sauter
mail at michaelsauter.net
Tue Feb 2 16:18:12 CET 2010
On 02.02.10 09:42, Sebastian Kurfürst wrote:
> Fluid does this in
> https://svn.typo3.org/TYPO3v4/CoreProjects/MVC/fluid/trunk/Classes/Core/Parser/SyntaxTree/ViewHelperNode.php
> but I am right now not sure if that is really possible in custom Fluid
> code, as we have a reference to the syntax tree there, which you will
> not get from custom Fluid code.
> However, I also feel that we need to support something like this - I
> just still am not sure how to integrate this properly with the rest of
> Fluid.
Thanks for the hint, I'll see if I can use some code from the
evaluate()-method in ViewHelperNode to build the ViewHelpers in my
custom Fluid code. I started experimenting with that this morning and at
least got it to run without exceptions (but the render() method returns
an empty string). Still have to figure out how to pass in the arguments
correctly ...
If I find a solution that works, I'll post it here, but don't hold your
breath ;)
> Maybe we can discuss it at T3BOARD or so?
That'd be great, but I won't be there (I am just about to discover the
TYPO3 universe ;) and I have to study at that time anyway) ...
I think this issue is also connected to building forms programmatically
in the controller. That's at least what I am trying to do at the moment
(and why I want to build ViewHelpers manually) ... So a "real" solution
should probably also include how to do that in a good way.
- Michael
More information about the FLOW3-general
mailing list