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

Extend @Hidden and @Disabled to specify Where the object member should be hidden/disabled.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.2.0-incubating
    • core-1.0.0
    • Core
    • None

    Description

      Coming from a desire to hide property members within tables.

      @Hidden(Where.COLLECTION_TABLE)
      public String getSomeNotVeryInterestingProperty()

      { ... }

      NB: as a result of this change, will slightly break the applib annotation for both @Hidden and @Disabled.

      For example, previously we had @Hidden(When.UNTIL_PERSISTED), with the value() attribute being set. value() has now been renamed to when(), in order to allow where() to also be added.

      This will now be @Hidden(when=When.UNTIL_PERSISTED).

      Note that @Hidden and @Disabled (by itself, with value() not specified) will continue to work with no changes to application code.

      Attachments

        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: