IIRC, the static TreeView is based on the underlying HTML, therefore no
call is made to [lazy]load the content.
About the generated content tree (lazy mode), I guess it can be retrieve by
an HTML id.

This page will be interesting for you:
http://docs.telerik.com/kendo-ui/intro/widget-basics/wrapper-element

Hope this help,
Sebastien


On Wed, Nov 23, 2016 at 11:09 AM, Manfred Bergmann <[email protected]>
wrote:

> Martin Grigorov-4 wrote
> > On Wed, Nov 23, 2016 at 10:49 AM, Manfred Bergmann &lt;
>
> > mb@
>
> > &gt;
> > wrote:
> >
> >> An interesting thing is that when I tell the browser to show me the html
> >> source of the page (a page with only the AjaxTreeView).
> >> Then I just see this in the body:
> >>
> > <body>
> >>
> > <div>
> >>
> > <div id="treeview1">
> > </div>
> >>
> > </div>
> >>
> > </body>
> >>
> >> Even though I can see the tree nodes are displayed.
> >>
> >> When using the examine element function of the browser (Firefox) I
> >> suddenly
> >> see the tree nodes as
> > <li>
> >  list elements in the inspector.
> >> Can somebody explain what's happening there?
> >>
> >
> > This is how JavaScript applications work.
> > The server (Wicket in current case) generates part of the final HTML.
> > Once loaded in the browser (i.e. on domready) the JS takes over and
> > generates the rest.
>
> OK, yeah.
> That means it's practically not possible to unit-test the correct
> rendering?
> I could the use the static TreeView approach.
> But does it support lazy loading of tree node?
>
>
>
> Manfred
>

Reply via email to