Hudson Jelly 文件无法呈现内部标签
这段代码来自 Hudson 插件。问题是该行
<aspen:featureTable support="${it.getLastBuild().getFeatureSupport()}" />
应该呈现到以下脚本内的表中。有谁知道为什么渲染引擎会跳过它?
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<l:layout xmlns:aspen="hudson/plugins/aspen/tags">
<st:include it="${it.project}" page="sidepanel.jelly" />
<l:main-panel>
<h1>${it.project.getName()} : ${it.getLastBuild().getFeatureSupport().getDisplayName()}</h1>
<aspen:featureTable support="${it.getLastBuild().getFeatureSupport()}" />
</l:main-panel>
</l:layout>
</j:jelly>
This Code is from a Hudson plugin. The problem is that the line
<aspen:featureTable support="${it.getLastBuild().getFeatureSupport()}" />
should render to a table inside the following script. does anyone know why it would be skipped over by the rendering engine?
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<l:layout xmlns:aspen="hudson/plugins/aspen/tags">
<st:include it="${it.project}" page="sidepanel.jelly" />
<l:main-panel>
<h1>${it.project.getName()} : ${it.getLastBuild().getFeatureSupport().getDisplayName()}</h1>
<aspen:featureTable support="${it.getLastBuild().getFeatureSupport()}" />
</l:main-panel>
</l:layout>
</j:jelly>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
内部标签由于至少两个非显而易见的原因而无法呈现。
运行时评估期间发生异常的情况。
声明的两个 xmlns 需要包含一个名为“taglib”的空文件
The inner tag fails to render for atleast two non-obvious reasons.
One that an exception has occurred during run time evaluation.
Two the xmlns declared needs to include an empty file called "taglib"