DEV: allows to use routeAction from components/widgets (PR #9267)

ATM this is onlly usable as a helper in templates.

GitHub