Bug #66498
closedLink ViewHelper in Widget View and Backend Context
0%
Description
If i try to generate a normal link (non widget.link) in a widget view for backend-context the link.action viewhelper generates a wrong extension/plugin prefix for arguments and other parameters in the URL.
Updated by Claus Due about 9 years ago
- Status changed from New to Resolved
This is, although slightly hard to know, actually by design. When you render templates from inside a Widget, the entire context changes and this is completely on purpose.
To work around this, make sure you add all of the necessary parameters in your `f:link.action` - extensionName, moduleName, controller, action; the full monty. It will still only generate a link that's valid in the backend, but it will do so with the right scope variables.
Frontend-compatible link generation from the backend (in a Widget or outside) is another story altogether which requires extensive emulation and is outside the area of the TYPO3 core.
Setting to "resolved" because it's by design and has a workaround.