DefaultTreeModel and Wicket Tree: setAsksAllowsChildren doesn't work

后端 未结 4 785
萌比男神i
萌比男神i 2021-01-24 08:49

I\'m using Wicket\'s Tree component in a web app. But empty folders are shown in a file-way. Just like this: \"enter

4条回答
  •  难免孤独
    2021-01-24 09:04

    Which Wicket version are you using? The old tree implementation is deprecated in 6.x and removed in 7.x, so you should use the new implementation in package org.apache.wicket.extensions.markup.html.repeater.tree - it is no longer based on the Swing classes.

提交回复
热议问题