Skip to content

Loading…

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

Merged
merged 1 commit into from

4 participants

@joewalnes joewalnes merged commit c7752d2 into sitemesh:master
@joewalnes
SiteMesh member

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

@samaxes samaxes deleted the samaxes:SIM-168 branch
@zhang-yuan

Same problem here, is this project still alive ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 27, 2011
  1. @samaxes
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/java/com/opensymphony/sitemesh/webapp/SiteMeshFilter.java
View
1 src/java/com/opensymphony/sitemesh/webapp/SiteMeshFilter.java
@@ -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.