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.
我很感兴趣如何将虚线显示到p:tree?在本教程中,没有虚线可能唯一的方法是手动添加它。
p:tree
有没有办法添加它?
您可以使用 CSS 选择器来执行此操作。
Primefaces v.2 内部使用 YUI 树视图,因此 CSS 类是相同的 - 它们在此处记录。
Primefaces v.3 我认为使用他们自己的一组 CSS 类作为树视图 - 您可以在文档中找到它们,或者使用例如 Firebug 分析展示示例来找出它们。