-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This can support domain matching layout? #71
Comments
org.sitemesh.webapp.WebAppContext.getRequestPath() |
if you still need this feature, we are willing to implement it. Let us know. |
I can offer 2 solutions in the meantime: Extend the PathBasedDecoratorSelector
You can get the Altneratively, you could all the work inside the page by dynamically setting the decorator using a meta tag: Here is an example: <c:if test="${not empty param.bootstrap}">
<meta name="decorator" content="bootstrap.jsp${not empty param.doubled?',chaining.html':''}" />
</c:if> |
org.sitemesh.webapp.WebAppContext.getRequestPath()返回的路径只包含了项目信息,去除了域名http://localhost:8080/,比如我对于http://l192.168.1.100:8080和http://l192.168.1.111:8080要使用不同的布局,这个就没办法了吗?
The text was updated successfully, but these errors were encountered: