Reputation: 302
I have this inline fluid call:
{f:uri.action(pageUid: 102, action: 'getFile', noCacheHash: true, additionalParams: {id: 102})}
However, it seems like the parameters "pageUid", "noCacheHash" and "additionalParams" are ignored, since the resulting url looks like this:
http://www.example.com/excontroller/?no_cache=1&tx_excontroller_bmbf%5Baction%5D=getFile&tx_excontroller_bmbf%5Bcontroller%5D=excontroller&cHash=cec99a845beead4fe9f3863494abf1c7
Since its an ajax call, I would glady disable the cHash. Or at least pass the pageUid so I don't get the "cHash calculation"-Error.
So, am I missing something? Why are the parameters not applied?
Upvotes: 0
Views: 2477
Reputation: 7016
As for the noCacheHash: true
I guess that fluid interprets the true as if it were a varibale. Try noCacheHash: 1
instead.
As for additionalParams
that are params that are not prefixed. If you want them to be prefixed just like the action, use arguments
.
Edit: Removed bad advice from the answer. Thank you, Claus.
Upvotes: 1