svn commit: r1701441 - in /ofbiz/trunk/specialpurpose: example/widget/exampleext/ exampleext/webapp/exampleext/error/ exampleext/webapp/exampleext/error/error.jsp exampleext/widget/example/ExampleForms.xml exampleext/widget/example/ExampleMenus.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1701441 - in /ofbiz/trunk/specialpurpose: example/widget/exampleext/ exampleext/webapp/exampleext/error/ exampleext/webapp/exampleext/error/error.jsp exampleext/widget/example/ExampleForms.xml exampleext/widget/example/ExampleMenus.xml

shijh
Author: shijh
Date: Sun Sep  6 04:34:16 2015
New Revision: 1701441

URL: http://svn.apache.org/r1701441
Log:
OFBIZ-6601 example component causes exceptions

1. Add specialpurpose/webapp/exampleext/error/error.jsp to display error page.
2. Move specialpurpose/example/widget/exampleext to specialpurpose/exampleext/widget/example.

Added:
    ofbiz/trunk/specialpurpose/exampleext/webapp/exampleext/error/
    ofbiz/trunk/specialpurpose/exampleext/webapp/exampleext/error/error.jsp   (with props)
    ofbiz/trunk/specialpurpose/exampleext/widget/example/ExampleForms.xml
      - copied unchanged from r1701353, ofbiz/trunk/specialpurpose/example/widget/exampleext/ExampleForms.xml
    ofbiz/trunk/specialpurpose/exampleext/widget/example/ExampleMenus.xml
      - copied unchanged from r1701353, ofbiz/trunk/specialpurpose/example/widget/exampleext/ExampleMenus.xml
Removed:
    ofbiz/trunk/specialpurpose/example/widget/exampleext/

Added: ofbiz/trunk/specialpurpose/exampleext/webapp/exampleext/error/error.jsp
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/exampleext/webapp/exampleext/error/error.jsp?rev=1701441&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/exampleext/webapp/exampleext/error/error.jsp (added)
+++ ofbiz/trunk/specialpurpose/exampleext/webapp/exampleext/error/error.jsp Sun Sep  6 04:34:16 2015
@@ -0,0 +1,52 @@
+<%--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+--%>
+<%@ page import="org.ofbiz.base.util.*" %>
+<html>
+<head>
+<title>Open For Business Message</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+</head>
+
+<% String errorMsg = (String) request.getAttribute("_ERROR_MESSAGE_"); %>
+
+<body bgcolor="#FFFFFF">
+<div align="center">
+  <br/>
+  <table width="100%" border="1" height="200">
+    <tr>
+      <td>
+        <table width="100%" border="0" height="200">
+          <tr bgcolor="#CC6666">
+            <td height="45">
+              <div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="4" color="#FFFFFF"><b>:ERROR MESSAGE:</b></font></div>
+            </td>
+          </tr>
+          <tr>
+            <td>
+              <div align="left"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><%=UtilFormatOut.replaceString(errorMsg, "\n", "<br/>")%></font></div>
+            </td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+  </table>
+</div>
+<div align="center"></div>
+</body>
+</html>
\ No newline at end of file

Propchange: ofbiz/trunk/specialpurpose/exampleext/webapp/exampleext/error/error.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/exampleext/webapp/exampleext/error/error.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/specialpurpose/exampleext/webapp/exampleext/error/error.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain