<td align="Left">
<a href="javascript:parent.detail('taskDetail.jsp?id=<bean:write name='Wf' property='id' />');">
<bean:write name="Wf" property="subject" />
</a>
</td>它在页面上显示的是:
比如:<bean:write name="Wf" property="subject" />的内容是:“大风车”<td align="Left">
大风车
</td>
<a href="javascript:parent.detail('taskDetail.jsp?id=<bean:write name='Wf' property='id' />');">
<bean:write name="Wf" property="subject" />
</a>
</td>它在页面上显示的是:
比如:<bean:write name="Wf" property="subject" />的内容是:“大风车”<td align="Left">
大风车
</td>
解决方案 »
- 求教动态表关联 急!!
- JavaBean读取数据,从txt文件读取速度快还是从数据库读取速度快?
- jsp的page指令属性ContentType和pageEncoding他两个有什么区别
- 请问Uportal如何以WEB工程的结构部署到Eclipse里面
- struts 中如果jsp不使用标签可以不?这个时候 actionform如何编写?
- 请教时间比较的问题
- 各位老大,推荐一本wap开发的好书,多谢了
- 请教struts1x的dispatchAction问题
- 怎样把数据结果生成一个图片!??
- 问一个很菜很菜很菜的问题
- Tomcat除了设置URIEncoding="utf-8"属性外,还有其他方法可以在地址栏输入中文吗?
- Hibernate 延迟加载问题 很请各位大侠们都来看看啊!~~~~
<form id="Form1" method="post">
<input type="button" id="btnReloadDG" style="DISPLAY:none" />
<TABLE id="Table2" style="TABLE-LAYOUT: fixed" cellSpacing="0"
cellPadding="0" width="100%" border="0">
<TBODY>
<TR>
<TD vAlign="bottom" width="367">
<table class="ooih" border="0" cellspacing="0" cellpadding="0"
width="400" height="19">
<tr>
<td class="ooihj" nowrap onclick="ghbq(this)">
进行中
</td>
<td class="ooihs" nowrap onclick="ghbq(this)">
已超期
</td>
<td class="ooihs" nowrap onclick="ghbq(this)">
未开始
</td>
<td class="ooihs" nowrap onclick="ghbq(this)">
已完成
</td>
<td class="ooihs" nowrap onclick="ghbq(this)">
所有任务
</td>
<td class="ooihs" nowrap onclick="ghbq(this)">
管理我安排的任务
</td>
<td class="ooihx" width="100%">
</td>
</tr>
</table>
</TD>
<TD class="searchtd">
<img src="images/find.gif" style="cursor:hand" alt="查找"
onclick="document.getElementById('divSearch').style.display='inline';this.style.display='none';" />
<div id="divSearch" style="display:none">
<!-- 隐藏的查找,单击后出现; -->
<select name="fields">
<option value="main">
标题
</option>
<option value="title">
内容
</option>
<option value="author">
发布人
</option>
<option value="tType">
类型
</option>
<option value="isImpo">
重要性
</option>
</select>
<input type="text" name="keyWord" size="10" alt="请输入关键字" />
<input type="image" src="images/find.gif" />
<input type="image" src="images/restore.gif" />
</div>
</TD>
</TR>
<TR>
<td
style="padding:17px 3px 3px;BORDER: #ccc 1px solid; BORDER-top: #ccc 0 solid;BACKGROUND: white"
colSpan="2">
<%
//第一要查询的进行中的任务,第二要查询的是超期的任务
//第三要查询的是未开始的任务,第四是要查询已完成的任务
//第五要查询的是所有的任务,第六要查询的是自己安排的任务 // 需要得到当前登录用户的id ApplicationContext context = WebApplicationContextUtils
.getRequiredWebApplicationContext(this.getServletConfig()
.getServletContext());
//修改日期格式
//做第一个标签需要显示的内容
WfDAO dao = (WfDAO) context.getBean("WfDAO");
List list1 = dao.getAllIng();
%>
<table class="ooib" id="obody" cellspacing="0" cellpadding="0"
width="100%" border=1>
<tr>
<td>
<%
if (!list1.isEmpty()) {
int i=0;
Wf wf = new Wf();
%>
<table style="border-right: 1px none #CCCCCC;border-top: 1px none #CCCCCC;border-left: 1px none #CCCCCC;border-bottom: 1px none #CCCCCC;BACKGROUND: white"
width="100%" border=1 cellspacing="0" cellpadding="0">
<tr align="Center" valign="middle" style="color:Black;background-color:#F3F3F3;height:22px;">
<td nowrap="nowrap" style="width:7%;">
任务来源
</td>
<td style="width:50%;">
任务主题
</td>
<td nowrap="nowrap" style="width:17%;">
开始时间
</td>
<td nowrap="nowrap" style="width:17%;">
计划完成时间
</td>
<td nowrap="nowrap" style="width:7%;">
重要性
</td>
<td nowrap="nowrap" style="width:2%;">
状态
</td>
</tr>
<!-- 具体内容 -->
<logic:iterate id="Wf" collection="<%=list1%>">
<%
wf = (Wf)list1.get(i);
i++;
%>
<tr align="Center" valign="Middle" onMouseOver="mon(this);"
onMouseOut="mout(this);" style="color:#001222;height:23px;">
<td>
<span class='self'> <bean:write name="Wf"
property="users" /> </span>
</td>
<td align="Left">
<a href="javascript:parent.detail('taskDetail.jsp?id=<bean:write name='Wf' property='id' />');">
<bean:write name="Wf" property="subject" /></a>
</td>
<td nowrap="nowrap">
<%=wf.getStartTime().substring(0,15)%>
</td>
<td nowrap="nowrap">
<%=wf.getEndTime().substring(0,15)%>
</td>
<td nowrap="nowrap">
<bean:write name="Wf" property="importLev" />
</td>
<td nowrap="nowrap">
<logic:equal name="Wf" property="edited" value="1">
<img src="images/over.gif" alt="已经完成" />
</logic:equal>
<logic:equal name="Wf" property="edited" value="0">
<img src="images/ing.gif" alt="进行中" />
</logic:equal>
</td>
</tr>
</logic:iterate>
</table>
<%
} else {
%>
<table class="ooib" id="obody" cellspacing="0" cellpadding="0" height="50"
width="100%" border="0"
style="border-right: 1px none #CCCCCC;border-top: 1px none #CCCCCC;border-left: 1px none #CCCCCC;border-bottom: 1px none #CCCCCC;BACKGROUND: white">
<tr>
<td>
<center>
<img src='images/info.gif' />
暂无此类任务!
</center>
</td>
</tr>
</table>
<%
}
%>
</td>
</tr>下面还有,都是些重复的了,其功能要求的是在不同的tab 下面去显示不同的内容