Re: Extending viewer to add KendoUI Grid component

2017-07-22 Thread Dan Haywood
Hi Jayesh,

in case it's not obvious, there are two different APIs you need to wrap
your head around.
(1) Isis using Wicket components
(2) Wicket components wrapping Javascript components.

So, the Wicket JQuery UI that Martin mentions [1], takes care of (2).  Note
that Isis 1.14.0 uses Wicket 6.x, while Isis 1.15.0-SNAPSHOT uses Wicket 7.x

For (1), you need  to implement the appropriate Isis APIs, namely
ComponentFactory.  You should find that the fullcalendar2 add-on [2] or
gmap3 add-on [3] helpful... See also our docs [4]

Finally, note that we also have a JIRA ticket [5] to integrate
Datatables.net [6].  This isn't quite as full-featured as the KendoUI one,
but is for the most part open source.  There is a Wicketstuff integration
for this [7] (taking care of responsibility (2)) ... we use Wicketstuff
elsewhere within Isis' Wicket viewer already.  So, you might instead want
to tackle that existing ticket.

HTH
Dan




[1] https://github.com/sebfz1/wicket-jquery-ui
[2] https://github.com/isisaddons/isis-wicket-fullcalendar2
[3] https://github.com/isisaddons/isis-wicket-gmap3
[4]
http://isis.apache.org/guides/ugvw/ugvw.html#_ugvw_extending_replacing-page-elements

[5] https://issues.apache.org/jira/browse/ISIS-1473
[6] https://datatables.net/
[7] https://github.com/wicketstuff/core/wiki/DataTables

On Sat, 22 Jul 2017 at 07:11 Martin Grigorov  wrote:

> Hi,
>
> It should be relatively easy to do.
> You could use Wicket JQuery UI library. It provides Wicket integration with
> many Kendo UI components.
>
> From Isis side you'll have to override the mappings for the tables related
> ComponentType's.
>
> Martin
>
> On Jul 22, 2017 8:58 AM, "Jayesh Prajapati"  wrote:
>
> Hi Support,
>
> I want to replace existing table component or add new component to
> represent collection in Kendo UI Grid. See below for demo of this component
> - http://demos.telerik.com/kendo-ui/grid/excel-export
>
> I am following instructions of extending viewer for the same but I am
> fairly newbie to this.
>
> I want to understand how difficult or easy it would be to add isis addon or
> custom cpt for this need.
>
> Cheers,
> Jayesh
>


Re: Extending viewer to add KendoUI Grid component

2017-07-22 Thread Jayesh Prajapati
Hi Martn,

Thank you for quick response. This gives me lot of confidence in the
direction I am progressing. I will explore this further.

Cheers,
Jayesh

On Sat, Jul 22, 2017 at 11:41 AM, Martin Grigorov 
wrote:

> Hi,
>
> It should be relatively easy to do.
> You could use Wicket JQuery UI library. It provides Wicket integration with
> many Kendo UI components.
>
> From Isis side you'll have to override the mappings for the tables related
> ComponentType's.
>
> Martin
>
> On Jul 22, 2017 8:58 AM, "Jayesh Prajapati"  wrote:
>
> Hi Support,
>
> I want to replace existing table component or add new component to
> represent collection in Kendo UI Grid. See below for demo of this component
> - http://demos.telerik.com/kendo-ui/grid/excel-export
>
> I am following instructions of extending viewer for the same but I am
> fairly newbie to this.
>
> I want to understand how difficult or easy it would be to add isis addon or
> custom cpt for this need.
>
> Cheers,
> Jayesh
>


Re: Extending viewer to add KendoUI Grid component

2017-07-22 Thread Martin Grigorov
Hi,

It should be relatively easy to do.
You could use Wicket JQuery UI library. It provides Wicket integration with
many Kendo UI components.

>From Isis side you'll have to override the mappings for the tables related
ComponentType's.

Martin

On Jul 22, 2017 8:58 AM, "Jayesh Prajapati"  wrote:

Hi Support,

I want to replace existing table component or add new component to
represent collection in Kendo UI Grid. See below for demo of this component
- http://demos.telerik.com/kendo-ui/grid/excel-export

I am following instructions of extending viewer for the same but I am
fairly newbie to this.

I want to understand how difficult or easy it would be to add isis addon or
custom cpt for this need.

Cheers,
Jayesh