[
https://issues.apache.org/jira/browse/ISIS-1180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15438901#comment-15438901
]
Steve Cameron commented on ISIS-1180:
-------------------------------------
I think it adds an additional aspect, that the setter and getter are then
dealing with different types effectively, through the facade overriding the
getter, by convention, in the UI.
> Make it possible to declare some object type properties display as values only
> ------------------------------------------------------------------------------
>
> Key: ISIS-1180
> URL: https://issues.apache.org/jira/browse/ISIS-1180
> Project: Isis
> Issue Type: Improvement
> Components: Core: Viewer: Wicket
> Affects Versions: 1.9.0
> Reporter: Steve Cameron
> Assignee: Dan Haywood
> Priority: Minor
> Fix For: 1.17.0
>
>
> Essentially this is a suggestion to emulate the <select> tag in HTML, where
> you define as child elements <option> tags, these will have a value and a
> name, the value is the key, the name is what the user sees in the select
> list.
> In Isis its sensible to manage these binary objects in the same way as all
> other persistent entities are, but to display the selected value simply as
> text and not as a link.
> By defining these types using another DomainObject category they can be used
> via an injected domain service (maybe:
> @DomainService(nature=NatureOfService.REFERENCE).
> A possible further enhancement is to have the capacity for nesting of these
> types. This would then provide for classification hierarchies to be defined
> and used. When sending messages to external systems often such systems define
> catalogues in a hierarchical manner, often provided as XML, building a
> message requires navigating the hierarchy to find a specific item (leaf
> node). This suggestion is aimed to provide a means of injesting such XML into
> Apache Isis, maybe after some simple XSLT transformation.
> Such data is usually very static and of small quantity, so it can be loaded
> once into a singleton and kept in global memory.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)