Re: How to get RESTful hierarchical URLs

2010-09-10 Thread cleverpig
look here: http://tynamo.org/tapestry-resteasy+guide you can try tynamo resteasy component to implements restful. or add on restlet api or any other JAX-RS implementation that can run as a servlet :http://stackoverflow.com/questions/2765178/tapestry-rest -- View this message in context: http://

Re: How to get RESTful hierarchical URLs

2010-02-21 Thread kamiseq
well you dont create new, view, delete, edit pages rather get, delete, post and put method for customer service pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

Re: How to get RESTful hierarchical URLs

2010-02-21 Thread Geoff Callender
My reading of REST is that it is about actions (GET, POST, PUT, DELETE, etc) on resources, not the requesting of pages that invoke those actions. So the question becomes what are appropriate URLs for *pages* that can invoke the actions of create, view, edit, view, search, etc.? I like the aim

Re: How to get RESTful hierarchical URLs

2010-02-21 Thread Thiago H. de Paula Figueiredo
On Sun, 21 Feb 2010 18:24:52 -0300, Alexander Kiel wrote: Hi Thiago, Hi! So is Tapestry SOA and can't speak REST? Tapestry can speak rest: just use Tapestry's URL rewriting. It can be improved, of course, but that's something built to care to the kind of scenario you have. -- Thia

Re: How to get RESTful hierarchical URLs

2010-02-21 Thread Alexander Kiel
Hi Thiago, thanks, I know this. The block switching is only a bit better if-then-else. Imagine, that I like to have more than one area customized for the teams/team case. There, I will end up with multiple block switchings. And my page still has two times as much components plus the switchings as

Re: How to get RESTful hierarchical URLs

2010-02-21 Thread Thiago H. de Paula Figueiredo
On Sun, 21 Feb 2010 16:19:58 -0300, Alexander Kiel wrote: ok this is possible. But than I have at least one big if-then-else statement in my page and that page has both components loaded, a grid and a beandisplay (if we stay simple). If I use two separate pages, I have no if-then-else nightma

Re: How to get RESTful hierarchical URLs

2010-02-21 Thread Alexander Kiel
Hi Hilico, ok this is possible. But than I have at least one big if-then-else statement in my page and that page has both components loaded, a grid and a beandisplay (if we stay simple). If I use two separate pages, I have no if-then-else nightmare and my pages are much lighter. Additionally I w

Re: How to get RESTful hierarchical URLs

2010-02-21 Thread Hilco Wijbenga
On 21 February 2010 02:11, Alexander Kiel wrote: > * /articles/                         list all articles available > * /articles/{a-id}/                  show one article > * /customers/                        list all customers > * /customers/{c-id}/                 show one customer > * /custom

Re: How to get RESTful hierarchical URLs

2010-02-21 Thread Alexander Kiel
Hi based2, thanks for the http://old.nabble.com/URL-Rewrite-ts27505806.html link. I did not see this post during my research. Looks like some alternative maybe better URL rewriting engine for Tapestry. I already read all the other documents, you pointed me to. I'm also interested in some solution

Re: How to get RESTful hierarchical URLs

2010-02-21 Thread based2
http://tapestry.apache.org/tapestry5.1/guide/url-rewriting.html http://wiki.apache.org/tapestry/FriendlyUrls http://old.nabble.com/URL-Rewrite-ts27505806.html http://tapestryjava.blogspot.com/2007/01/tapestry-5-caseless-urls.html http://wiki.apache.org/tapestry/Tapestry5HowTos Alexander Kiel