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.

        Attachments

          Activity

            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: