You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@isis.apache.org by Dan Haywood <da...@haywood-associates.co.uk> on 2014/12/12 10:02:52 UTC

Re: layout of entities from Settings module

Hi Eric,

Sorry not to get back to you on this.  Anyway, the solution is to annotate
the action with @TypeOf(...).  Here's what Estatio does:

        @TypeOf(ApplicationSettingForEstatio.class)
        @MemberOrder(name = "Administration", sequence = "2")
        public List<ApplicationSetting> listAllSettings() {
            return settingsService.listAll();
        }

Hope that makes sense.

Dan



On 17 November 2014 at 13:07, Erik de Hair <er...@pocos.nl> wrote:

> Hi,
>
> When I do a call to ApplicationSettingsServiceJdoHidden.listAll() from a
> ViewModel it does list all the settings from the database, but only with
> the cube icon in front. I can't see any of its fields. I tried adding
> json-files for the right entities with no effect. Any idea?
>
> Erik<ma...@pocos.nl>
>