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/06/23 09:01:00 UTC

[jira] [Created] (CAUSEWAY-3498) Relax ChoicesAndDefaultsPostProcessor a little - no need to throw MM if action is always hidden

Daniel Keir Haywood created CAUSEWAY-3498:
---------------------------------------------

             Summary: Relax ChoicesAndDefaultsPostProcessor a little - no need to throw MM if action is always hidden
                 Key: CAUSEWAY-3498
                 URL: https://issues.apache.org/jira/browse/CAUSEWAY-3498
             Project: Causeway
          Issue Type: Improvement
          Components: Core
    Affects Versions: 2.0.0-RC1
            Reporter: Daniel Keir Haywood
            Assignee: Daniel Keir Haywood
             Fix For: 2.0.0-RC2


One idiom is to define an action that is invoked only through the WrapperFactory, eg to trigger an outbox event.  

In such a case the action is likely not required to be visible in the UI, and so will be annotated with `@Action(hidden=EVERYWHERE)`.

Currently this processor insists though on choices/defaults for all reference types; this is unnecessary.

 



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