Netbeans 中的 Tapestry TML 文件代码完成功能不起作用

发布于 2024-12-01 08:43:29 字数 724 浏览 4 评论 0原文

我正在学习 Apache Tapestry,但无法让 Netbeans 的自动完成功能正常工作。

我正在使用命名空间

xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"

,但是当鼠标悬停在“找不到此命名空间的库” 上时,Netbean 显示错误。

并且自动完成功能将不起作用。我希望 Netbeans 在我键入时显示 Tapestry 组件列表

<t:

我还从 https://github.com/downloads/exanpe/tapestry-tldgen/t5.2.5.tld 到我的项目

src\META-INF

,但不起作用。

虽然尝试了来自 Netbeans bug 页面的 Facelet-taglib 并且它工作正常,但不是自定义的。

我还将模式添加到 DTD & Netbeans 的 XML 但没有什么乐趣。

关于如何让它发挥作用有什么想法吗?

亲切的问候,

泽罗内

I am learning Apache Tapestry, but can't get Netbeans' autocomplete to work.

I am using namespace

xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"

But Netbean show error on mouse over "No library found for this namespace".

And the auto complete feature won't work. I want Netbeans to show me list of Tapestry components when I type

<t:

I have also copied tapestry taglib from https://github.com/downloads/exanpe/tapestry-tldgen/t5.2.5.tld to my project's

src\META-INF

but doesn't work.

Though tried facelet-taglib from Netbeans bug page and it works fine, but not the custom one.

I also added the schema to DTD & XML of Netbeans but no joy.

Any idea on how I can get it to work?

kind regards,

Zerone

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文