You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rave.apache.org by ja...@apache.org on 2011/10/11 09:07:00 UTC
svn commit: r1181638 -
/incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/views/error.jsp
Author: jasha
Date: Tue Oct 11 07:06:59 2011
New Revision: 1181638
URL: http://svn.apache.org/viewvc?rev=1181638&view=rev
Log:
fmt:setBundle is needed to display the messages. Commented the image, it is missing in the codebase
Modified:
incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/views/error.jsp
Modified: incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/views/error.jsp
URL: http://svn.apache.org/viewvc/incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/views/error.jsp?rev=1181638&r1=1181637&r2=1181638&view=diff
==============================================================================
--- incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/views/error.jsp (original)
+++ incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/views/error.jsp Tue Oct 11 07:06:59 2011
@@ -5,6 +5,7 @@
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="portal" uri="http://www.apache.org/rave/tags" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="rave"%>
+<fmt:setBundle basename="messages"/>
<rave:rave_generic_page pageTitle="Error ${requestScope['javax.servlet.error.status_code']}: ${requestScope['javax.servlet.error.exception_type'].simpleName}">
<header>
<h1>
@@ -13,8 +14,11 @@
</header>
<div id="content" >
<div id="errorMessage">
- <div class="errorLogo"><img src="<spring:url value="images/error_generic.png" />" alt="Error has occurred"
+ <%-- Image is missing in the codebase --%>
+<%--
+ <div class="errorLogo"><img src="<c:url value="/images/error_generic.png" />" alt="Error has occurred"
title="Error has occurred"/></div>
+--%>
<div class="errorMessage">
<fmt:message key="page.error.message" />
<a href="javascript: window.location.reload();"><fmt:message key="page.error.reload" /></a>.<br/>