SiteMesh parses the HTML from WW and extract the meta tags, the title and the content of the page. It then decorates the page using a template.

Jérôme.

Jason Carreira wrote:

Well, I'm not really familiar with Sitemesh's internals, but the filter could be processing before and/or after the request reaches the Servlet...



-----Original Message-----
From: Jerome BERNARD [mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2003 2:56 PM
To: [EMAIL PROTECTED]
Subject: Re: [OS-webwork] WW2 Tags in SiteMesh decorators



I think this is the other way around: SiteMesh wraps the output from WW into a decorated HTML page.


Regards,
Jérôme.

Jason Carreira wrote:



The problem is that Sitemesh is a filter, so it operates before any WebWork code, so nothing is set up.

I'm not sure of a solution...

Jason





-----Original Message-----
From: Vincent Faidherbe [mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2003 4:45 AM
To: [EMAIL PROTECTED]
Subject: [OS-webwork] WW2 Tags in SiteMesh decorators


It seems that it isn't possible to use WW2 tags in SiteMesh
decorators because tags suchs ww:property or ww:iterator fail to rerieve the ValueStack from the ActionContext.
I had a the same issue in a home-made tag but I fixed the


problem by

replacing the call ActionContext.getContext().getValueStack() by (OgnlValueStack)request.getAttribute("webwork.valueStack"). I think it should be an issue related to the fact that the ActionContext is thread-local variable.
Any idea?





------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to