RE: S2: basic question on rest plugin

2009-11-14 Thread Martin Gainty
Martin Gainty > Date: Saturday, November 14, 2009 2:03 pm > Subject: RE: S2: basic question on rest plugin > > > > > //First we need to define the attributes and methods for each > > Entity to be added/removed > > //in this case it will be called Order >

Re: RE: S2: basic question on rest plugin

2009-11-14 Thread John . C . Cartwright
Thanks for your reply Martin, I think I now have it working using the attribute on the model. --john - Original Message - From: Martin Gainty Date: Saturday, November 14, 2009 2:03 pm Subject: RE: S2: basic question on rest plugin > > //First we need to define the attribut

S2: basic question on rest plugin

2009-11-14 Thread John . C . Cartwright
Hello All, I'm experimenting with the rest plugin (2.1.8) using the example struts2-rest-showcase as a starting point. I wanted to implement a simple search such that a URL like http://localhost:8080/struts2-rest-showcase-2.1.8/orders?amount=66 returned a list of order with the amount of 66.