Statistics
| Branch: | Revision:

m2u-upass-admin / WebContent / jsp / ss105_content.occupation / ibssOccupationDetails.jsp @ 32:a9f7f946ab09

History | View | Annotate | Download (4.06 KB)

1
<%@ 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:message key="content.mk.desc.details.occupation" /></strong></h3><br/>
6
<h5><bean:write name="contentForm" property="categoryName"/></h5><br/>
7
<table id="errorTable">
8
<tr>
9
	<td>
10
		<span id="serverSideError" class="error"><jsp:include flush="true" page="/jsp/errorHandler.jsp"></jsp:include></span>
11
	</td>
12
</tr>
13
</table>
14

    
15
<bean:define id="occupationBean" name="contentForm" property="occupationBean" />
16
<table class="tabularForm">
17
	<tr><td colspan="3">&nbsp;</td></tr>
18
	<tr>
19
		<td width="10%">&nbsp;</td>
20
		<td><bean:message key="content_occupation_code"></bean:message>:</td>
21
		<td><strong><c:out value="${occupationBean.map.occupationCode}"/></strong></td>
22
	</tr>
23
	<tr>
24
		<td width="10%">&nbsp;</td>
25
		<td><bean:message key="content_occupation_desc"></bean:message>:</td>
26
		<td><strong>
27
			<c:choose>
28
				<c:when test="${not empty occupationBean.map.occupationDesc}">
29
					<c:out value="${occupationBean.map.occupationDesc}"/>
30
				</c:when>
31
				<c:otherwise>-</c:otherwise>
32
			</c:choose>
33
		</strong></td>
34
	</tr>
35
	<c:if test="${secondLanguageSupportViewBean.map.secondLanguageSupportView eq true}">
36
	<tr>
37
		<td width="10%">&nbsp;</td>
38
		<td><bean:message key="content_occupation_desc_ML"></bean:message>:</td>
39
		<td><strong>
40
			<c:choose>
41
				<c:when test="${not empty occupationBean.map.occupationDescML}">
42
					<c:out value="${occupationBean.map.occupationDescML}"/>
43
				</c:when>
44
				<c:otherwise>-</c:otherwise>
45
			</c:choose>
46
		</strong></td>
47
	</tr>
48
	</c:if>
49
	<tr>
50
		<td colspan=1>&nbsp;</td>
51
	</tr>
52
	<tr>
53
		<td width="10%">&nbsp;</td>
54
		<td><bean:message key="content_occupation_creation_date" />:</td>
55
		<td><strong>
56
			<c:choose>
57
				<c:when test="${not empty occupationBean.map.creationTime}">
58
					<c:out value="${occupationBean.map.creationTime}"/>
59
				</c:when>
60
				<c:otherwise>-</c:otherwise>
61
			</c:choose>
62
		</strong></td>
63
	</tr>
64
	<tr>
65
		<td width="10%">&nbsp;</td>
66
		<td><bean:message key="content_occupation_last_modified" />:</td>
67
		<td><strong>
68
			<c:choose>
69
				<c:when test="${not empty occupationBean.map.lastModTime}">
70
					<c:out value="${occupationBean.map.lastModTime}"/>
71
				</c:when>
72
				<c:otherwise>-</c:otherwise>
73
			</c:choose>
74
		</strong></td>
75
	</tr>
76
	<tr><td colspan="3">&nbsp;</td></tr>
77
</table>
78
<c:if test="${contentForm.map.hasContentEditAccess eq true}">
79
<htmlEL:form action="/ss105/occupationEdit.do">
80
	<htmlEL:hidden property="ID" name="occupationBean"></htmlEL:hidden>
81
	<htmlEL:submit property="action" styleClass="button floatRight" onclick="overlay();">
82
		<bean:message key="general.button.edit"/>						
83
	</htmlEL:submit>
84
</htmlEL:form>
85
</c:if>
86
<c:if test="${contentForm.map.hasContentDeleteAccess eq true}">
87
<htmlEL:form action="/ss105/occupationDelete.do">
88
	<c:set var="name" value="${occupationBean.map.occupationCode}"></c:set>
89
	<htmlEL:hidden property="ID" name="occupationBean"></htmlEL:hidden>
90
	<htmlEL:hidden property="name" value="${name}"></htmlEL:hidden>
91
	<htmlEL:submit property="action" styleClass="button floatRight" onclick="overlay();">
92
		<bean:message key="general.button.delete"/>						
93
	</htmlEL:submit>
94
</htmlEL:form>
95
</c:if>
96
<c:choose>
97
	<c:when test="${contentForm.map.isSearch eq true}">
98
		<htmlEL:form action="/ss105/searchOccupationResult.do?p=${occupationBean.map.currentPage}">
99
			<htmlEL:submit property="action" styleClass="button floatRight" onclick="overlay();">
100
				<bean:message key="general.button.back"/>						
101
			</htmlEL:submit>
102
		</htmlEL:form>
103
	</c:when>
104
	<c:otherwise>
105
		<htmlEL:form action="/ss105/subContentCategory.do?p=${occupationBean.map.currentPage}">
106
			<htmlEL:hidden property="categoryID" value="${contentForm.map.categoryID}"></htmlEL:hidden>
107
			<htmlEL:submit property="action" styleClass="button floatRight" onclick="overlay();">
108
				<bean:message key="general.button.back"/>						
109
			</htmlEL:submit>
110
		</htmlEL:form>
111
	</c:otherwise>
112
</c:choose>