Subversion Repositories general

Rev

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

Rev Author Line No. Line
1014 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">
1010 dev 13
	<title><bean:message key="ak.hostadmiral.page.deleting.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
 
1010 dev 19
<h1><bean:message key="ak.hostadmiral.page.deleting.title" /></h1>
949 dev 20
 
1010 dev 21
<p>Object: <bean:write name="object" property="identKey" /> <bean:write name="object" property="id" /></p>
949 dev 22
<p>Action: <bean:write name="action" /></p>
23
 
1010 dev 24
<p>FIXME: draw a real object tree here</p>
949 dev 25
<ul>
26
<%
27
	Collection cascade = (Collection)request.getAttribute("cascade");
28
 
29
	for(Iterator i = cascade.iterator(); i.hasNext(); ) {
30
		CascadeDeleteElement e = (CascadeDeleteElement)i.next();
31
        pageContext.setAttribute("e", e);
32
 
958 dev 33
		%><li>
34
			<logic:equal name="e" property="effect" value="1">
35
				FORBIDDEN
36
			</logic:equal>
37
			<logic:equal name="e" property="effect" value="2">
38
				delete
39
			</logic:equal>
40
			<logic:equal name="e" property="effect" value="3">
41
				change
42
			</logic:equal>
43
			<strutsx:message name="e" property="object.typeKey" />
44
			<em><strutsx:message name="e" property="object.identKey" valuesProperty="object.identParams" /></em>
45
			<bean:write name="e" property="cascade" />
46
		</li><%
949 dev 47
	}
48
%>
49
</ul>
50
 
51
<br>
1010 dev 52
<backpath:currentlink action="<%= (String)request.getAttribute("action") %>" paramId="id" paramName="object" paramProperty="id"><bean:message key="ak.hostadmiral.page.deleting.delete" /></backpath:currentlink>
53
<backpath:backlink><bean:message key="ak.hostadmiral.page.deleting.back" /></backpath:backlink>
949 dev 54
 
1014 dev 55
<p>	
56
	<bean:message key="ak.hostadmiral.page.general.version" />:
57
	<bean:write name="projectVersion" />
58
</p>
59
 
949 dev 60
</body>
61
 
62
</html>