Re: Convention without REST

2010-12-15 Thread stanlick
Thanks Allen -- I modified the remove() to return SUCCESS and it only resulted in a different error; namely: *Messages*: No result defined for action com.foo.actions.music.InstrumentsAction and result success From all the reading (source code is next) it sure seems like *

Convention without REST

2010-12-14 Thread stanlick
I began writing about the 2.2.1 convention plugin and naturally started writing code. I especially like not having to code XML when my file naming is clean and straightforward. I started off with a package named *com.foo.actions.music* which resolves to the namespace (URL)* /music*. Next I

Re: Convention without REST

2010-12-14 Thread Allen Lee
I think this does the right thing if you return Action.SUCCESS in your remove() action method instead of remove. Otherwise you'll need a custom result mapping for that new result string. On Tue, Dec 14, 2010 at 8:57 AM, stanl...@gmail.com wrote: I began writing about the 2.2.1 convention