Re: [S2] REST Plugin + Validation

2008-09-02 Thread Dave Newton
--- On Tue, 9/2/08, alvins wrote: > However the problem is that when validation fails - I need > an input result which is specific for each method. As Jeremy said you'll probably have to do something with a custom workflow; probably the easiest solution. I had a similar problem eons ago with wild

Re: [S2] REST Plugin + Validation

2008-09-02 Thread Jeromy Evans
alvins wrote: Hmm I might just have to do that. I am guessing alot of people will run into this issue with the REST plugin - might be an idea to get some annotation into conventions or rest plugin (not sure where it would go) to allow for method specific result for validation failure? How do thes

Re: [S2] REST Plugin + Validation

2008-09-02 Thread alvins
Hmm I might just have to do that. I am guessing alot of people will run into this issue with the REST plugin - might be an idea to get some annotation into conventions or rest plugin (not sure where it would go) to allow for method specific result for validation failure? How do these things get pr

Re: [S2] REST Plugin + Validation

2008-09-02 Thread Jeromy Evans
alvins wrote: Thanks for the response Jeromy. I am actually already using that setting actually - I have two sets of different validations - one on the create method and one on the update method. However the problem is that when validation fails - I need an input result which is specific for eac

Re: [S2] REST Plugin + Validation

2008-09-02 Thread alvins
Thanks for the response Jeromy. I am actually already using that setting actually - I have two sets of different validations - one on the create method and one on the update method. However the problem is that when validation fails - I need an input result which is specific for each method. I hop

Re: [S2] REST Plugin + Validation

2008-09-01 Thread Jeromy Evans
alvins wrote: Hi guys, I have been wrestling with the REST plugin for the last couple of days and have posted some notes in another thread. I have hit a problem which I need a little help with. Basically in my REST controller I have a create and update method as per the REST guidelines. I need

[S2] REST Plugin + Validation

2008-08-29 Thread alvins
Hi guys, I have been wrestling with the REST plugin for the last couple of days and have posted some notes in another thread. I have hit a problem which I need a little help with. Basically in my REST controller I have a create and update method as per the REST guidelines. I need separate valida