Asleson, Ryan wrote:
<page:applyDecorator name="theDecorator" page="/include/footer.action
<http://www.biworldwide.com/info/index.html> " />
When you use this tag, how does sitemesh invoke the action? The
exception implies its looking for a file and doesn't know it needs to
invoke something through Struts2 Filter. I'm not sure of the solution,
but it should be a common SiteMesh question.
Relph,Brian wrote:
You might try this:
<page:applyDecorator name="theDecorator">
<s:action name="footer" executeResult="true" />
</page:applyDecorator>
This works because the action is not invoked via the Filter. Instead
its invoked directly by the tag as the code emulates an invocation and
action context, with the inherent risks already mentioned. However, as
the output from the action is written to the response, so I'm not sure
how SiteMesh would know how to decorate only that section.
You could try using the s:include tag as it works differently than
s:action, but I'm still not sure how sitemesh will go with it.
Which version of Struts2 are you using exactly?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]