[appfuse-user] REST implementation web.xml configuration

2010-01-19 Thread mschipperheyn
Hi, I'm trying to set up REST support with Spring 3.0, Sitemesh and Freemarker. By default the filters are configured for *.html but when I change them to /*, the handler correctly executes, but the page fails because apparently it tries to call freemarker decorators stored in the WEB-INF directo

Re: [appfuse-user] REST implementation web.xml configuration

2010-01-19 Thread Matt Raible
Can you please re-post this with more readable formatting? On Tue, Jan 19, 2010 at 9:17 AM, mschipperheyn wrote: > Hi, I'm trying to set up REST support with Spring 3.0, Sitemesh and > Freemarker. By default the filters are configured for *.html but when I > change them to /*, the handler correct

Re: [appfuse-user] Test fail java.lang.NullPointerException at org.appfuse.service.UserSecurityAdvice.before(UserSecurityAdvice.java:54)

2010-01-19 Thread Magnús Skúlason
Hi Matt, Thanks a lot for answering my mail, first of all I am on appfuse version 2.0.2 and In my file line 54 is: for (GrantedAuthority role1 : roles) { that is the line below the one that you mention, I am pretty sure I have not done any changes but here is the start of the void before method.

Re: [appfuse-user] Test fail java.lang.NullPointerException at org.appfuse.service.UserSecurityAdvice.before(UserSecurityAdvice.java:54)

2010-01-19 Thread Matt Raible
I'm not sure how to solve this (or reproduce it) if it doesn't happen in the bare-bones archetype. Can you try creating a new project and trying to reproduce it? I can fix it easier if I know how to reproduce it. Matt 2010/1/19 Magnús Skúlason > Hi Matt, > > Thanks a lot for answering my mail,

Re: [appfuse-user] REST implementation web.xml configuration

2010-01-19 Thread mschipperheyn
Sorry, Nabble got me there. Let me do a little test before doing it again: -- View this message in context: http://n4.nabble.com/REST-implementation-web-xml-configuration-tp1017692p1018029.html Sent from the AppFuse - User mailing list archive at Nabble.com.

Re: [appfuse-user] REST implementation web.xml configuration

2010-01-19 Thread mschipperheyn
Sorry again, should have used preview. Ok, well this works. Ok, the state of the union. I'm trying to set up Spring 3.0 RESTful style URLs. This requires me to eliminate the *.html url-pattern on the dispatcher and use /*. However, this has as a consequence that when the Freemarker Sitemesh De