Subversion Repositories general

Rev

Rev 961 | Rev 1010 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
995 dev 1
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
949 dev 2
<%@ page import="java.util.*,ak.hostadmiral.core.model.*" %>
3
<%@ taglib uri="/WEB-INF/struts-bean.tld"      prefix="bean"     %>
4
<%@ taglib uri="/WEB-INF/struts-logic.tld"     prefix="logic"    %>
5
<%@ taglib uri="/WEB-INF/struts-html.tld"      prefix="html"     %>
6
<%@ taglib uri="/WEB-INF/ak-backpath.tld"      prefix="backpath" %>
958 dev 7
<%@ taglib uri="/WEB-INF/ak-strutsx.tld"       prefix="strutsx"  %>
949 dev 8
<%@ taglib uri="/WEB-INF/hostadmiral-core.tld" prefix="core"     %>
9
<html>
10
 
11
<head>
12
	<meta http-equiv="expires" content="0">
13
	<title><bean:message key="ak.hostadmiral.page.index.title" /></title>
958 dev 14
	<link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css">
949 dev 15
</head>
16
 
17
<body>
18
 
19
<h1><bean:message key="ak.hostadmiral.page.index.title" /></h1>
20
 
21
<p>Object: <bean:write name="object" property="identKey" /></p>
22
<p>Action: <bean:write name="action" /></p>
23
 
24
<ul>
25
<%
26
	Collection cascade = (Collection)request.getAttribute("cascade");
27
 
28
	for(Iterator i = cascade.iterator(); i.hasNext(); ) {
29
		CascadeDeleteElement e = (CascadeDeleteElement)i.next();
30
        pageContext.setAttribute("e", e);
31
 
958 dev 32
		%><li>
33
			<logic:equal name="e" property="effect" value="1">
34
				FORBIDDEN
35
			</logic:equal>
36
			<logic:equal name="e" property="effect" value="2">
37
				delete
38
			</logic:equal>
39
			<logic:equal name="e" property="effect" value="3">
40
				change
41
			</logic:equal>
42
			<strutsx:message name="e" property="object.typeKey" />
43
			<em><strutsx:message name="e" property="object.identKey" valuesProperty="object.identParams" /></em>
44
			<bean:write name="e" property="cascade" />
45
		</li><%
949 dev 46
	}
47
%>
48
</ul>
49
 
50
<br>
51
<backpath:backlink><bean:message key="ak.hostadmiral.page.user.list.back" /></backpath:backlink>
52
 
53
</body>
54
 
55
</html>