[FLOW3-general] Fluid TypoScriptObjects can't use uriBuilder?

Thomas Allmer at at delusionworld.com
Thu Apr 19 19:02:52 CEST 2012


hey,

I would like to add a link/form/whatever at the bottom (or after) each 
Node of the Type Text.

normal Text works just find...
== 1. define a new template
prototype(TYPO3.TYPO3:Text) {
   templatePath = 'resource://[...]/TypoScriptObjects/Text.html'
}

== 2. edit the file and place some text after it
<t:contentElement node="{context}">
   <t:aloha.editable [...]>{text -> f:format.raw()}</t:aloha.editable>
</t:contentElement>

I'm at the bottom of each Text Node.

==

But as soon as I add something like
<f:link.action>test</f:link.action>

the text of all Text Elements is gone. Seems like the $uriBuilder in the 
ActionViewHelper can't create the uri and then it throws an exception... 
strange enough I don't get a message even though I'm in Development Context.

I also tried specifying action, controller, package but it's not showing 
any Text if there is any <f:link.action or <f:form in it...
<f:form actionUri="..." work but then again that's probably not what I 
want...

so is it on purpose that you can't use the uriBuilder in a 
TypoScriptObject or am I doing something wrong?

cheers
-- 
+---------------------------------+-----------------------------------+
| Thomas Allmer                   |   http://www.delusionworld.com    |
| E-mail: at at delusionworld.com    |   phone: +43 699 16217064         |
+---------------------------------+-----------------------------------+


More information about the FLOW3-general mailing list