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

Support parameter choices on contributed actions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • core-1.3.0
    • Core
    • None

    Description

      Currently, choices on actions parameters are picked up by looking for no-arg actions following the naming convention:

      List<T> choicesNActionName()

      However, for a contributed action the action belongs on a service, with the contributee being a parameter of the action. In order to be able to meaningfully provide choices that are specific to the contributee, we need the ChoiceFacetFactory to be able to detect:

      List<T> choicesNActionName(Contributee c)

      also.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: