You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by mi...@xup.nl on 2012/09/24 16:00:37 UTC

how to create a dedicated list view

Hi Folks,

Currently my application has a number of entities. Navigating between  
this entities in the wicket viewer works quite well.

Now I have a requirement to show a special view (list/table). This  
view is actually just a list showing 3 fields from 2 entities (let's  
call them X and Y). 1 fields should show the title of X and the other  
2 fields should show the title of Y and 1 specific fields.

Of course when selecting an entry in this list I have to navigate to  
the specific entity instance.

How can I establish this kind of view in Isis?

Regards,

Minto

Re: how to create a dedicated list view

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
What you need to do here is to register your own ComponentFactory for this
collection of entities.  You could make this specific to the class, or use
a marker interface, or annotation, or whatever you choose.

You register using the ComponentFactoryRegistrar (or something like).

I'll give you more complete details when I get a chance later
today/tomorrow.

Dan


On 24 September 2012 15:00, <mi...@xup.nl> wrote:

> Hi Folks,
>
> Currently my application has a number of entities. Navigating between this
> entities in the wicket viewer works quite well.
>
> Now I have a requirement to show a special view (list/table). This view is
> actually just a list showing 3 fields from 2 entities (let's call them X
> and Y). 1 fields should show the title of X and the other 2 fields should
> show the title of Y and 1 specific fields.
>
> Of course when selecting an entry in this list I have to navigate to the
> specific entity instance.
>
> How can I establish this kind of view in Isis?
>
> Regards,
>
> Minto
>