You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@causeway.apache.org by "Daniel Keir Haywood (Jira)" <ji...@apache.org> on 2023/03/18 13:31:00 UTC

[jira] [Commented] (CAUSEWAY-3372) [Wicket Viewer] Void action return should always result in a (current) page reload.

    [ https://issues.apache.org/jira/browse/CAUSEWAY-3372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17702112#comment-17702112 ] 

Daniel Keir Haywood commented on CAUSEWAY-3372:
-----------------------------------------------

The first implementation of this resulted in CAUSEWAY-3386 and CAUSEWAY-3387.  So, reverting for now.

> [Wicket Viewer] Void action return should always result in a (current) page reload.
> -----------------------------------------------------------------------------------
>
>                 Key: CAUSEWAY-3372
>                 URL: https://issues.apache.org/jira/browse/CAUSEWAY-3372
>             Project: Causeway
>          Issue Type: Improvement
>          Components: Viewer Wicket
>            Reporter: Andi Huber
>            Assignee: Andi Huber
>            Priority: Minor
>             Fix For: 2.0.0-RC1
>
>
> The 'void' action result is a good representation of 'stay where you are', meaning perhaps reload the current page.
> * lets keep, but perhaps rename the VoidReturnPage to EmptyReturnPage and use it only for actions that are not of return type void, but happen to return null
> * for actions that are of return type void, issue a page reload always



--
This message was sent by Atlassian Jira
(v8.20.10#820010)