[TYPO3-mvc] MVC, pages and FlexForms
Sebastian Gebhard
s.gebhard at markenmotiv.de
Thu Jun 18 15:19:44 CEST 2009
Sebastian Kurfürst schrieb:
> PS: I'm not fully sure if you have the settings available in the View,
> if not, please tell me so I can implement this right away :-)
It seems that the page argument does not work in 4.3.0alpha3. Do i need
a more recent version of fluid from trunk or is that an open issue?
I had this working link:
<f:link.action action="single" controller="Car"
arguments="{car:car.uid}">{car.image}</f:link.action>
and changed it to:
<f:link.action page="{settings.singlePid}" action="single"
controller="Car" arguments="{car:car.uid}">{car.image}</f:link.action>
I got the following error:
Fatal error: Uncaught exception 'Tx_Fluid_Core_ParsingException' with
message 'Argument "page" was not registered.' in
/files/typo3_src-4.3.0alpha3/typo3/sysext/fluid/Classes/Core/TemplateParser.php:349
Stack trace: #0
/files/typo3_src-4.3.0alpha3/typo3/sysext/fluid/Classes/Core/TemplateParser.php(317):
Tx_Fluid_Core_TemplateParser->abortIfUnregisteredArgumentsExist(Array,
Array) #1
/files/typo3_src-4.3.0alpha3/typo3/sysext/fluid/Classes/Core/TemplateParser.php(278):
Tx_Fluid_Core_TemplateParser->handler_openingViewHelperTag(Object(Tx_Fluid_Core_ParsingState),
'f', 'link.action', ' page="{setting...', false) #2
/files/typo3_src-4.3.0alpha3/typo3/sysext/fluid/Classes/Core/TemplateParser.php(189):
Tx_Fluid_Core_TemplateParser->buildMainObjectTree(Array) #3
/files/typo3_src-4.3.0alpha3/typo3/sysext/fluid/Classes/View/TemplateView.php(198):
Tx_Fluid_Core_TemplateParser->parse('<ul class="tx_a...') #4
/files/typo3_src-4.3.0alpha3/typo3/sysext/fluid/Classes/View/TemplateView.php(108):
Tx_Fluid_View_TemplateView->parseTemplate(' in
/files/typo3_src-4.3.0alpha3/typo3/sysext/fluid/Classes/Core/TemplateParser.php
on line 349
More information about the TYPO3-project-typo3v4mvc
mailing list