Re: Do a POST with Tapestry and "Link"

2010-11-10 Thread Christian Köberl
re/ref/org/apache/tapestry5/corelib/components/LinkSubmit.html). Simple form example with LinkSubmit: # Submit me -- View this message in context: http://tapestry-users.832.n2.nabble.com/Do-a-POST-with-Tapestry-and-Link-tp5717358p5724205.html Sent from the Tapestry Users mailing list

Do a POST with Tapestry and "Link"

2010-11-08 Thread Khalid EL BOUKHARI
Hi, I need to do POST in Tapestry for example : When I try : String data = URLEncoder.encode("*FirstParam*", "UTF-8") + "=" + URLEncoder.encode("*FirstParam*", "UTF-8"); data += "&" + URLEncoder.encode("*SndParam*", "UTF-8") + "=" + URLEncoder

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

Do a post with Tapestry and Link

2010-11-08 Thread Khalid EL BOUKHARI
Hi, I need to do POST in Tapestry for example : When I try : String data = URLEncoder.encode("*FirstParam*", "UTF-8") + "=" + URLEncoder.encode("*FirstParam*", "UTF-8"); data += "&" + URLEncoder.encode("*SndParam*", "UTF-8") + "=" + URLEncoder