actionlink, pagelink -- how to do POST?

2008-11-27 Thread inrila

Hello again,

Both actionlink, pagelink - they do GET which is not very smart for the
let's say delete or some other state changing actions. Do we have an
option how we can do some postbutton or postsomething? :-) Or do we have
to do that manually? Like creating HTML form and then defining submit for
the required action? And how do we check for the type of the request -- is
it GET or POST? Any Tapestry-features we can use? Because onAction()
onActionFrom...() they do not really care if it's GET or POST as I see...

Thanks!
-- 
View this message in context: 
http://www.nabble.com/actionlink%2C-pagelinkhow-to-do-POST--tp20729400p20729400.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: actionlink, pagelink -- how to do POST?

2008-11-27 Thread dhning
If in a form, use linksubmit introduced in latest release 5.0.17.
If not, you can refer to OnEvent in t5components project 
http://code.google.com/p/tapestry5-components/.


Thanks,

DH


- Original Message - 
From: inrila [EMAIL PROTECTED]
To: users@tapestry.apache.org
Sent: Friday, November 28, 2008 2:02 PM
Subject: actionlink, pagelink -- how to do POST?


 
 Hello again,
 
 Both actionlink, pagelink - they do GET which is not very smart for the
 let's say delete or some other state changing actions. Do we have an
 option how we can do some postbutton or postsomething? :-) Or do we have
 to do that manually? Like creating HTML form and then defining submit for
 the required action? And how do we check for the type of the request -- is
 it GET or POST? Any Tapestry-features we can use? Because onAction()
 onActionFrom...() they do not really care if it's GET or POST as I see...
 
 Thanks!
 -- 
 View this message in context: 
 http://www.nabble.com/actionlink%2C-pagelinkhow-to-do-POST--tp20729400p20729400.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]