You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@isis.apache.org by Hector Fabio Meza <he...@smartools.com.co> on 2016/11/10 06:40:02 UTC
Is it possible to link to an action that returns a list?
I have a use case where it's required to link to a list page . I know
that a specific entity can be linked to but I've been unable to link to
a List All page.
The url seems to change every time I click on the menu.
Is this possible?
Re: Is it possible to link to an action that returns a list?
Posted by Jeroen van der Wal <je...@stromboli.it>.
A workaraound would be a to create viewmodel which embeds this list and
link to that.
On 10 November 2016 at 08:13, Dan Haywood <da...@haywood-associates.co.uk>
wrote:
> Not currently (there is a ticket for this, I think) but there is a
> workaround.
>
> That workaround is to define a view model which has a regular parented
> collection (this could itself be a Mixin)... similar to the
> HomepageViewModel within the simpleapp archetype.
>
> If the view model implements the ViewModel interface then the URL will be
> fixed.
>
> HTH,
> Dan
>
> On 10 Nov 2016 06:40, "Hector Fabio Meza" <he...@smartools.com.co>
> wrote:
>
> I have a use case where it's required to link to a list page . I know
> that a specific entity can be linked to but I've been unable to link to
> a List All page.
>
> The url seems to change every time I click on the menu.
>
> Is this possible?
>
Re: Is it possible to link to an action that returns a list?
Posted by Dan Haywood <da...@haywood-associates.co.uk>.
Not currently (there is a ticket for this, I think) but there is a
workaround.
That workaround is to define a view model which has a regular parented
collection (this could itself be a Mixin)... similar to the
HomepageViewModel within the simpleapp archetype.
If the view model implements the ViewModel interface then the URL will be
fixed.
HTH,
Dan
On 10 Nov 2016 06:40, "Hector Fabio Meza" <he...@smartools.com.co>
wrote:
I have a use case where it's required to link to a list page . I know
that a specific entity can be linked to but I've been unable to link to
a List All page.
The url seems to change every time I click on the menu.
Is this possible?