Then, all the Kendo UI examples I have seen initialize the page components
in the page constructor.
I am used to do this in the onInitialize method, because I thought that's
what it is for.
I assume it doesn't matter much technically, but why the constructor?

>From the #onInitialize javadoc:
This method is meant to be used as an alternative to initialize components.
Usually the component's constructor is used for this task, but sometimes a
component cannot be initialized in isolation, it may need to access its
parent component or its markup in order to fully initialize




On Mon, Nov 21, 2016 at 11:58 AM, Sebastien <seb...@gmail.com> wrote:

> Hi Manfred,
>
> jQuery(...).kendoTreeView is not a function
>
> Kendo UI Tree View is part of the commercial version, you need to get
> kendo.all.min.js from kendo site (for evalutation purpose) and change the
> resource reference (see the wiki on github).
>
> Best regards,
> Sebastien
>
> On Mon, Nov 21, 2016 at 11:32 AM, Manfred Bergmann <
> m...@software-by-mabe.com> wrote:
>
>> Hi.
>>
>> I'm currently getting into Kendo UI.
>> I've setup a page with a basic BorderLayout, pretty much a master/detail
>> view.
>>
>> In the master view I'd like to put an Kendo UI AjaxTreeView component.
>> Because the tree can be quite deep and I want to lazily expand and load
>> the
>> tree as needed.
>> I've added the tree component as a <div/>, as in the example.
>> For the model I'm just using three 3 root nodes.
>> Pretty straight forward.
>> But for some reason it doesn't render correctly. The borderlayout get's
>> screwed up where the horizontal areas are listed vertically.
>> And there is a JavaScript error:
>> main;jsessionid=1uynkuymym2pn1owov5b7xer07?0:21 Uncaught TypeError:
>> jQuery(...).kendoTreeView is not a function
>>     at HTMLDocument.<anonymous>
>>
>> Any idea what the problem might be?
>>
>>
>> Then, all the Kendo UI examples I have seen initialize the page components
>> in the page constructor.
>> I am used to do this in the onInitialize method, because I thought that's
>> what it is for.
>> I assume it doesn't matter much technically, but why the constructor?
>>
>>
>> Cheers,
>> Manfred
>>
>> --
>> View this message in context: http://apache-wicket.1842946.n
>> 4.nabble.com/Kendo-UI-treeview-in-borderlayout-tp4676222.html
>> Sent from the Users forum mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>

Reply via email to