[TYPO3-mvc] getting vars of form after sending

Alex Bailey admin at v1le.de
Fri Dec 11 13:39:48 CET 2009


I tried that before but had a problem with submitting. When i submited 
my search form instead of passing the vars to the list element the 
search view replaced the list with itself the result: 2 seach forms no 
list view. We tried to get around that problem but couldn't find a way 
except to split it up in 2 plugins. I guess we have to work on that 
again then :). Thanks for the info.

regards

Steffen Ritter schrieb:
> Alex Bailey schrieb:
>> Hey :),
>>
>> Just having another little question:
>>
>> Lets pretend we have 2 Plugins in our mvc extension. 1 which contains 
>> a search field and 1 which displays a List of results. Now I enter 
>> something in the search and send it to the list via 
>> pluginName="MyListPlugin" in the f:form tag. Now that works perfectly. 
>> What I wanted to know is if there is a way to access these vars in my 
>> search form after i send them. I wan't to use this to fill in the 
>> values of the search fields after you send the form to the other 
>> plugin to reflect the entrys you just made.
>>
>> Thanks in advance
>>
>> Alex
> put both views (search and list) into one plugin ;) Why shouldn't they 
> share namespace? Add a flexform to select which should be displayed.
> Works like a charme :P
> If you really want to access values of another plugin, you wont get 
> around t3lib_div::GP or $_REQUEST or sth like this.
> 
> regards


More information about the TYPO3-project-typo3v4mvc mailing list