summaryrefslogtreecommitdiffstats
path: root/WebContent/statictestfiles/embed-two-uis.html
blob: 62dff7d8d08d4abe7fd5b4b67568082d9b74e3b2 (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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
<title>com.vaadin.tests.components.embedded.EmbeddedPdf</title>
<style type="text/css">
html,body {
	height: 100%;
	margin: 0;
}
</style>
<link rel="shortcut icon" type="image/vnd.microsoft.icon"
	href="/VAADIN/themes/reindeer/favicon.ico" />
<link rel="icon" type="image/vnd.microsoft.icon"
	href="/VAADIN/themes/reindeer/favicon.ico" />

<script type="text/javascript" src="/VAADIN/vaadinBootstrap.js"></script>
</head>
<body scroll="auto" class=" v-generated-body">
	<span>Embed 1 (AbsoluteLayoutClipping)</span>
	<div style="width: 300px; height: 300px; border: 1px solid red;"
		id="app1" class=" v-app v-app-VaadinServletSession">
		<div class=" v-app-loading"></div>
		<noscript>You have to enable javascript in your browser to
			use an application built with Vaadin.</noscript>
	</div>
	<iframe tabindex="-1" id="__gwt_historyFrame"
		style="position: absolute; width: 0; height: 0; border: 0; overflow: hidden"
		src="javascript:false"></iframe>
	<script type="text/javascript">
		//         
		if (!window.vaadin)
			alert("Failed to load the bootstrap javascript: /VAADIN/vaadinBootstrap.js");
		vaadin
				.setDefaults({
					"appUri" : "/",
					"authErrMsg" : {
						"caption" : "Authentication problem",
						"message" : "Take note of any unsaved data, and <u>click here<\/u>tagtagtag to continue."
					},
					"comErrMsg" : {
						"caption" : "Communication problem",
						"message" : "Take note of any unsaved data, and _$t_$tag_$ere<\k here_$t_$tag_$t_$tag to continue."
					},
					"debug" : true,
					"heartbeatInterval" : 300,
					"standalone" : true,
					"widgetsetBase" : "/VAADIN/widgetsets/"
				});
	</script>

	</script>
	<script type="text/javascript">
		//         
		vaadin.initApplication("app1", {
			"appUri" : "/embed1",
			"initialParams" : {},
			"initialPath" : "",
			"themeUri" : "/VAADIN/themes/reindeer",
			"versionInfo" : {
				"vaadinVersion" : "9.9.9.INTERNAL-DEBUG-BUILD"
			},
			"widgetset" : "com.vaadin.DefaultWidgetSet"
		});
		//
	</script>
	<span>Embed 2 (MarginsInLabels)</span>
	<div style="width: 300px; height: 300px; border: 1px solid blue;"
		id="app2" class=" v-app v-app-VaadinServletSession">
		<div class="v-app-loading"></div>
		<noscript>You have to enable javascript in your browser to
			use an application built with Vaadin.</noscript>
	</div>
	<iframe tabindex="-1" id="__gwt_historyFrame"
		style="position: absolute; width: 0; height: 0; border: 0; overflow: hidden"
		src="javascript:false"></iframe>
	<script type="text/javascript">
		vaadin.initApplication("app2", {
			"appUri" : "/embed2",
			"initialParams" : {},
			"initialPath" : "/",
			"themeUri" : "/VAADIN/themes/reindeer",
			"versionInfo" : {
				"vaadinVersion" : "9.9.9.INTERNAL-DEBUG-BUILD"
			},
			"widgetset" : "com.vaadin.DefaultWidgetSet"
		});
		//
	</script>

</body>
</html>