提交 d793a302 编写于 作者: K kohsuke

adding transient action support.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6674 71c3de6d-444a-0410-be80-ed276b4c234a
上级 79c07e35
......@@ -1291,6 +1291,12 @@ public final class Hudson extends View implements ItemGroup<TopLevelItem>, Node,
threadPoolForLoad.shutdown();
}
public Object getDynamic(String token, StaplerRequest req, StaplerResponse rsp) {
for (Action a : getActions())
if(a.getUrlName().equals(token))
return a;
return null;
}
//
......
......@@ -16,6 +16,7 @@
<l:task icon="images/24x24/user.gif" href="${rootURL}/people/" title="${%People}" />
</j:if>
<st:include page="sidepanel2.jelly" />
<t:actions />
</l:tasks>
<t:queue items="${app.queue.items}" />
<t:executors />
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册