⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 delegate-body.jsp

📁 一个工作流设计及定义的系统,可以直接与数据库结合进行系统工作流程的定义及应用.
💻 JSP
字号:
<%@ 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.webclient.OwfeSession" %>

<table border=0 align=center>

<!--
    store targets
-->
<tr><td width=50% valign=top><table border=0 width=100%>

<tr bgcolor=#d3d3d3>
    <td><i>store target</i></td>
</tr>

<%
    OwfeSession owfeSession = OwfeSession.getOwfeSession(request);


    boolean highlight = false;

    java.util.Iterator it = owfeSession.getTargetStoreList().iterator();
    while (it.hasNext())
    {
	String target = (String)it.next();

	if (highlight)
	    out.print("<tr bgcolor=#d5d5d5>");
	else
	    out.print("<tr>");

	highlight = !highlight;

	if (target.equals(owfeSession.getStoreName()))
	{
%>
    <td>- <%= target %></td>
</tr>
<%
	}
	else
	{
%>
    <td>- <a href="/webclient/delegate.action?targetStoreName=<%= target %>"><%= target %></a></td>
</tr>
<%
	}
    }
%>

</table></td>

<!-- 
    participant targets 
-->
<td width=50% valign=top><table border=0 width=100%>

<tr bgcolor=#d3d3d3>
    <td><i>participant target</i></td>
</tr>

<%
    highlight = false;

    it = owfeSession.getTargetParticipantList().iterator();
    while (it.hasNext())
    {

	String target = (String)it.next();

	if (highlight)
	    out.print("<tr bgcolor=#d5d5d5>");
	else
	    out.print("<tr>");

	highlight = !highlight;
%>
    <td>- <a href="/webclient/delegate.action?targetParticipantName=<%= target %>"><%= target %></a></td>
</tr>
<%
    }
%>

</table></td></tr>

<tr>
    <td colspan=2>&nbsp;</td>
</tr>

<tr>
    <td colspan=2 align=center><a href="/webclient/editWorkItem.action">cancel</a></td>
</tr>
</table>
</p>

⌨️ 快捷键说明

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