[TYPO3-ect] lib/div: use forcedAction for pager by default

Franz Koch typo.removeformessage at fx-graefix.de
Wed Jan 16 13:46:39 CET 2008


Hi Elmar,
Hi guys,

I'm just developing a little extension with current SVN of lib/div. I 
placed the same plugin with two different views on the same page. One 
instance is showing a fixed listView with pager, the second one with 
variable views/actions.

Now, when I click on a detail link from the listView, a 'action' 
parameter is also submitted in the getVars for the second instance. And 
because the pager is 'listening' to the same designator, the controller 
of the pager also tries to find the submitted action which it shouldn't.

To prevent this, I suggest to set a 'forcedAction' in the pager, so that 
always the pager action is called and not anything else.
I know that I can do this from within my controller, but I think setting 
a forcedAction for the pager is a good thing to be done by default.

Just wanted to let you know.
--
Greetings,
Franz


More information about the TYPO3-team-extension-coordination mailing list