如何为 primefaces 元素启用 javadoc?
几个月前我开始使用 primefaces,但我找不到一种为 primefaces 启用 javadoc 的方法。现在我想知道是否真的有办法做到这一点以及如何做?
提前致谢, Leo
PS:我正在使用 Netbeans7
I started using primefaces a few months ago, and I couldn'd find out a way to enable javadoc for primefaces. Now I want to know if there's really a way to do that and how to do ?
Thanks in advance,
Leo
PS: I'm using Netbeans7
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
一种方法是通过工具 -> 将源代码和二进制 jar 捆绑到库中。图书馆->新库,然后在您的应用程序中注册该库(右键单击项目 -> 属性 -> 库 -> 添加库)
但是我认为这不会对您有帮助,因为我真的没有看到任何评论在我查看的几个类中,我也没有看到 javadocs jar。因此,您最好的选择可能是用户指南。
One approach would be bundle the source and binary jar into a library via Tools -> Library -> new library and then registering this library in your application (Right click project -> properties -> Libraries -> add Library)
However I don't think this is going to help you, as I don't really see any comments in the few classes that I looked at, nor do I see a javadocs jar. So your best bet is probably the user guide.
此链接(关于 tablib 文档)和此其他链接(关于用户手册)可能会有所帮助。我认为 taglib 文档尚未包含在 JAR 中,但他们的首席开发人员表示将会包含在内。他还表示,用户手册现在是免费的(以前需要 10 欧元)。
此论坛帖子您可能也会感兴趣如果您使用的是 PrimeFaces 3.0-M3-SNAPSHOT 版本。
另一个 Stack Overflow 问题中也讨论了此问题关于旧的 PrimeFaces。
This link (regarding tablib docs) and this other link (regarding user manual) might help. I don't think the taglib documentation is included in the JAR yet, but their lead developer says it will be. He also says that the user manual is now free (used to cost 10 euro).
This forums post may also be of interest to you if you are using a PrimeFaces 3.0-M3-SNAPSHOT release.
This issue was also discussed in another Stack Overflow question about the older PrimeFaces.