JSTL_EL__标签Jsp_页面处理

<html:select property="clerkId" value="${task.employeeByClerkId.empId}">
				<option value="0">--请选择员工--</option>
					<logic:present name="empList">
						<html:options collection="empList" property="empId" labelProperty="empName"/>
					</logic:present>
				</html:select>
 
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="../WEB-INF/c.tld" prefix="c"%>
<%@ taglib uri="../WEB-INF/struts-html.tld" prefix="html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>任务详细信息</title>
</head>
<body>
	<form id="formModel" action="task/planMessage.do" method="GET">
        <fieldset>
        <legend> 任务详细信息 </legend>
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="fistTable">
          <tr>
            <td class="f_th">任务名称</td>
            <td colspan="3" class="f_td">${task.taskName }</td>
          </tr>
          <tr height="50px">
            <td class="f_th">任务描述</td>
            <td colspan="3" class="f_td">${task.taskExplain }</td>
          </tr>
          <tr>
            <td class="f_th">开始时间</td>
            <td class="f_td">${task.startTime }</td>
            <td class="f_th">结束时间</td>
            <td class="f_td">${task.endTime }</td>
          </tr>
          <tr>
            <td class="f_th">实际开始时间</td>
            <td class="f_td">${task.realStart }</td>
            <td class="f_th">实际结束时间</td>
            <td class="f_td">${task.realEnd }</td>
          </tr>
          <tr>
            <td class="f_th">实施人</td>
            <td class="f_td">${task.employeeByClerkId.empName }</td>
            <td class="f_th">实施状态</td>
            <td class="f_td"><c:choose>
            		<c:when test="${task.taskState == 'A'}">未实施</c:when>
            		<c:when test="${task.taskState == 'B'}">实施中</c:when>
            		<c:when test="${task.taskState == 'C'}">已实施</c:when>
            		<c:otherwise></c:otherwise>
            	</c:choose></td>
          </tr>
        </table>
	  </fieldset>
     
      <fieldset>
        <legend> 实施计划 </legend>
         <span><font color="red">${err_paramIsEmpty }</font></span>
           <table class="fistTable" width="100%" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <th>计划名称</th>
                <th>完成状态</th>
                <th>是否反馈</th>
                <th>开始时间</th>
                <th>结束时间</th>
                <th>操作</th>
              </tr>
              <c:forEach var="plan" items="${planList}">
              	<tr>
	                <td>${plan.planName }</td>
	                <td><c:choose>
	                		<c:when test="${plan.planState == 'Y'}">已完成</c:when>
	                		<c:when test="${plan.planState == 'N'}">未完成</c:when>
	                		<c:otherwise></c:otherwise>
	                	</c:choose></td>
	                <td><c:choose>
	                		<c:when test="${plan.RState == 'Y'}">已反馈</c:when>
	                		<c:when test="${plan.RState == 'N'}">未反馈</c:when>
	                		<c:otherwise></c:otherwise>
	                	</c:choose></td>
	                <td>${plan.startTime }</td>
	                <td>${plan.endTime }</td>
	                <td><input type="radio" name="planId" value="${plan.planId}" /></td>
              	</tr>
              </c:forEach>
            </table>
        </fieldset>
        <input type="hidden" value="${task.taskId }" name="taskId"/>
         <div id="messageButton"><span><html:link page="/task/showTask.do"><input type="button" value="返回" class="buttonmodel"/></html:link>&nbsp;&nbsp;&nbsp;<input type="submit" value="详细信息" class="buttonmodel"/></span></div>
      </form>
</body>
</html>
 
	<html:form action="/saveRidio">
  	 用户名:<html:text property="userName"/><br>
  	     <p>漫游状态: 
  	
  	<logic:iterate id="state" name="list">
  		<html:radio property="states" value="${state.code}"></html:radio>
  		${state.name }
  		
  	</logic:iterate>     
  	     
  	     </p>
    </html:form>
 
 	<html:form action="/showCheckBox">
     请选择裁撤的部门:
     <logic:iterate id="dept" name="deptForm" property="allDepts">
     
     	<html:multibox property="selectedDepts">
     		${dept.id }
     	</html:multibox>
     	${dept.name }
     </logic:iterate>
       
     
     </html:form>
 

你可能感兴趣的:(html,C++,c,jsp,C#)