提交 e862b497 编写于 作者: K kohsuke

expose 'descriptor' and 'instance' variable to fragments.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@32046 71c3de6d-444a-0410-be80-ed276b4c234a
上级 83551a7d
......@@ -40,13 +40,14 @@ THE SOFTWARE.
<script>$('name').focus();</script>
</s:entry>
<j:forEach var="d" items="${descriptors}">
<j:forEach var="descriptor" items="${descriptors}">
<s:block>
<input type="radio" name="mode" value="${d.class.name}" onchange="updateOk(this.form)" onclick="updateOk(this.form)" />
<input type="radio" name="mode" value="${descriptor.class.name}" onchange="updateOk(this.form)" onclick="updateOk(this.form)" />
<st:nbsp/>
<label class="attach-previous"><b>${d.displayName}</b></label>
<label class="attach-previous"><b>${descriptor.displayName}</b></label>
</s:block>
<s:entry>
<st:set var="instance" value="${descriptor}" />
<st:include page="${d.newInstanceDetailPage()}" from="${d}" optional="true"/>
</s:entry>
</j:forEach>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册