You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Andi Huber (Jira)" <ji...@apache.org> on 2021/02/22 11:09:00 UTC

[jira] [Resolved] (ISIS-2538) Action results of type LocalResourcePath should be able to replace the current page.

     [ https://issues.apache.org/jira/browse/ISIS-2538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andi Huber resolved ISIS-2538.
------------------------------
    Resolution: Resolved

Actions returning LocalResourcePath are interpreted as redirects. We added new control of whether the redirect should target the same or a new window/tab.

eg.

new LocalResourcePath("/restful/", OpenUrlStrategy.SAME_WINDOW);


> Action results of type LocalResourcePath should be able to replace the current page.
> ------------------------------------------------------------------------------------
>
>                 Key: ISIS-2538
>                 URL: https://issues.apache.org/jira/browse/ISIS-2538
>             Project: Isis
>          Issue Type: Improvement
>          Components: Isis Viewer Vaadin, Isis Viewer Wicket
>            Reporter: Andi Huber
>            Assignee: Andi Huber
>            Priority: Major
>             Fix For: 2.0.0-M5
>
>
> Currently these open in a new browser tab, but we need more fine grained control, that is for eg. the Logout Menu Action, we want to redirect the current page.
> Once implemented we can use that for the existing Logout Menu Action.
> Action results of type URL are interpreted as redirect requests as well. But I'm assuming that for these opening in a new browser tab seems the desired behavior always.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)