isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From L Eder <eder200...@gmail.com>
Subject Re: Derived property rendered in a 1:1 association
Date Fri, 24 Mar 2017 19:42:28 GMT
Thank you people, you are correct. It worked as expected, Eder

2017-03-22 15:58 GMT-04:00, Kevin Meyer <kevin@kmz.co.za>:
> Thanks Jeroen,
> That's what I was going to suggest.
>
>
> On 22 March 2017 17:44:27 CET, Jeroen van der Wal <jeroen@stromboli.it>
> wrote:
>>Maybe change the title?
>>
>>public class Child {
>>    public String title() {
>>        return getProp1()+getProp2();
>>    }
>>    ....
>>}
>>
>>On 22 March 2017 at 15:53, L Eder <eder2007np@gmail.com> wrote:
>>
>>> Hi members:
>>>
>>> i have this:
>>>
>>> Child class:
>>>     String prop1;
>>>     String prop2;
>>>
>>> and
>>>
>>> Parent class:
>>>     private SortedSet<Child> collec = new TreeSet<Child>();
>>>     public Parent add (final Child child) {...}
>>>
>>> How can i have prop1 + prop2 rendered when add() is executed?
>>> Currently is prop1 the one being, by default, rendered in the Add
>>> dialog's child drop-down control.
>>>
>>> Thanks in advance, Eder
>>>
>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.

Mime
View raw message