isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeroen van der Wal <jer...@stromboli.it>
Subject Re: Derived property rendered in a 1:1 association
Date Wed, 22 Mar 2017 16:44:27 GMT
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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message