2007/3/14, mraible [EMAIL PROTECTED]:
I have a messages.jsp[1] that's included (using %@ include
file=/common/messages.jsp %) in my default decorator. This file has a
couple of calls to the valueStack - namely hasActionErrors() and
hasFieldErrors(). This worked fine in WebWork 2.1.x and Struts
-namestruts/filter-name
url-pattern/*/url-pattern
/filter-mapping
Matt
--
View this message in context:
http://www.nabble.com/Global-messages.jsp-file-included-in-a-SiteMesh-decorator-tf3400265.html#a9477319
Sent from the Struts - User mailing list archive at Nabble.com
2007/3/14, mraible [EMAIL PROTECTED]:
That's the problem, I *do* have the ActionContextCleanUp filter in my
web.xml:
It's working here for me, I've included a test.jsp in my sitemesh
decorator with a ww:property value=test/ in it, and it's able to
access the test object from the value stack.
this message in context:
http://www.nabble.com/Global-messages.jsp-file-included-in-a-SiteMesh-decorator-tf3400265.html#a9477819
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
2007/3/14, mraible [EMAIL PROTECTED]:
What if you use s:if test=hasActionErrors() foo /s:if - does that work
for you as well?
yes it does work as well, as advertized.
And if I remove the ActionContextCleanUp filter, it doesn't work
anymore, I have the following exception:
-file-included-in-a-SiteMesh-decorator-tf3400265.html#a9478424
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
2007/3/14, mraible [EMAIL PROTECTED]:
What if you remove the filter-mapping for Struts' filter in your web.xml?
??
If I remove the Struts' filter nothing works anymore :-)
I have a staticFilter in my application that forwards to static resources
and doesn't hit the Struts FilterDispatcher
/div
c:remove var=messages scope=session/
/c:if
--
View this message in context:
http://www.nabble.com/Global-messages.jsp-file-included-in-a-SiteMesh-decorator-tf3400265.html#a9468706
Sent from the Struts - User mailing list archive at Nabble.com
8 matches
Mail list logo