Project

General

Profile

1
<%@ taglib prefix="s" uri="/struts-tags"%>
2
<%@ page contentType="text/html; charset=UTF-8"%>
3
<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

    
5
<s:set name="docDescr" value="#application['webInterfaceLayoutManager'].layout.documentDescriptions[#request['version']]" />
6

    
7
<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
	</s:iterator>
16
</h2>
17
<div class="document_details">
18
	<s:iterator value="#docDescr.nonTitleFields" var="rest">
19
		<div class='<s:property value="#rest.getCssClass(#request['document'])" />' >
20
			<s:if test="%{#rest.description!= null || !#rest.isEmpty() || !#rest.equals(\"\")}">
21
				<span class="resultsFieldNm">
22
					<s:property value="#rest.getDescription(#request['document'])" /> : </span>
23
			</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
</div>
(5-5/27)