Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在页面上显示很多布尔值作为带有标签的复选框。对于其中一些,“复选框对象”本身可以包含其他几个子级别的复选框。
因此,我想将它们显示为某种树:选择具有子框的复选框时,只能显示它们。当取消选择最上面的复选框时,所有嵌套的框/条目都应该消失。
我如何使用 JSF 或 GWT 实现这一点?
谢谢
This seems a typical usage of the GWT CellTree, take a look to the ShowCase example.