Project

General

Profile

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

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

    
6
<h2 class='<s:property value ="#docDescr.titleField.getCssClass(#request['document'])" />'>
7
	<s:iterator value="#docDescr.titleField.getMessage(#request['document'])" var="msgList" status="status">
8
		<s:if test="#request['displayExpand']">
9
			<span class="eparrow">
10
            <a href="javascript:toggleRelatedObjects('<s:property value="#request['document'].map['id'][0]"/>', '<s:property value="#request['relationDivId']" />')">
11
				<img src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/arrowblue_right.png" alt="Expand" width="14" height="14" id='toggle-<s:property value="#request['relationDivId']" />'></img>
12
			</a>
13
            </span>
14
		</s:if>
15
        <s:else>
16
        <span class="epNoArrow"><img src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/arrowblank.png" alt="" width="14" height="14"/></span>
17
        </s:else>
18
		<s:property value="#msgList[0]" escape="false" />
19
		<img id="document<s:property value="#request['relationDivId']" />" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/icon-info.gif" width="14" height="14" alt="Document Info" />
20
	</s:iterator>
21
</h2>
22

    
23
<div id="document<s:property value="#request['relationDivId']" />_details_popup" class="document_details_popup">
24
	<div>
25
		<h2>Document Details</h2>
26
	</div>
27
	<div class="document_details">
28
		<s:iterator value="#docDescr.nonTitleFields" var="rest">
29
			<div class='<s:property value="#rest.getCssClass(#request['document'])" />' >
30
				<s:if test="%{#rest.description!= null || !#rest.isEmpty() || !#rest.equals(\"\")}">
31
					<span class="resultsFieldNm">
32
						<s:property value="#rest.getDescription(#request['document'])" /> : </span>
33
				</s:if>
34
				<s:if test="%{#rest.getMessage(#request['document']).empty}">
35
					-
36
				</s:if>
37
				<s:else>
38
					<s:iterator value="#rest.getMessage(#request['document'])" var="msgList">
39
						<s:if test="%{#msgList!= null || !#msgList.isEmpty()}">
40
							<s:iterator value="#msgList" var="msg" status="status">
41
								<s:if test="%{#msg != null || !#msg.isEmpty() || !#msg.equals(\"\")}">
42
									<s:property value="#msg" escape="false" />
43
									<s:if test="!#status.last">,</s:if>
44
								</s:if>
45
								<s:else>
46
									-
47
								</s:else>
48
							</s:iterator>
49
						</s:if>
50
						<s:else>
51
							-
52
						</s:else>
53
					</s:iterator>
54
				</s:else>
55
			</div>
56
		</s:iterator>
57
	</div>
58
</div>
(2-2/4)