Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-1707

Suppress mandatory red-star on read-only properties

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.15.0
    • Fix Version/s: 1.15.1
    • Component/s: Core: Viewer: Wicket
    • Labels:
      None

      Description

      Mandatory red-star indicator isn't needed when the user cannot change a property value.

      For example if the following is used:
      @DomainObject(objectType = "XXX", nature = Nature.VIEW_MODEL, editing = Editing.DISABLED)

      It seems a View Model will by default have all mandatory properties ( @Column(allowsNull="false")?), so the class level attribute 'editing = Editing.DISABLED' is useful to suppress that.

        Activity

        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 81a7a462a44f52631019f90ddf49ad4192158ca3 in isis's branch refs/heads/master from Dan Haywood
        [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=81a7a46 ]

        ISIS-1707: suppresses mandatory indicator ("red star") for read-only properties.

        Show
        jira-bot ASF subversion and git services added a comment - Commit 81a7a462a44f52631019f90ddf49ad4192158ca3 in isis's branch refs/heads/master from Dan Haywood [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=81a7a46 ] ISIS-1707 : suppresses mandatory indicator ("red star") for read-only properties.

          People

          • Assignee:
            danhaywood Dan Haywood
            Reporter:
            steve cameron Steve Cameron
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development