[TYPO3-mvc] A little help with the fluid form tag?

Jonas Götze jonnsn at gmail.com
Tue May 11 16:31:56 CEST 2010


Hi Daniel, Hi Søren,

I currently have a similiar Problem - maybe there is a connection.
I have an Extension (using latest extbase/fluid trunks) which enhances 
fe_users and created a frontend-plugin for the user to edit his data.
The form shows up with all the data from the DB, but if I click on my 
submit button (which should perform the updateAction) my edit-Form shows 
up again (no redirect in updateAction) and the Data is not updated and 
no flashmessage is shown. It seems, that the action is not called at 
all. The Action is registered and not cached.
Also I cannot seem to get any Error messages.
I found another discussion about a similiar Problem here [1] and tried 
setting the described Setenv (which shows up in phpinfo now) along with 
[displayErrors] = 1 in Install Tool - no change.

My colleague and I looked over all code again and again - we could not 
find any mistakes.

Is there any other way to find out what might go wrong here?

Regards Jonas

[1] 
http://lists.typo3.org/pipermail/typo3-project-typo3v4mvc/2010-April/004079.html

Am 11.05.2010 13:28, schrieb Søren Malling:
> Hi Daniel,
>
> Did you add the search action to your list of actions in
> ext_localconf.php when registering the plugin?
>
> Regards,
>
> Søren
>
> On Tue, May 11, 2010 at 12:47 PM, Daniel Dimitrov<danielsd_bg at yahoo.fr>  wrote:
>> Hey guys,
>> I have a list view and I'm trying to embed a small search form in it.
>>
>> My search form looks like this:
>> <f:form method="post" controller="List" action="search">
>>                 <label for="keyword">Keyword</label><br />
>>                 <f:form.textbox property="title" name="keyword" /><br />
>>                 <f:form.submit class="submit" value="Submit"/>
>> </f:form>
>>
>> and is stored in Layouts/searchForm.html .
>> I've added this layout to my template with<f:layout name="searchForm" />
>> So far everything is fine! I see the search form. It has generated the
>> following html:
>> <form
>> action="index.php?id=47448&amp;tx_bwshop_pi1[action]=search&amp;tx_bwshop_pi1[controller]=List&amp;cHash=e214c44ee6e77ad52cc6fa432cbb80eb"
>> method="post">
>> <input type="hidden" value="BwShop"
>> name="tx_bwshop_pi1[__referrer][extensionName]">
>> <input type="hidden" value="List"
>> name="tx_bwshop_pi1[__referrer][controllerName]">
>> <input type="hidden" value="index"
>> name="tx_bwshop_pi1[__referrer][actionName]">
>> <input type="hidden"
>> value="a:3:{s:7:&quot;keyword&quot;;i:1;s:6:&quot;action&quot;;i:1;s:10:&quot;controller&quot;;i:1;}76a6d1e53f3ded6e219dea322e9e54809b263dbe"
>> name="tx_bwshop_pi1[__hmac]">
>>                 <label for="keyword">Keyword</label><br>
>>                 <input type="text" value=""
>> name="tx_bwshop_pi1[keyword]"><br>
>>                 <input type="submit" value="Submit" name="" class="submit">
>> </form>
>>
>> When I enter a value and click submit - the url changes to
>> index.php?id=47448&amp;tx_bwshop_pi1[action]=search&amp;tx_bwshop_pi1[controller]=List&amp;cHash=e214c44ee6e77ad52cc6fa432cbb80eb
>>
>> But the framework never goes in my searchAction function in the list
>> Controller.
>>
>> What am I doing wrong? Do I have to make a new controller Search to handle
>> the form or can I continue using the list controller?
>>
>> Thank you in advance!
>> Daniel
>> _______________________________________________
>> 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