-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjsp.show.tpl
30 lines (21 loc) · 911 Bytes
/
jsp.show.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<%-- REMEMBER TO REPLACE $\{ --%>
<%@ taglib prefix="portlet" uri="http://java.sun.com/portlet_2_0" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<link style="text/css" rel="stylesheet" href="$\{pageContext.request.contextPath}/css/style.css" />
<portlet:defineObjects />
<portlet:renderURL var="${$item.camelize(class_name)}ListUrl" windowState="MAXIMIZED">
<portlet:param name="path" value="/${$item.camelize(class_name)}/commands" />
<portlet:param name="action" value="list" />
</portlet:renderURL>
<div class="module-header">${class_name}</div>
<div class="module-actions"><a href="$\{${$item.camelize(class_name)}ListUrl}">Back</a></div>
<div class="module-show">
{{each(i,p) properties}}
<div class="field">
<div class="label">${p.name}</div>
<div class="output">
$\{requestScope.${$item.camelize(class_name)}.${p.name}}
</div>
</div>
{{/each}}
</div>