简体   繁体   English

JSF中的树组件

[英]Tree component in JSF

What is a good tree component in JSF. JSF中什么是好的树组件。 I also want the user to be able to select one (using radiobutton) or more than one node (using checkboxes) from that tree component. 我还希望用户能够从该树组件中选择一个(使用单选按钮)或多个节点(使用复选框)。 Is there any existing component that meets my need? 是否有符合我需求的现有组件?

thanks Vikas 谢谢Vikas

I've used many of the rich faces components and they all work very well. 我已经使用了许多富有面孔的组件,它们都运行良好。 Easy to implement as well. 易于实施。 Have a look at http://livedemo.exadel.com/richfaces-demo/richfaces/tree.jsf 看看http://livedemo.exadel.com/richfaces-demo/richfaces/tree.jsf

Just search for your component from the component based frameworks available here . 只需从此处提供的基于组件的框架中搜索您的组件即可。 I have seen tree components developed by ICEFaces. 我见过ICEFaces开发的树组件。 Not sure whether it specifically addresses your needs of using radio/checkbox with tree. 不确定它是否专门满足您使用树的无线电/复选框的需要。 Neverthless the demo url available in the above link will help you decide. 无论上面链接中提供的演示URL都可以帮助您做出决定。

Note: I havent used these frameowrks to write production code. 注意:我没有使用这些frameowrk来编写生产代码。 So you also need to check for performace issues related to each of these frameworks before choosing one. 因此,在选择框架之前,您还需要检查与每个框架相关的性能问题。

请访问我的博客http://blog.jvsystem.pl - richfaces树组件 - 有一个简单的教程如何在richfaces中创建树。

You can try myFaces Tree component if you are using this library in your application. 如果在应用程序中使用此库,则可以尝试myFaces Tree组件。 Other option is rich faces tree. 其他选项是富脸树。

There might be more if you google for better and suitable option for your need. 如果你谷歌更好和适合您的需要可能会有更多。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM