summaryrefslogtreecommitdiffstats
blob: 68c800ef4d5727f67b194e934a3b5d2691fc7ed7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<f:view xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ice="http://www.icesoft.com/icefaces/component"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:fn="http://java.sun.com/jsp/jstl/functions"
	xmlns:pc="http://www.sungard.de/carnot/web/portal-plugin/portalcommon">

<ice:outputDeclaration doctypeRoot="HTML"
	doctypePublic="-//W3C//DTD HTML 4.01 Transitional//EN"
	doctypeSystem="http://www.w3.org/TR/html4/loose.dtd" />

<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>

		<script type="text/javascript"
			src="#{facesContext.externalContext.requestContextPath}/plugins/processportal/IppProcessPortal.js" />

		<ice:outputStyle href="/plugins/common/css/nirvanaRime.css" />
		<ice:outputStyle href="/plugins/common/css/nirvanaRime-override.css" />
		<ice:outputStyle href="/plugins/common/css/nirvanaPortal.css" />
		<ice:outputStyle href="/plugins/common/css/portalComponentStyle.css" />

		<c:forEach items="#{ippPortalApp.skinFiles}" var="skinFile">
			<ice:outputStyle href="#{skinFile}" />
		</c:forEach>

		<script>
			function windowLoaded()
			{
				var iFrameId = #{activityDetailsBean.saveActivityIframePopupId};

				if (iFrameId != '')
				{
					var advanceArgs = #{activityDetailsBean.saveActivityIframePopupArgs};
					advanceArgs.width = document.documentElement.scrollWidth + 20;
					advanceArgs.height = document.documentElement.scrollHeight;

					var firefox = false;
					if (parent.BridgeUtils)
					{
						firefox = parent.BridgeUtils.Util.isFF();
					}
					else
					{
						firefox = parent.ippPortalMain.InfinityBpm.Core.isFF();
					}

					if (firefox)
					{
						advanceArgs.anchorYAdjustment = advanceArgs.anchorYAdjustment - 22;
					}

					if (parent.BridgeUtils)
					{
						parent.BridgeUtils.FrameManager.resizeAndReposition(iFrameId, advanceArgs);
					}
					else
					{
						parent.ippPortalMain.InfinityBpm.ProcessPortal.resizeAndRepositionContentFrame(iFrameId, advanceArgs);
					}
				}
			}
		</script>
	</head>
	<body style="width: 100%; height:100%; background-color: #F7F7F7;" onLoad="if(windowLoaded){windowLoaded()}">
		<ice:form>
		<ice:panelGroup style="background-color: #EAEAEA;">
			<ice:panelGrid columns="1">
				<!-- Added to give same spacing -->
				<ice:commandLink styleClass="action-link"
					actionListener="#{activityDetailsBean.saveToUserWorklistAction}">
					<ice:panelGrid columns="2" style="margin-left:2px;">
						<ice:outputText style="white-space: nowrap;"
							value="#{processportal_msgPropsBean['toolbars.workflowActions.tooltip.suspendAndSavePrivateWorklist']}" />
					</ice:panelGrid>
				</ice:commandLink>
				<ice:commandLink styleClass="action-link"
					actionListener="#{activityDetailsBean.saveToDefaultPerformerAction}">
					<ice:panelGrid columns="2" style="margin-left:2px;">
						<ice:outputText style="white-space: nowrap;"
							value="#{processportal_msgPropsBean['toolbars.workflowActions.tooltip.suspendAndSaveDefPerformer']}" />
					</ice:panelGrid>
				</ice:commandLink>
			</ice:panelGrid>
		</ice:panelGroup>
		</ice:form>
		<script id="postScriptsIframePopup" lang="javascript">
			#{ippPortalAppSingleViewEventScript.wrappedEventScripts}
		</script>
	</body>
</html>
</f:view>