Skip to content
This repository

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

Merged
merged 1 commit into from over 2 years ago

3 participants

Samuel Santos Joe Walnes peterwkc
Joe Walnes joewalnes merged commit c7752d2 into from August 14, 2011
Joe Walnes joewalnes closed this August 14, 2011
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 May 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Apr 27, 2011
Samuel Santos [SIM-168] Error pages are not correctly decorated 72f072d
This page is out of date. Refresh to see the latest.
1  src/java/com/opensymphony/sitemesh/webapp/SiteMeshFilter.java
@@ -77,6 +77,7 @@ public void doFilter(ServletRequest rq, ServletResponse rs, FilterChain chain)
77 77
             Content content = obtainContent(contentProcessor, webAppContext, request, response, chain);
78 78
 
79 79
             if (content == null) {
  80
+                request.setAttribute(ALREADY_APPLIED_KEY, null);
80 81
                 return;
81 82
             }
82 83
 
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.