[TYPO3-mvc] caching problem with f:form
Stephan Helten
stephan.helten at engage.de
Mon Jul 4 14:29:36 CEST 2011
Hi Franz,
thank you so far.
When configuring listAction as non-cacheable everything works fine, I
already tried that before.
But I want it to be cached correctly (taking the street-argument into
consideration).
The noCacheHash argument seems to not be implemented in my fluid version
yet.
I'll check that with a new version of fluid...
regards
Stephan
-----Ursprüngliche Nachricht-----
Von: typo3-project-typo3v4mvc-bounces at lists.typo3.org
[mailto:typo3-project-typo3v4mvc-bounces at lists.typo3.org] Im Auftrag von
Franz Koch
Gesendet: Montag, 4. Juli 2011 14:03
An: typo3-project-typo3v4mvc at lists.typo3.org
Betreff: Re: [TYPO3-mvc] caching problem with f:form
Hi,
> in fluid I defined this form:
>
> <f:form>
> <f:form.select name="street" options="{areas}"
optionValueField="street"
> optionLabelField="street" value="{street}"/>
> <f:form.submit value="show" />
> </f:form>
>
> This results in html, where the action is:
>
abfallentsorgung/?tx_engmhwastecal_wastecal%5Bcontroller%5D=Area&cHash=a
> ffebeb09b2d94ce3eb72d1bf0fad569
>
> Because of the cHash value the target page is cached on the first call and
> on further calls the value of the form.select is not considered.
That's not entirely related to the appended cHash. Looks like your list
action in general is cacheable. If that wouldn't be the case, the cHash
wouldn't have any affect on it. So if the list action shouldn't be
cached, please also add it to the non-cacheable actions in your
ext_localconf plugin configuration.
To get rid of the cHash in your form uri simply add 'noCacheHash="true"'
to your f:form tag. But as I said, only removing the cHash might/should
not solve your issue in general as you still could run into caching
issues as long as the list action is configured as cacheable.
--
kind regards,
Franz Koch
_______________________________________________
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