Project

General

Profile

1 6018 antonis.le
<%@ taglib prefix="s" uri="/struts-tags"%>
2 8193 antonis.le
<%@ page contentType="text/html; charset=UTF-8"%>
3 13398 katerina.i
<script type="text/javascript" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/js/LaTeXMathML.js"></script>
4 1959 katerina.i
5 7281 katerina.i
<s:set name="docDescr" value="#application['webInterfaceLayoutManager'].layout.documentDescriptions[#request['version']]" />
6 8405 antonis.le
7 8255 katerina.i
<h2 class='<s:property value ="#docDescr.titleField.getCssClass(#request['document'])" />'>
8
	<s:iterator value="#docDescr.titleField.getMessage(#request['document'])" var="msgList" status="status">
9
			<s:if test="#status.count==2"><p style="background-color: inherit; margin-top: -1em">(</s:if>
10
			<s:iterator value="#msgList" id="msg">
11
				<s:property value="#msg" escape="false" />
12
			</s:iterator>
13
			<s:if test="!#status.last && #status.count>1">,</s:if>
14
			<s:if test="#status.last && #docDescr.titleField.getMessage(#request['document']).size > 1">)</p></s:if>
15 8193 antonis.le
	</s:iterator>
16 8255 katerina.i
</h2>
17 7519 antonis.le
<div class="document_details">
18
	<s:iterator value="#docDescr.nonTitleFields" var="rest">
19 8398 katerina.i
		<div class='<s:property value="#rest.getCssClass(#request['document'])" />' >
20 8193 antonis.le
			<s:if test="%{#rest.description!= null || !#rest.isEmpty() || !#rest.equals(\"\")}">
21
				<span class="resultsFieldNm">
22 8255 katerina.i
					<s:property value="#rest.getDescription(#request['document'])" /> : </span>
23 8193 antonis.le
			</s:if>
24
			<s:if test="%{#rest.getMessage(#request['document']).empty}">
25
				-
26
			</s:if>
27
			<s:else>
28
				<s:iterator value="#rest.getMessage(#request['document'])" var="msgList">
29
					<s:if test="%{#msgList!= null || !#msgList.isEmpty()}">
30
						<s:iterator value="#msgList" var="msg" status="status">
31
							<s:if test="%{#msg != null || !#msg.isEmpty() || !#msg.equals(\"\")}">
32
								<s:property value="#msg" escape="false" />
33
								<s:if test="!#status.last">,</s:if>
34
							</s:if>
35
							<s:else>
36
								-
37
							</s:else>
38
						</s:iterator>
39
					</s:if>
40
					<s:else>
41
						-
42
					</s:else>
43
				</s:iterator>
44
			</s:else>
45
		</div>
46
	</s:iterator>
47 8405 antonis.le
</div>