launch-body.jsp

来自「OpenWFE是一个开放源码的Java工作流引擎。它是一个完整的业务处理管理套件」· JSP 代码 · 共 80 行

JSP
80
字号
<%@ taglib uri="/tags/struts-bean" prefix="bean" %><%@ taglib uri="/tags/struts-html" prefix="html" %><%@ taglib uri="/tags/struts-logic" prefix="logic" %><%@ taglib uri="/tags/struts-tiles" prefix="tiles" %><%@ page import="openwfe.org.worklist.Launchable" %><%@ page import="openwfe.org.webclient.OwfeSession" %><table border=1 width=980><tr bgcolor=#d3d3d3>    <td><i>url</i></td>    <td><i>engine</i></td>    <td><i>description</i></td>    <td>&nbsp;</td></tr><%    OwfeSession owfeSession = OwfeSession.getOwfeSession(request);    boolean highlight = false;    int index = 0;    java.util.Iterator it = owfeSession.getLaunchables().iterator();    while (it.hasNext())    {	Launchable launchable = (Launchable)it.next();	String link = launchable.getUrl();        if (link.indexOf("/tests/") > -1) continue;	if (highlight)	    out.print("<tr bgcolor=#d5d5d5>");	else	    out.print("<tr>");	highlight = !highlight;	if ( ! launchable.isLaunchItem())	    link = "/droflo/servlet/droflo.action?action=load&edit=false&flowUrl="+link;        link = response.encodeURL(link);        //String onmouseover = "hideDroflo()";        //if ( ! launchable.isLaunchItem())        //    onmouseover = "showDroflo(this, "+index+", '"+link+"')";        index++;%>    <td valign=top><small><a         href="<%= link %>"         title="View flow <%= launchable.getUrl() %> in Droflo display mode"     ><%= launchable.getUrl() %></a></small></td>    <td valign=top><small><%= launchable.getEngineId() %></small></td>    <td><%= launchable.getDefaultDescription() %></td>    <td valign=top align=center><a href=<%= response.encodeURL("/webclient/launch.action?url="+launchable.getUrl()+"@"+launchable.getEngineId()) %> title="Launch flow <%= launchable.getUrl() %> on engine '<%= launchable.getEngineId() %>'">launch</a></td></tr><%    }%><tr>    <td colspan=4 align=right><br>    <a href='<%= response.encodeURL("/webclient/stores.action") %>'>stores</a></td></tr></table></p><!-- demo text --><table border=0 width=980><tr><td>By clicking on the left column, you can have a look at the flows that you can launch.<br><br>Some of the rows are for 'launchitems', these are pre-filled workitems for launching a particular flow.<br><br>Upon clicking <i>launch</i>, you will be presented with a launchitem to edit.</td></tr></table><!-- end demo text -->

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?