테스트용 코드관리 모듈 개발 #4 목록화면 : Struts2 + iBATIS is Sample
반응형
<%@ page contentType="text/html; charset=utf-8" %> <%@ taglib prefix="s" uri="/struts-tags" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="ko" xml:lang="ko" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="imagetoolbar" content="no" /> <title>Struts2 + iBatis</title> <script src="/xf/common/js/action.js" type="text/javascript"></script> <link media="all" charset="UTF-8" type="text/css" href="/xf/common/css/default.css" rel="stylesheet" /> </head> <body> <!-- // begin contents --> <div class="board"> <form class="boardListForm" id="form_list" action="?"> <table class="boardList" border="0" cellspacing="0"> <thead> <tr> <th scope="col">코드ID</th> <th scope="col">코드명</th> <th class="title" scope="col">코드설명</th> <th scope="col">생성일</th> <th scope="col">사용여부</th> <th scope="col">기능</th> </tr> </thead> <tbody> <s:iterator value="codeList"> <tr class="taCenter"> <td><s:property value='code_id' /></td> <td><a href="/xf/code/CodeAdmin.xf?mod=input&code.code_id=<s:property value='code_id' />"><s:property value='code_title' /></a></td> <td class="title taLeft"><s:property value='code_comment' /></td> <td><s:date name="code_rdate" format="yyyy.MM.dd" /></td> <td><s:property value='code_use' /></td> <td><a class="button" href="/xf/code/CodeAdmin.xf?mod=delete&code.code_id=<s:property value='code_id' />"><span>삭제</span></a></td> </tr> </s:iterator> </tbody> </table> </form> <div class="boardNavigation"> <div class="buttonArea fLeft"><a class="button" href="?<s:property value='%{globals.getParameter(\'mod=input\')}' />"><span>코드생성</span></a></div> <div> <span id="page.prev">이전</span> <span id="page.now">{$page}</span> <span id="page.div"> </span> <span id="page.num">[{$page}]</span> <span id="page.next">다음</span> </div> </div> </div> <script type="text/javascript"> //<![CDATA[ getPage($("this.page"),"/xf/code/CodeAdmin.xf?","<s:property value='globals.page' />","<s:property value='globals.totalPage' />","<s:property value='globals.nowPage' />","<s:property value='globals.startPage' />","<s:property value='globals.endPage' />"); //]]> </script> <!-- // end contents --> </body> </html>
written by Seok Kyun. Choi. 최석균.
http://www.cyworld.com/syaku
http://syaku.tistory.com
반응형
'개발노트 > Struts2' 카테고리의 다른 글
Struts2 Tiles FreeMarker 연동 : 스트럿츠2 타일즈 프리마커 (0) | 2011.03.12 |
---|---|
스트럿츠2 타일즈 동적으로 사용하기 : Tiles in Struts2 (0) | 2010.04.21 |
테스트용 코드관리 모듈 개발 #3 입력화면 : Struts2 + iBATIS is Sample (0) | 2009.04.08 |
테스트용 코드관리 모듈 개발 #2 ActionMap : Struts2 + iBATIS is Sample (0) | 2009.04.08 |