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

[jira] [Updated] (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:all-tabpanel ]

Andi Huber updated CAUSEWAY-3372:
---------------------------------
    Description: 
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


  was:
The 'void' action result is a good representation of 'stay where you are', meaning perhaps reload the current page.

However, are there use-cases when we actually want to render a 'void page' instead.



> [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)