OSDN Git Service

import
[luz/luz.git] / lacoder / sample / templates / read.tmpl
1 <!-- $Id: $ -->\r
2 <%@page contentType="text/html; charset=Windows-31J"  pageEncoding="UTF-8"%>\r
3 <%@page import="<#entity classNameFull>"%>\r
4 <%      <#entity className> <#entity name> = (<#entity className>)request.getAttribute("<#entity name>"); %>\r
5 \r
6 <!doctype html public "-//w3c//dtd html 4.0 transitional//en" "http://www.w3.org/tr/rec-html40/loose.dtd">\r
7 <html>\r
8 \r
9 <head>\r
10   <%@include file="../../common/jsp/include/head.jsp" %>\r
11   <title><#entity title>詳細</title>\r
12 </head>\r
13 \r
14 <body>\r
15 \r
16 <% request.setAttribute("title", "<#entity title>詳細"); %>\r
17 <%@include file="../../common/jsp/include/header.jsp" %>\r
18 \r
19 <hr>\r
20 <table class="input">\r
21 <#foreach attr attributeList>\r
22   <tr>\r
23     <th><#attr title></th>\r
24     <td>\r
25       <%= <#entity name>.<#attr getterName>() %>\r
26     </td>\r
27   </tr>\r
28 </#foreach>\r
29 </table>\r
30 \r
31 <!-- end of contents -->\r
32 \r
33 <!-- footer -->\r
34 <%@include file="../../common/jsp/include/footer.jsp" %>\r
35 </body>\r
36 </html>\r