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
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
Thank you
I'll try that.
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
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.
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
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
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