Re: Do a POST with Tapestry and "Link"

2010-11-10 Thread Christian Köberl
It's not really clear what you want to do. With Tapestry you really don't need to fiddling with URLEncoder or connections. Which Tapestry Version are you targeting (3, 4 or 5)? If you use 5 - take a look at the LinkSubmit component (http://tapestry.apache.org/tapestry5.1/tapestry-core/ref/org/ap

Re: Do a post with Tapestry and Link

2010-11-08 Thread Khalid EL BOUKHARI
Thank you I'll try that.

Re: Do a post with Tapestry and Link

2010-11-08 Thread Thiago H. de Paula Figueiredo
On Mon, 08 Nov 2010 11:01:31 -0200, Khalid EL BOUKHARI wrote: Thank you Joost and Thiago, :) May be may question wasn't clear. So what I need that a method return an object that make a post with the previous params. My interpretation was correct. Tapestry (and any other web framwork) do

Re: Do a post with Tapestry and Link

2010-11-08 Thread Khalid EL BOUKHARI
Thank you Joost and Thiago, May be may question wasn't clear. So what I need that a method return an object that make a post with the previous params. I hope that is more clear now. Cheers, Khalid.

Re: Do a post with Tapestry and Link

2010-11-08 Thread Joost Schouten (ml)
If I read this correctly you are using an external java program to post to a tapestry page. Correct? The error you are refering to is usually associated with the required return type from an event method which you have not shown in your post. Can you post the page code handeling the POST req

Re: Do a post with Tapestry and Link

2010-11-08 Thread Thiago H. de Paula Figueiredo
On Mon, 08 Nov 2010 08:36:46 -0200, Khalid EL BOUKHARI wrote: Hi, Hi! I need to do POST in Tapestry for example : Tapestry handles request, doesn't makes them. Use HttpClient for that. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, devel