Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Goldthorpe2009-11-18 00:41:58 +0000
committerChris Goldthorpe2009-11-18 00:41:58 +0000
commit751d5a1cd189cfefe121cbe375576fa2928c6c0c (patch)
treee7fe4ba70e451efcd26322e534ffcbd9fec0f627 /org.eclipse.ua.tests/jsp
parentfff09e4e536d566af1708e5a85daa6f6da91bca1 (diff)
downloadeclipse.platform.ua-751d5a1cd189cfefe121cbe375576fa2928c6c0c.tar.gz
eclipse.platform.ua-751d5a1cd189cfefe121cbe375576fa2928c6c0c.tar.xz
eclipse.platform.ua-751d5a1cd189cfefe121cbe375576fa2928c6c0c.zip
Bug 293744 – [Webapp]Allow additional section to be added to the bar upside:
Diffstat (limited to 'org.eclipse.ua.tests/jsp')
-rw-r--r--org.eclipse.ua.tests/jsp/advanced/testHelpToolbarFrame.jsp59
1 files changed, 59 insertions, 0 deletions
diff --git a/org.eclipse.ua.tests/jsp/advanced/testHelpToolbarFrame.jsp b/org.eclipse.ua.tests/jsp/advanced/testHelpToolbarFrame.jsp
new file mode 100644
index 000000000..3e158bb7d
--- /dev/null
+++ b/org.eclipse.ua.tests/jsp/advanced/testHelpToolbarFrame.jsp
@@ -0,0 +1,59 @@
+<%--
+ Copyright (c) 2009 IBM Corporation and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ IBM Corporation - initial API and implementation
+--%>
+<%@
+page import="org.eclipse.help.internal.webapp.data.*" contentType="text/html; charset=UTF-8"
+%>
+<%@page import="org.eclipse.help.webapp.*" %>
+<%
+ request.setCharacterEncoding("UTF-8");
+ boolean isRTL = UrlUtil.isRTL(request, response);
+ String direction = isRTL?"rtl":"ltr";
+ FrameData data = new FrameData(application, request, response);
+ WebappPreferences prefs = data.getPrefs();
+%>
+<html>
+<head>
+<style type="text/css">
+/* need this one for Mozilla */
+HTML {
+ width:100%;
+ height:100%;
+ margin:0px;
+ padding:0px;
+ border:0px;
+ }
+
+BODY {
+ background:<%=prefs.getToolbarBackground()%>;
+ border:0px;
+ height:100%;
+}
+TABLE {
+ font: <%=prefs.getToolbarFont()%>;
+ background:<%=prefs.getToolbarBackground()%>;
+ margin: 0px;
+ padding: 0px;
+ height:100%;
+}
+
+</style>
+
+</head>
+<body dir="<%=direction %>">
+<table align ="<%=isRTL?"left":"right"%>">
+ <tr>
+ <td>
+ Hello, Guest!
+ </td>
+ </tr>
+</table>
+</body>
+</html> \ No newline at end of file

Back to the top