You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Steve Cameron (JIRA)" <ji...@apache.org> on 2017/08/29 23:02:00 UTC

[jira] [Created] (ISIS-1707) Suppress mandatory red-star on read-only properties

Steve Cameron created ISIS-1707:
-----------------------------------

             Summary: Suppress mandatory red-star on read-only properties
                 Key: ISIS-1707
                 URL: https://issues.apache.org/jira/browse/ISIS-1707
             Project: Isis
          Issue Type: Improvement
          Components: Core: Viewer: Wicket
    Affects Versions: 1.15.0
            Reporter: Steve Cameron
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)