[TYPO3-mvc] Extbase project with complex database/repository structure
Gabriel Kaufmann | Typoworx
info at typoworx.de
Mon Aug 27 23:58:49 CEST 2012
Just to make clear again what I am currently trying to do (just in case
it's mismatch).
I have the Products Controller and a List.html for Products. Within this
template I would like to call:
<f:link.action action="create" controller="Subscriptions"
arguments="{subscriptions : subscriptions}">
This action of course does not belong to the Products-Controller, but my
newly created Subscriptions-Controller!
Am 27.08.2012 23:36, schrieb Gabriel Kaufmann | Typoworx:
>
> Hello Valentin,
>
> thanks for the suggestion. I already tried that. But it throws the
> same error as usual. I'm really annoyed by that error.
>
> Will I have to consider something into the target controler
> ("SubscriptionsController")?
>
> The createAction inside that controller currently looks like this:
>
>> /**
>> * action create
>> *
>> * @param Tx_TnmBundlebooking_Domain_Model_Subscriptions
>> * @return void
>> */
>> public function
>> createAction(Tx_TnmBundlebooking_Domain_Model_Subscriptions
>> $newSubscriptions = NULL) {
>> #...
>> }
>
> Or may I need to add the Product-Model like I've seen that in the
> Blog-Example Extension (as follows)?
>
>> /**
>> * action create
>> *
>> * * @param Tx_TnmBundlebooking_Domain_Model_Products*
>> * @param Tx_TnmBundlebooking_Domain_Model_Subscriptions
>> * @return void
>> */
>> public function
>> createAction(*Tx_TnmBundlebooking_Domain_Model_**_Products**$products*,
>> Tx_TnmBundlebooking_Domain_Model_Subscriptions $newSubscriptions =
>> NULL) {
>> #...
>> }
>
> Is there something missing in my ProductsController from which
> Lists.html this should take place? May there be something else that is
> missing by Extension-Builder, that I have to add manually?
>
>
>
> Am 27.08.2012 10:58, schrieb Valentin Zickner:
>> <f:link.action action="create" controller="Subscriptions"
>> arguments="{subscriptions : subscriptions}">
>
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
More information about the TYPO3-project-typo3v4mvc
mailing list