You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Andi Huber (Jira)" <ji...@apache.org> on 2020/02/21 11:35:00 UTC
[jira] [Closed] (ISIS-1970) JAXB view model: setting class-level
editing=enabled not honored
[ https://issues.apache.org/jira/browse/ISIS-1970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andi Huber closed ISIS-1970.
----------------------------
Resolution: Fixed
fixed by adding a new facet type to the meta-model
> JAXB view model: setting class-level editing=enabled not honored
> ----------------------------------------------------------------
>
> Key: ISIS-1970
> URL: https://issues.apache.org/jira/browse/ISIS-1970
> Project: Isis
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0.0-M1
> Reporter: Andi Huber
> Assignee: Andi Huber
> Priority: Major
> Fix For: 2.0.0-M3
>
>
> {code:java}
> @XmlRootElement(name = "Demo")
> @XmlType
> @XmlAccessorType(XmlAccessType.FIELD)
> @DomainObject(nature=Nature.VIEW_MODEL, editing=Editing.ENABLED)
> public class TextDemo {
>
> // -- EDITABLE
>
> @Property(editing=Editing.ENABLED) // this should not be required, as its already defined above
> @XmlElement @Getter @Setter private String string;
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)