Re: Strang issue with NamedVariablePatternMatcher

2010-07-22 Thread Kevin Jones
To answer my own question. I've spent a very frustrating day trying to fix this! On my Posts controller I had this @Namespace("/blogs/{blogId}") public class PostsController implements ModelDriven turns out I needed this @Namespace("/blogs/{blogsId}") public class PostsController implements Mo

Strang issue with NamedVariablePatternMatcher

2010-07-22 Thread Kevin Jones
I'm using Struts2, REST with the Convention plugin and the NamedVariablePatternMatcher along with some code that Jeromy Evans provided for a "HierarchicalRestActionMapper" and all my controllers are model driven. This nearly all works! Let's say I'm building a blog so I want URLs like /blogs/1/pos