Re: Global messages.jsp file included in a SiteMesh decorator

2007-03-14 Thread Guillaume Carré
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

Re: Global messages.jsp file included in a SiteMesh decorator

2007-03-14 Thread mraible
-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

Re: Global messages.jsp file included in a SiteMesh decorator

2007-03-14 Thread Guillaume Carré
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.

Re: Global messages.jsp file included in a SiteMesh decorator

2007-03-14 Thread mraible
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

Re: Global messages.jsp file included in a SiteMesh decorator

2007-03-14 Thread Guillaume Carré
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:

Re: Global messages.jsp file included in a SiteMesh decorator

2007-03-14 Thread mraible
-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]

Re: Global messages.jsp file included in a SiteMesh decorator

2007-03-14 Thread Guillaume Carré
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

Global messages.jsp file included in a SiteMesh decorator

2007-03-13 Thread mraible
/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