Statistics
| Branch: | Revision:

m2u-upass-admin / WebContent / jsp / ss105_content / ibssCurrencyCodeDetails.jsp @ 34:3f4b9028848d

History | View | Annotate | Download (4.42 KB)

1 0:ea666cc7880e hadi
<%@ taglib uri="/WEB-INF/tld/struts-html-el" prefix="htmlEL" %>
2
<%@ taglib uri="/WEB-INF/tld/struts-bean" prefix="bean" %>
3
<%@ taglib uri="/WEB-INF/tld/c" prefix="c" %>
4
5
<h3 class="title"><strong><bean:write name="contentForm" property="contentTypeCode"/></strong></h3><br/>
6
7
<h5><bean:write name="contentForm" property="categoryName"/></h5><br/>
8
9
<table id="errorTable">
10
<tr>
11
	<td>
12
		<span id="serverSideError" class="error"><jsp:include flush="true" page="/jsp/errorHandler.jsp"></jsp:include></span>
13
	</td>
14
</tr>
15
</table>
16
17
<bean:define id="currencyCodeBean" name="contentForm" property="currencyCodeBean" />
18
<table class="tabularForm">
19
	<tr><td colspan="3">&nbsp;</td></tr>
20
	<tr>
21
		<td width="10%">&nbsp;</td>
22
		<td><bean:message key="content_currency_code"/></td>
23
		<td><strong><c:out value="${currencyCodeBean.map.currencyCD}"/></strong></td>
24
	</tr>
25
	<tr>
26
		<td width="10%">&nbsp;</td>
27
		<td><bean:message key="content_base_unit"/></td>
28
		<td><strong>
29
			<c:choose>
30
				<c:when test="${not empty currencyCodeBean.map.baseUnit}">
31
					<c:out value="${currencyCodeBean.map.baseUnit}"></c:out>
32
				</c:when>
33
				<c:otherwise>-</c:otherwise>
34
			</c:choose>
35
		</strong></td>
36
	</tr>
37
	<tr>
38
	<c:set var="ID" value="${currencyCodeBean.map.ID}"></c:set>
39
		<td width="10%">&nbsp;</td>
40
		<td><bean:message key="content_image_url"/></td>
41
		<td>
42
		<!--<htmlEL:link action="/ss105/CurrencyCodeImageView.do?ID=${ID}">
43
			<u><bean:message key="content_currency_image_view"/></u>
44
		</htmlEL:link>
45
		-->
46
		<strong>
47
			<c:choose>
48
				<c:when test="${not empty currencyCodeBean.map.imageFile}">
49
					<img src='<c:url value="/ss105/CurrencyCodeImageView.do?ID=${ID}"></c:url>'/>
50
				</c:when>
51
				<c:otherwise>-</c:otherwise>
52
			</c:choose>
53
		</strong>
54
55
		<!--<htmlEL:img src="/ss105/CurrencyCodeImageView.do?ID=${ID}"/>
56
		--><!--
57
		<strong>
58
			<c:choose>
59
				<c:when test="${not empty currencyCodeBean.map.imageFILE}">
60
					<c:out value="${currencyCodeBean.map.imageFILE}"></c:out>
61
				</c:when>
62
				<c:otherwise>-</c:otherwise>
63
			</c:choose>
64
		</strong>
65
		 -->
66
	</td>
67
	</tr>
68
	<tr>
69
		<td width="10%">&nbsp;</td>
70
		<td><bean:message key="content_display_order"/></td>
71
		<td><strong>
72
			<c:choose>
73
				<c:when test="${not empty currencyCodeBean.map.displayOrder}">
74
					<c:out value="${currencyCodeBean.map.displayOrder}"></c:out>
75
				</c:when>
76
				<c:otherwise>-</c:otherwise>
77
			</c:choose>
78
		</strong></td>
79
	</tr>
80
	<tr>
81
		<td width="10%">&nbsp;</td>
82
		<td><bean:message key="content_status"/></td>
83
		<td><strong>
84
			<c:choose>
85
				<c:when test="${not empty currencyCodeBean.map.status}">
86
					<c:out value="${currencyCodeBean.map.status}"></c:out>
87
				</c:when>
88
				<c:otherwise>-</c:otherwise>
89
			</c:choose>
90
		</strong></td>
91
	</tr>
92
	<tr><td colspan="3">&nbsp;</td></tr>
93
</table>
94
<c:if test="${contentForm.map.hasContentEditAccess eq true}">
95
<htmlEL:form action="/ss105/editCurrencyCode.do">
96
	<htmlEL:hidden property="ID" name="currencyCodeBean"></htmlEL:hidden>
97
	<htmlEL:submit property="action" styleClass="button floatRight" onclick="overlay();">
98
		<bean:message key="general.button.edit"/>
99
	</htmlEL:submit>
100
</htmlEL:form>
101
</c:if>
102
<c:if test="${contentForm.map.hasContentDeleteAccess eq true}">
103
<htmlEL:form action="/ss105/confirmDeleteCurrencyCode.do">
104
	<c:set var="name" value="${currencyCodeBean.map.currencyCD}"></c:set>
105
	<htmlEL:hidden property="ID" name="currencyCodeBean"></htmlEL:hidden>
106
	<htmlEL:hidden property="name" value="${name}"></htmlEL:hidden>
107
	<htmlEL:submit property="action" styleClass="button floatRight" onclick="overlay();">
108
		<bean:message key="general.button.delete"/>
109
	</htmlEL:submit>
110
</htmlEL:form>
111
</c:if>
112
<c:choose>
113
	<c:when test="${contentForm.map.isSearch eq true}">
114
		<htmlEL:form action="/ss105/searchCurrencyResult.do?p=${currencyCodeBean.map.currentPage}">
115
			<htmlEL:submit property="action" styleClass="button floatRight" onclick="overlay();">
116
				<bean:message key="general.button.back"/>
117
			</htmlEL:submit>
118
		</htmlEL:form>
119
	</c:when>
120
	<c:otherwise>
121
		<htmlEL:form action="/ss105/subContentCategory.do?p=${currencyCodeBean.map.currentPage}">
122
			<htmlEL:hidden property="categoryID" value="${contentForm.map.categoryID}"></htmlEL:hidden>
123
			<htmlEL:submit property="action" styleClass="button floatRight" onclick="overlay();">
124
				<bean:message key="general.button.back"/>
125
			</htmlEL:submit>
126
		</htmlEL:form>
127
	</c:otherwise>
128
</c:choose>