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 2018/07/22 09:56:00 UTC

[jira] [Created] (ISIS-1970) JAXB view model: setting class-level editing=enabled not honored

Andi Huber created ISIS-1970:
--------------------------------

             Summary: 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
             Fix For: 2.0.0-M2


{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
(v7.6.3#76005)