Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-3498

Relax ChoicesAndDefaultsPostProcessor a little - no need to throw MM if action is always hidden

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0-RC1
    • 2.0.0-RC2
    • Core
    • None

    Description

      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.

       

      Attachments

        Issue Links

          Activity

            People

              danhaywood Daniel Keir Haywood
              danhaywood Daniel Keir Haywood
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: