Project

General

Profile

1 4881 katerina.i
<%@ page contentType="text/html; charset=UTF-8" %>
2
<%@ taglib prefix="s" uri="/struts-tags" %>
3 4930 katerina.i
4 7435 katerina.i
 <s:set name="browsefield" value="#application['webInterfaceLayoutManager'].labelMap[browseField]" />
5 4930 katerina.i
6 7812 natalia.ma
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
7
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
8 8398 katerina.i
9 7812 natalia.ma
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
10 4935 katerina.i
 <head>
11 11088 katerina.i
 	<title> <s:text name="Browse_by_title" /> <s:property value="@gr.uoa.di.web.utils.LocaleDescriptionUtil@getSearchableDescription(#browsefield, locale)" /> </title>
12 8398 katerina.i
13
 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
14
15 13398 katerina.i
 	<link href='<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/assets/<s:property value="#application['webInterfaceLayoutManager'].cssFileName" />' rel="stylesheet" type="text/css" />
16
    <link rel="shortcut icon" href="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/favicon.ico" />
17 4935 katerina.i
 </head>
18
19
20 8025 natalia.ma
 <body>
21 10321 katerina.i
 	<div id="center">
22 4935 katerina.i
		<div id="wrapper">
23 7435 katerina.i
			<div class="wrapper_shadowleft">
24
				<div class="wrapper_shadowright">
25
					<div id="container">
26
						<jsp:include page="/pages/banner.jsp"/>
27
						<jsp:include page="/pages/menu.jsp"/>
28
29 7700 natalia.ma
						<div id="leftcolumn">
30 7435 katerina.i
							<b class="curved_top">
31
								<b class="curved_t1"></b>
32
								<b class="curved_t2"></b>
33
								<b class="curved_t3"></b>
34 10794 katerina.i
								<b class="curved_t4"></b>
35 7435 katerina.i
							</b>
36
37
							<div class="curved_container clearfix">
38 9938 katerina.i
								<div class="featured_top leftcolumn_top"> <s:text name="Browse_by" /> </div>
39 7700 natalia.ma
								<div class="mydrivermenu">
40 7435 katerina.i
									<s:iterator value="#application['webInterfaceLayoutManager'].browseFields" var="bf">
41 7700 natalia.ma
                     					<div class="mydrivermenuitem">
42 11088 katerina.i
                       				      <s:if test="%{@gr.uoa.di.web.utils.LocaleDescriptionUtil@getSearchableDescription(#bf, locale).equals(@gr.uoa.di.web.utils.LocaleDescriptionUtil@getSearchableDescription(#browsefield, locale))}">
43 7435 katerina.i
                          			           <span class="selected">
44 11088 katerina.i
                          		                   <s:property value="@gr.uoa.di.web.utils.LocaleDescriptionUtil@getSearchableDescription(#browsefield, locale)"/>
45 7435 katerina.i
                           			          </span>
46
                           				  </s:if>
47
                         			      <s:else>
48
											<s:url action="browseData" id="menuLink">
49
												<s:param name="field"><s:property value="#bf.name"/></s:param>
50
											</s:url>
51
											<s:a href="%{#menuLink}">
52 11088 katerina.i
												<s:property value="@gr.uoa.di.web.utils.LocaleDescriptionUtil@getSearchableDescription(#bf, locale)"/>
53 7435 katerina.i
											</s:a>
54
                           					</s:else>
55 7700 natalia.ma
                     					</div>
56 7435 katerina.i
    					         	</s:iterator>
57
								</div>
58
							</div>
59
60
							<b class="curved_bottom">
61
								<b class="curved_b4"></b>
62
								<b class="curved_b3"></b>
63
								<b class="curved_b2"></b>
64
								<b class="curved_b1"></b>
65
							</b>
66
						</div>
67
68
						<div id="maincolumn2">
69
							<b class="curved_top">
70
								<b class="curved_t1"></b>
71
								<b class="curved_t2"></b>
72
								<b class="curved_t3"></b>
73
								<b class="curved_t4"></b>
74
							</b>
75
							<div class="curved_container clearfix">
76 9938 katerina.i
								<div class="featured_top maincolumn2_top">
77
									<s:iterator value="getText('alphabet').split(\" \")" id="letter">
78
										<s:if test="%{#parameters['prefix'] == null || !#parameters['prefix'][0].equals(#letter) }">
79
										<s:url action="browseData" id="alphaUrl">
80
											<s:param name="field" value="#parameters['field']" />
81
											<s:param name="alphabet" value="#parameters['alphabet']" />
82
											<s:param name="prefix" value="#letter" />
83
										</s:url>
84
										<span class="alphaLetter">
85
											<s:a href="%{alphaUrl}">
86
												<s:property />
87
											</s:a>
88
										</span>
89
									</s:if>
90
									<s:else>
91
										<span class="alphaLetterSelected"> <s:property /> </span>
92
									</s:else>
93
								</s:iterator>
94
								<s:if test="%{#parameters['prefix'][0].equals(\"ALL\")}">
95
									<span class="alphaLetterSelected"> <s:text name="all" /> </span>
96
								</s:if>
97
								<s:else>
98
									<s:url action="browseData" id="alphaUrl">
99
										<s:param name="field" value="#parameters['field']" />
100
										<s:param name="alphabet" value="#parameters['alphabet']" />
101
										<s:param name="prefix">ALL</s:param>
102
									</s:url>
103
									<span class="alphaLetter">
104
										<s:a href="%{alphaUrl}">
105
											<s:text name="all"/>
106
										</s:a>
107
									</span>
108
								</s:else>
109 7435 katerina.i
								</div>
110 9938 katerina.i
								<s:if test="%{#request['enhancedBrowseData']!=null && !#request['enhancedBrowseData'].getData().isEmpty()}">
111 7435 katerina.i
									<table  id="listtbl" cellspacing="0" width="100%">
112
										<tr>
113
											<s:url action="browseData" id="bdata">
114
												<s:param name="field" value="#parameters['field']"/>
115
												<s:param name="alphabet" value="true"/>
116
												<s:param name="prefix" value="#parameters['prefix']" />
117
											</s:url>
118
											<th width="22px">
119 7700 natalia.ma
												<s:a href="%{bdata}" title="Sort alphabetically">
120 13398 katerina.i
													<img border="0" height="18px" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/sortalpha.png"/>
121 7435 katerina.i
												</s:a>
122
											</th>
123
											<th width="auto">
124 7700 natalia.ma
												<s:a href="%{bdata}" title="Sort alphabetically">
125 11088 katerina.i
													<s:property value="@gr.uoa.di.web.utils.LocaleDescriptionUtil@getSearchableDescription(#browsefield, locale)"/>
126 7700 natalia.ma
                                                </s:a>
127 7435 katerina.i
											</th>
128
											<s:url action="browseData" id="bdata">
129
												<s:param name="field" value="#parameters['field']"/>
130
												<s:param name="alphabet" value="false"/>
131
												<s:param name="prefix" value="#parameters['prefix']" />
132
											</s:url>
133
											<th width="22px">
134 7700 natalia.ma
												<s:a href="%{bdata}" title="Sort by document number">
135 13398 katerina.i
													<img height="18px" src="<s:property value="#application[@gr.uoa.di.driver.web.listeners.DriverContextListener@APACHE_URL]"/>/static-content/images/icons/sortdesc.png"/>
136 7435 katerina.i
												</s:a>
137
											</th>
138
											<th>
139 7700 natalia.ma
												<s:a href="%{bdata}" title="Sort by document number">
140 9938 katerina.i
													<s:text name="Number_of_Documents" />
141 7435 katerina.i
												</s:a>
142
											</th>
143
										</tr>
144
145 9938 katerina.i
								     	<s:iterator value="#request['enhancedBrowseData'].getFieldValues(#browsefield.indexType)" id="bdata" status="status">
146 7435 katerina.i
								        <tr>
147 7700 natalia.ma
								        	<td>&nbsp; </td>
148 7435 katerina.i
								        	<td>
149
								        		<s:url action="showResults" id="searchLink">
150 9938 katerina.i
								        			<s:param name="query">(<s:property value="#browsefield.name"/>="<s:property value="#request['enhancedBrowseData'].getFieldEncodings(#browsefield.indexType)[#status.index]" escape="false"/>")</s:param>
151 7435 katerina.i
								        			<s:param name="size">10</s:param>
152
								        			<s:param name="page">1</s:param>
153
								        		</s:url>
154 8404 katerina.i
								        		<s:a href="%{searchLink}" cssClass="searchlink"><s:property value="#bdata"/></s:a>
155 7435 katerina.i
								        	</td>
156 7812 natalia.ma
								        	<td>&nbsp; </td>
157 7435 katerina.i
								        	<td>
158 9042 katerina.i
								        		<s:text name="format.number">
159 9938 katerina.i
								        			<s:param name="value" value="#request['enhancedBrowseData'].getFieldCounts(#browsefield.indexType)[#status.index]" />
160 9042 katerina.i
								        		</s:text>
161 7435 katerina.i
								        	</td>
162
								        </tr>
163
								     	</s:iterator>
164
165
									 </table>
166
									</s:if>
167
168
									<s:else>
169
										<p>
170
											<s:if test="%{#parameters['prefix']!=null}">
171 9938 katerina.i
												<s:text name="no_browse_data_starting_from_prefix_available">
172 11088 katerina.i
													<s:param value="@gr.uoa.di.web.utils.LocaleDescriptionUtil@getSearchableDescription(#browsefield, locale)" />
173 9938 katerina.i
													<s:param value="#parameters['prefix'][0]"></s:param>
174
												</s:text>
175 7435 katerina.i
											</s:if>
176 9938 katerina.i
											<s:else>
177
												<s:text name="no_browse_data_available">
178 11088 katerina.i
													<s:param value="@gr.uoa.di.web.utils.LocaleDescriptionUtil@getSearchableDescription(#browsefield, locale)" />
179 9938 katerina.i
												</s:text>
180
											</s:else>
181 7435 katerina.i
										</p>
182
									</s:else>
183
							</div> <!-- clear fix -->
184
							<b class="curved_bottom">
185
								<b class="curved_b4"></b>
186
								<b class="curved_b3"></b>
187
								<b class="curved_b2"></b>
188
								<b class="curved_b1"></b>
189
							</b>
190
						</div>
191
						<div id="footer">
192 12995 katerina.i
							<s:action name="FooterPage" executeResult="true"/>
193 7435 katerina.i
						</div>
194
					</div>
195 4935 katerina.i
				</div>
196
			</div>
197
		</div>
198
	</div>
199
</body>
200
</html>