isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Meyer <ke...@kmz.co.za>
Subject Re: Derived property rendered in a 1:1 association
Date Wed, 22 Mar 2017 19:58:36 GMT
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
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message