[+FEATURE] Extbase (MVC): Automatic target page determination
authorBastian Waidelich <bastian@typo3.org>
Thu, 23 Sep 2010 18:41:44 +0000 (18:41 +0000)
committerBastian Waidelich <bastian@typo3.org>
Thu, 23 Sep 2010 18:41:44 +0000 (18:41 +0000)
commit2ab9cfc4fbc8f79d02a4571367b81bdc5e31f3fb
tree9d6e3fe94dd0d96fee1158b238c9b06d79ce0baf
parent8b133f14c8c604967caa6d38ea76473695ecf424
[+FEATURE] Extbase (MVC): Automatic target page determination

you can use the "pageUid" argument of the link.* and uri.* view helpers
to link to a different page. That is deprecated though as we won't have
the notion of "page uids" in v5. Instead the target page is now determined
automatically.
If the target page can't be determined because more than one active
plugin is capable of handling the action an exception will be thrown.
In that case you'll have to define the target page either by using the
pageUid argument or - preferably - by setting
plugin.tx_extensionname_pluginname.view.defaultPid to a fixed page uid.

Note: This feature still has to be documented!

Resolves: #9121
typo3/sysext/extbase/Classes/MVC/Web/Routing/UriBuilder.php
typo3/sysext/extbase/Classes/Utility/Extension.php
typo3/sysext/extbase/Tests/Utility/Extension_testcase.php