Re: Can anyone help me with an example of REST with mutiple paras

2008-08-26 Thread Ryan Wong
Thanks, Jeromy, that's a very useful example. Jeromy Evans - Blue Sky Minds wrote: > > Ryan Wong wrote: >> how can I apply the URL http://localhost:3000/ontrack/1/sprints/1 to >> action >> to show item with ontract id - 1 and sprints id - 1 >> > Here's an example using the REST plugin: > htt

Re: Can anyone help me with an example of REST with mutiple paras

2008-08-25 Thread Jeromy Evans
Ryan Wong wrote: how can I apply the URL http://localhost:3000/ontrack/1/sprints/1 to action to show item with ontract id - 1 and sprints id - 1 Here's an example using the REST plugin: http://www.blueskyminds.com.au/url-hierarchy/

Re: Can anyone help me with an example of REST with mutiple paras

2008-08-25 Thread Ryan Wong
I found org.apache.struts2.dispatcher.mapper.Restful2ActionMapper in struts2-core support that url patern so why should we still need a rest plugin? to simplify the configuration? Ryan Wong wrote: > > how can I apply the URL http://localhost:3000/ontrack/1/sprints/1 to > action > to show item w