50 lines
2.0 KiB
Plaintext
50 lines
2.0 KiB
Plaintext
|
<%--
|
||
|
Copyright (c) 2000, 2004 IBM Corporation and others.
|
||
|
All rights reserved. This program and the accompanying materials
|
||
|
are made available under the terms of the Common Public License v1.0
|
||
|
which accompanies this distribution, and is available at
|
||
|
http://www.eclipse.org/legal/cpl-v10.html
|
||
|
|
||
|
Contributors:
|
||
|
IBM Corporation - initial API and implementation
|
||
|
--%>
|
||
|
<%@ include file="fheader.jsp"%>
|
||
|
|
||
|
<%
|
||
|
new ActivitiesData(application, request, response); // here it can turn filtering on or off
|
||
|
LayoutData data = new LayoutData(application,request, response);
|
||
|
View view = data.getCurrentView();
|
||
|
if (view == null) return;
|
||
|
%>
|
||
|
|
||
|
<html>
|
||
|
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
|
<title><%=ServletResources.getString(view.getName(), request)%></title>
|
||
|
|
||
|
<script language="JavaScript">
|
||
|
|
||
|
function onloadHandler(e)
|
||
|
{
|
||
|
<% if (data.isIE() || data.isMozilla() && "1.2.1".compareTo(data.getMozillaVersion()) <=0){
|
||
|
%> var h=window.<%=view.getName()%>ToolbarFrame.document.getElementById("titleText").offsetHeight; <%-- default 13 --%>
|
||
|
if(h<=19){
|
||
|
return; <%-- no need to resize up to 19px --%>
|
||
|
}
|
||
|
document.getElementById("viewFrameset").setAttribute("rows", (11+h)+",*"); <%-- default 24 --%>
|
||
|
window.<%=view.getName()%>ToolbarFrame.document.getElementById("titleTextTableDiv").style.height=(9+h)+"px"; <%-- default 22 --%>
|
||
|
<%}%>
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
</head>
|
||
|
|
||
|
<frameset id="viewFrameset" onload="onloadHandler()" rows="24,*" frameborder="0" framespacing="0" border=0 >
|
||
|
<frame id="toolbar" name="<%=view.getName()%>ToolbarFrame" title="<%=ServletResources.getString(view.getName()+"ViewToolbar", request)%>" src='<%=view.getURL()+view.getName()+"Toolbar.jsp"%>' marginwidth="0" marginheight="0" scrolling="no" frameborder="0" noresize=0>
|
||
|
<frame name='<%=view.getName()%>ViewFrame' title="<%=ServletResources.getString(view.getName()+"View", request)%>" src='<%=view.getURL()+view.getName()+"View.jsp?"+request.getQueryString()%>' marginwidth="10" marginheight="0" frameborder="0" >
|
||
|
</frameset>
|
||
|
|
||
|
</html>
|
||
|
|