You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Martijn Dashorst <ma...@gmail.com> on 2015/08/20 14:56:11 UTC

Wicket TreeTable issue with 7.0

All,

I'm in the middle of trying to figure out why the old, deprecated,
wicket treetable doesn't work anymore. It is a shame we moved it out
of the way because it is a great trigger for regressions.

In this particular instance I'm running into the case where opening a
treetable item does render the sub-nodes, but doesn't bind any AJAX
behaviors to the Ajax components. i.e. the AJAX envelope doesn't
contain the bindings for the ajax links. [1]

I've crafted a test case that illustrates this behavior:

https://github.com/wicketstuff/wicket1.5-tree/blob/2616384c4333e9770b6671bc78d15edef72d0788/src/test/java/org/apache/wicket/extensions/markup/html/tree/TreeTablePageTest.java

While it is entirely possible that the tree table is doing something
very funky (it is deprecated after all), I find it troubling that
Wicket is able to render the ajax links, but fails to bind the AJAX
event handlers.

It is my intention to debug this further but currently I'm a stuck in
other issues and was hoping that someone might have an insight, or
know if something was changed or a similar bug was found previously.

Martijn

[1] https://github.com/wicketstuff/wicket1.5-tree/issues/3