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

Simplify handling of autoComplete facet, by copying autoComplete from parameter type's spec down to the parameter itself

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 1.14.0
    • None
    • Core
    • None

    Description

      Currently ReferencePanel and (as of ISIS-1600) the ActionChoicesForCollectionParameterFacetFactory both check for autoComplete/choices of a parameter in two places:

      a) on the parameter itself (as per a choicesNXxx() or an autoCompleteNXxx())
      b) on the parameter's type (as per @DomainObject(autoCompleteRepository=...)

      To simplify and make more consistent, should derive a parameter-level ActionParameterAutoCompleteFacet from the objectspec's AutoCompletefacet.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: