Ken you are right, there are few options how to integrate Sitemesh
with Struts2 and all are documented on the page
http://struts.apache.org/development/2.x/docs/sitemesh-plugin.html
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
2013/5/9 Ken McWilliams :
> I know very little abo
I know very little about sitemesh integration and am away from my
development machine but I think the integration guides mention you need to
use the StrutsPrepareFilter followed by the
SiteMeshFilter filter followed by the StrutsExecute filter.
Guessing but the SiteMeshFilter might be a custom one
alpha:/var/apache-tomcat-7.0.34/webapps/ecommerce # cat partsearchinput.jsp
<%@ taglib prefix="s" uri="/struts-tags"%>
the above code works, and verified by
http://localhost/ecommerce/partsearchinput.jsp
but, after i start to use sitemesh, it has the problem as the following
The Strut
Hi Every,
I am interested to use Sitemesh instead of tiles after reading the
advantages of sitemesh over tiles.
But somewhere i also read his one
" Sitemesh will attempt to store the entire contents of an html page in
memory prior to decorating it. Very large pages could cause memory problems.
"
/webAppName/decorators/printable.jsp works
Does this help?
Martin--
- Original Message -
From: "Filipe David Manana" <[EMAIL PROTECTED]>
To:
Sent: Friday, December 14, 2007 11:17 AM
Subject: Struts 2 + Sitemesh decorator mapping
> Hi,
>
> Anyone using Struts 2 with mul
I fixed the problem:
the pattern /*/lsf/* worked :)
Thank you for replying.
On Dec 14, 2007 9:23 PM, Dale Newfield <[EMAIL PROTECTED]> wrote:
> Filipe David Manana wrote:
> > Anyone using Struts 2 with multiple Sitemesh decorators?
>
> Yep.
>
> You mention using more than one decorator, but t
Filipe David Manana wrote:
Anyone using Struts 2 with multiple Sitemesh decorators?
Yep.
You mention using more than one decorator, but the decorators.xml file
you show only has one. It's scanned in order, and the first matching
one is used. Do you have your "other" decorator (with "/*") l
Hi,
Anyone using Struts 2 with multiple Sitemesh decorators?
I am trying to map a decorator to a specific subset of my webapp's URI
space.
The structure of my src/main/webapp dir is:
[EMAIL PROTECTED]:~/apache/struts/cdbweb2/src/main/webapp$ tree
.
|-- WEB-INF
| |-- decorators
| | `-- lsf
Mauricio, post here your configuration. I have Sitemesh running in my
pet project.
2007/6/4, Nunes <[EMAIL PROTECTED]>:
Hi
My name's Mauricio, today I'm trying to use struts 2 with sitemesh but i
having a problem when I mapping my actions.
How I applying other decorator in my results pages?
Tha
Hi
My name's Mauricio, today I'm trying to use struts 2 with sitemesh but i
having a problem when I mapping my actions.
How I applying other decorator in my results pages?
Thank you.
--
View this message in context:
http://www.nabble.com/Struts-2-%2B-Sitemesh-tf3866742.html#a10954711
Sent from
This is so Struts can support both Velocity and Freemarker with
Sitemesh. The end user shouldn't have to ever see it.
Don
On 9/27/06, Garner Shawn <[EMAIL PROTECTED]> wrote:
Can somebody show me an implementation of this class?
I'm not sure what I'm suppose to do with the abstract method.
Sha
Can somebody show me an implementation of this class?
I'm not sure what I'm suppose to do with the abstract method.
Shawn
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I'm still not sure why my decorator JSP has scriptlet values not
evaluated when decorating a HTML file. I think it is the same reason
the s:url doesn't render the context path too though.
I'm not exactly sure how it can evaluate the decorator:applyDecorator
but then the scriptlet doesn't know any
ag?
Shawn
-
From: "David Friedman" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Date: Thu, 21 Sep 2006 23:04:41 -0400
Subject: RE: [Struts 2][Sitemesh] s:url in decorator file and html file
You keep emailing
PROTECTED]
Sent: Thursday, September 21, 2006 8:07 PM
To: user@struts.apache.org; [EMAIL PROTECTED]
Subject: [Struts 2][Sitemesh] s:url in decorator file and html file
I have a subdirectory with an html file when I click on a link it
takes me to the html file.
A decorator with navigation links
I have a subdirectory with an html file when I click on a link it
takes me to the html file.
A decorator with navigation links decorates the html page.
The navigation links are relative to the current directory instead of
the context path.
I didn't think it was suppose to du this with
It render
16 matches
Mail list logo