[S2] NPE when using struts form tags in sitemesh decorator

2008-07-14 Thread Piero Sartini
The S2 version is 2.1.3-SNAPSHOT. The exact same project was working some time ago with 2.1.1-SNAPSHOT. So maybe this is something that got broken in newer builds. The problem seems to be that Freemarker can't get its configuration at this point. But ActionContextCleanUp is the first filter in

Re: [S2] NPE when using struts form tags in sitemesh decorator

2008-07-14 Thread Piero Sartini
Ok, the problem was that since 2.1.3 the filters changed: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter instead of ActionContextCleanup and org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter instead of the FilterDispatcher. Now everything works like expected. I will update

Re: [S2] NPE when using struts form tags in sitemesh decorator

2008-07-14 Thread Musachy Barroso
Don is still working on those changes, you could open a ticket to make sure everything gets documented. musachy On Mon, Jul 14, 2008 at 1:22 PM, Piero Sartini [EMAIL PROTECTED] wrote: Ok, the problem was that since 2.1.3 the filters changed:

Re: [S2] NPE when using struts form tags in sitemesh decorator

2008-07-14 Thread Piero Sartini
I added a warning box with title Struts 2.1.3 to the wiki page of struts2-sitemesh-plugin. Hope this is ok... I looked there before searching the code, maybe it helps others. Is there a solution for the version problem in the wiki now? I remember there was no way to handle this some time ago.

Re: [S2] NPE when using struts form tags in sitemesh decorator

2008-07-14 Thread Musachy Barroso
I added a warning box with title Struts 2.1.3 to the wiki page of struts2-sitemesh-plugin. Hope this is ok... I looked there before searching the code, maybe it helps others. yes that is perfect, thanks. Is there a solution for the version problem in the wiki now? I remember there was no