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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16169701#comment-16169701 ] 

ASF subversion and git services commented on ISIS-1707:
-------------------------------------------------------

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

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


> 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)