Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

[SIM-168] Error pages are not correctly decorated #12

Merged
merged 1 commit into from

3 participants

Samuel Santos Joe Walnes peterwkc
Joe Walnes joewalnes merged commit c7752d2 into from
Joe Walnes
Owner

Merged, thanks!

peterwkc

I using sitemesh-2.4.2 but it still does not decorated the error page. Please help. Thanks.
SiteMesh_Filter
SiteMesh_Filter
com.opensymphony.module.sitemesh.filter.PageFilter
true


SiteMesh_Filter
/*
ERROR
REQUEST

Samuel Santos samaxes deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 27, 2011
  1. Samuel Santos
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/java/com/opensymphony/sitemesh/webapp/SiteMeshFilter.java
1  src/java/com/opensymphony/sitemesh/webapp/SiteMeshFilter.java
View
@@ -77,6 +77,7 @@ public void doFilter(ServletRequest rq, ServletResponse rs, FilterChain chain)
Content content = obtainContent(contentProcessor, webAppContext, request, response, chain);
if (content == null) {
+ request.setAttribute(ALREADY_APPLIED_KEY, null);
return;
}
Something went wrong with that request. Please try again.