[TYPO3-project-formidable] save State for rdt:SEARCHFORM

Christian Kartnig office at hahnepeter.de
Wed Nov 18 10:28:07 CET 2009


Hello!

I finally got it working with a Remote Searchform. I still got two 
problems with this:

I can't clear the searchform values with 
$this->aORenderlets["my-search"]->clearFilters(); anymore.
The form data is saved in the session in the array of the sender 
searchform ("my-search sender"). Trying 
$this->aORenderlets["my-search-sender"]->clearFilters(); from within 
"my-search-sender" gets me a "Call to a member function clearFilters() 
on a non-object" error.

Second problem: The pager value of course gets lost. Does somebody have 
any ideas here?

thanks for your help,
Christian


Christian Kartnig schrieb:
> Hello!
> 
> I have an rdt:SEARCHFORM in connection with an rdt:LISTER (and a pager). 
> The Lister has Details-Links to another page. I want to store the 
> searchform values, so that I can go back to the exact state of the 
> Lister/Searchform when returning from a details-page.
> 
> In this list I found a description for how to do this using a 
> datahandler:lister. There is a function called: 
> tx_dhlister::_getLinkToPersistedSearchParams("my_search_form_id_as_declared_in_xmlmeta"); 
> 
> 
> Is there a function like this for the rdt:LISTER? And how do I get the 
> criteria into the Session data?
> 
> Or should I use a remote-Searchform?
> 
> Thanks a lot,
> Christian


More information about the TYPO3-project-formidable mailing list