isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Haywood <>
Subject Re: Displaying Chart in HomePage
Date Sat, 07 Mar 2015 10:34:25 GMT
Isis basically just invokes the action that is annotated with @HomePage.
This action could return anything... a scalar, a list of objects, a single
entity, a view model, and it'll be rendered as normal.

Most likely you should create a view model for your dashboard, and have the
@HomePage action return that.  The todoapp in isisaddons uses this
technique [1]

There's then a separate but related question of how to have the view model
render the charts in the way that you want (eg using our Wicket
ComponentFactory API).... but I'm not sure if that's the question you're



On 7 March 2015 at 10:27, sunand p <> wrote:

> Hi All,
> Is there a way to render a chart in the Dashboard (Home Page) instead of
> having it as an action and then rendering a chart. I know that there is
> limitation in scalar charts when attached to an entity but how about in a
> Home Page?
> Any suggestions?
> - Sunand

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