0

此代码来自 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>
4

1 回答 1

0

由于至少两个不明显的原因,内部标签无法呈现。在运行时评估期间发生异常的一种。两个声明的 xmlns 需要包含一个名为“taglib”的空文件

于 2010-08-29T04:42:16.143 回答