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

Simplify @HomePage support - just use as annotation on type, not for an action.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0-M3
    • None
    • None

    Description

      For two reasons:

      • first, because almost always a home page will be a view model, so the only thing that this change does not support - which is to display the results of an action being arbitrary standalone collections - can be easily simulated as the parented collection of a view model
      • second, because the current implementation to support @HomePage on actions requires a dummy helper class that exposes this action into the metamodel, but it is also exposed in the REST API, which is not ideal.

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: