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: Intellij reloading page and components templates not working

2010-02-21 Thread Raul Raja Martinez
Ok, I got this solved doing the following... Added the tomcat plugin to my webapp project's pom org.codehaus.mojo tomcat-maven-plugin You can run the server from the console by... mvn clean tomcat:run Then on intellij9 which already includes full maven support you just create a new launch

Re: Intellij reloading page and components templates not working

2010-02-21 Thread Raul Raja Martinez
I'm using version 9. I read somewhere in the list that to get the tapestry5 class reload feature working in Tomcat I need to package the classes in a jar instead of plain .class files. I can't find a way to do this with Intellij 9, I remember being an option before but not on v9. I have that dialog

Re: Hosting Apache Tapestry5.1 on GAE (Google Application Engine)

2010-02-21 Thread Thiago H. de Paula Figueiredo
On Sun, 21 Feb 2010 19:11:26 -0300, Muhammad Mohsen wrote: Adding, I'd say that the low performance is due to the single thread restriction that GAE forces on tapestry and most probably other frameworks. I'm not following you. GAE doesn't allow spawning new threads but, unless the frame

Re: Hosting Apache Tapestry5.1 on GAE (Google Application Engine)

2010-02-21 Thread Muhammad Mohsen
Adding, I'd say that the low performance is due to the single thread restriction that GAE forces on tapestry and most probably other frameworks. On Sun, Feb 21, 2010 at 1:31 PM, Muhammad Mohsen wrote: > Alex, > > You can check my blog post to fix the assets problem. It's about a > configuration v

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: Intellij reloading page and components templates not working

2010-02-21 Thread Stephan Windmüller
Raul Raja Martinez wrote: > Are there any tips or configuration that we have to consider when developing > with Intellij? Which version of IntelliJ do you use? The current one (Idea 9) has a new dialog for updating running applications: http://blogs.jetbrains.com/idea/2009/10/update-a-running-ja

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: GAE & T5 : Passing a request to the T5 pipeline from a servlet

2010-02-21 Thread Dmitry Gusev
False alarm, its working, the problem was in AccessController On Sun, Feb 21, 2010 at 17:43, Dmitry Gusev wrote: > Hi, Alex! > > Did you had any success with this? > > I have similiar problem now implementing GAE Task Queue API in my T5 app. > > > On Thu, Dec 31, 2009 at 02:41, Alex Kotchnev wr

Re: Intellij reloading page and components templates not working

2010-02-21 Thread Raul Raja Martinez
I'm using tomcat 6.0.18 and using Idea standard run configuration for a war exploded with tomcat. I though the live reloading was app server agnostic. The classes are compiled to projectname/target/classes Idea by default even though it runs war exploded it does copy everything inside the target. I

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: t5: maven problem

2010-02-21 Thread Hilco Wijbenga
On 21 February 2010 06:22, Angelo Chen wrote: > suddenly I can not build my t5 app, got following error: > >  A required plugin was not found: Plugin could not be found - check that the > goal name is correct: Unable to download the artifact from any repository > > mvn install:install-file -Dgroup

Re: Intellij reloading page and components templates not working

2010-02-21 Thread Piero Sartini
> .tml changes work fine, is the java changes that never get reloaded even > after compiling. When running from maven from the console it works fine, but > when running from intellij from a running config it can only pick up regular > hot swapable changes that are in packages not watched by tapestr

Re: Intellij reloading page and components templates not working

2010-02-21 Thread Raul Raja Martinez
Hi Ben, .tml changes work fine, is the java changes that never get reloaded even after compiling. When running from maven from the console it works fine, but when running from intellij from a running config it can only pick up regular hot swapable changes that are in packages not watched by tapest

Re: GAE & T5 : Passing a request to the T5 pipeline from a servlet

2010-02-21 Thread Dmitry Gusev
Hi, Alex! Did you had any success with this? I have similiar problem now implementing GAE Task Queue API in my T5 app. On Thu, Dec 31, 2009 at 02:41, Alex Kotchnev wrote: > I've been struggling a bit w/ getting the GAE blobstore API to upload files > into a GAE T5 based app. All of the example

t5: maven problem

2010-02-21 Thread Angelo Chen
Hi, suddenly I can not build my t5 app, got following error: A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository mvn install:install-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-reso

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

Re: Hosting Apache Tapestry5.1 on GAE (Google Application Engine)

2010-02-21 Thread Muhammad Mohsen
Alex, You can check my blog post to fix the assets problem. It's about a configuration variable regarding the application version. Or check the "Assets" documentation entry at tapestry.com (i.e. for t5.1). It's discussed at the end of the page. But regarding tapx components..i couldn't figure out

How to get RESTful hierarchical URLs

2010-02-21 Thread Alexander Kiel
Hi Tapestry users and devs, this is my first question here and I use Tapestry for only three days now, so excuse my question if there is already a documented answer. Suppose, I want to implement an online store with Tapestry. I like to have the following URLs: * /articles/

Re: t5: Easy template layout

2010-02-21 Thread Alfonso Quiroga
In t5 wikis you have a TLD, if Intellij can autocomplete with a tld, you have that option. Good luck On Sat, Feb 20, 2010 at 10:34 PM, Angelo Chen wrote: > > Hi, > > I have been using Intellij for layout tml files, all are just typing, it > works quite well, I'm looking for an easier way, no need

Re: Intellij reloading page and components templates not working

2010-02-21 Thread Ben Gidley
It works for me - you do need to compile or make for changes to be picked up. If you aren't on 9 you will need to add .tml files to list of resource files the compiler copies. Ben Gidley www.gidley.co.uk b...@gidley.co.uk On Sun, Feb 21, 2010 at 4:01 AM, Raul Raja Martinez wrote: > Hi, > > We