You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2017/09/18 07:39:00 UTC

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

     [ https://issues.apache.org/jira/browse/ISIS-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Haywood resolved ISIS-1707.
-------------------------------
    Resolution: Fixed

> 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
>            Assignee: Dan Haywood
>            Priority: Minor
>             Fix For: 1.15.1
>
>
> 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)