You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ek...@apache.org on 2004/07/27 17:59:50 UTC
svn commit: rev 30785 - incubator/beehive/trunk/netui/src/webapp-template/default
Author: ekoneil
Date: Tue Jul 27 08:59:49 2004
New Revision: 30785
Modified:
incubator/beehive/trunk/netui/src/webapp-template/default/error.jsp
incubator/beehive/trunk/netui/src/webapp-template/default/index.jsp
Log:
Fixup in the webapp template's index and error JSPs.
These are the files that are the "defaults" in the webapp template, which is available in $BEEHIVE_HOME/netui/build/dist/webapp/...
BB: self
DRT: pass
CR: Daryl
Modified: incubator/beehive/trunk/netui/src/webapp-template/default/error.jsp
==============================================================================
--- incubator/beehive/trunk/netui/src/webapp-template/default/error.jsp (original)
+++ incubator/beehive/trunk/netui/src/webapp-template/default/error.jsp Tue Jul 27 08:59:49 2004
@@ -1,23 +1,69 @@
-<!--Generated by WebLogic Workshop-->
-<%@ page language="java" contentType="text/html;charset=UTF-8" isErrorPage="true"%>
-<%@ taglib uri="beehive-netui-tags-databinding.tld" prefix="netui-data"%>
-<%@ taglib uri="beehive-netui-tags-html.tld" prefix="netui"%>
-<%@ taglib uri="beehive-netui-tags-template.tld" prefix="netui-template"%>
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0" prefix="netui-data"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-template-1.0" prefix="netui-template"%>
<netui:html>
<head>
- <title>Error</title>
+ <title>NetUI Error</title>
+ <style>
+ table {
+ border: solid 1pt #2f73c9;
+ background-color: #ffffff;
+ }
+ body {
+ margin: 20pt 5%;
+ background-color: #fdf4b6;
+ font-family: Arial, Helvetica, sans-serif;
+ font-size: 10pt;
+ }
+ .caption {font-weight: strong;
+ font-size: 14pt;
+ text-align: left;
+ width: 500px
+ }
+ th {vertical-align: top;
+ text-align: right;
+ font-size: 12pt;
+ color: #2f73c9;
+ width: 100px;
+ }
+ td {
+ text-align: left;
+ }
+ hr {
+ color: #2f73c9;
+ }
+ .posTitle {
+ position: relative;
+ color: #2f73c9;
+ left: -130pt;
+ top: -16pt;
+ }
+ .pfErrorLineOne {
+ color: red;
+ font-size: 12pt;
+ font-style: italic;
+ }
+ img {
+ border: solid 2pt #2f73c9;
+ }
+ </style>
+ <netui:base/>
</head>
- <body>
- <p>
- An error has occurred:
- </p>
- <blockquote>
- <netui:label value="{request.errorMessage}" defaultValue="" />
- <br/>
- <netui:exceptions showMessage="true" />
- </blockquote>
- </body>
+ <netui:body>
+ <div class="caption">
+ <netui:image src="${pageContext.request.contextPath}/resources/images/error-header.jpg" width="338" height="96" alt="Page Flow Error"/>
+ <span class="posTitle">NetUI Error</span>
+ </div>
+ <table border="0" cellspacing='0' cellpadding='4'>
+ <c:if test="${request.errorMessage != null}">
+ <tr><th>Message:</th><td class="pfErrorLineOne"><netui:label value="${request.errorMessage}" defaultValue=" "/></td></tr>
+ </c:if>
+ <tr><th>Exception:</th><td class="pfErrorLineOne"><netui:exceptions showMessage="true"/></td></tr>
+ <tr><td colspan="2" style="min-width:342"><hr></td></tr>
+ <tr><th>Stack Trace:</th><td><netui:exceptions showMessage="false" showDevModeStackTrace="true"/></td></tr>
+ </table>
+ </netui:body>
</netui:html>
-
-<!-- Some browsers will not display this page unless the response status code is 200. -->
+<%-- Some browsers will not display this page unless the response status code is 200. --%>
<% response.setStatus(200); %>
Modified: incubator/beehive/trunk/netui/src/webapp-template/default/index.jsp
==============================================================================
--- incubator/beehive/trunk/netui/src/webapp-template/default/index.jsp (original)
+++ incubator/beehive/trunk/netui/src/webapp-template/default/index.jsp Tue Jul 27 08:59:49 2004
@@ -1,15 +1,15 @@
-<!--Generated by WebLogic Workshop-->
<%@ page language="java" contentType="text/html;charset=UTF-8"%>
-<%@ taglib uri="beehive-netui-tags-databinding.tld" prefix="netui-data"%>
-<%@ taglib uri="beehive-netui-tags-html.tld" prefix="netui"%>
-<%@ taglib uri="beehive-netui-tags-template.tld" prefix="netui-template"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0" prefix="netui-data"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-template-1.0" prefix="netui-template"%>
<netui:html>
<head>
<title>Web Application Page</title>
+ <netui:base/>
</head>
- <body>
+ <netui:body>
<p>
New Web Application Page
</p>
- </body>
+ </netui:body>
</netui:html>