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

Suppress mandatory red-star on read-only properties

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.15.0
    • 1.15.1
    • Viewer Wicket
    • 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

            danhaywood Daniel Keir Haywood
            steve cameron Steve Cameron
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: