Re: [Catalyst] How to detect if the current form request is a post?

2009-04-01 Thread Octavian Rasnita
From: kakim...@tpg.com.au Thank you:) Yep, and I am aware of GET as a form request method and yes, i hate it. Why? I knew that it should be the prefered method for the forms that don't change anything on the server, like a search form. Isn't this true? I ask this because I've seen many

Re: [Catalyst] How to detect if the current form request is a post?

2009-04-01 Thread kakimoto
Read my response. I said 1) POST is the prefered method 2) using GET for a content sensitive site like an online banking site is bad. I m sure you would not want to have people book marking your session ID , or worst, the user credentials used to login and access certain pages which are private

Re: [Catalyst] How to detect if the current form request is a post?

2009-04-01 Thread David Dorward
kakim...@tpg.com.au wrote: Read my response. I said 1) POST is the prefered method Not according to the standard. Everything has its place. 2) using GET for a content sensitive site like an online banking site is bad. I m sure you would not want to have people book marking your session ID

Re: [Catalyst] How to detect if the current form request is a post?

2009-04-01 Thread kakimoto
fromDavid Dorward da...@dorward.me.uk kakim...@tpg.com.au wrote: Read my response. I said 1) POST is the prefered method Not according to the standard. Everything has its place. -- True . That's why I used the word, prefered and not compulsory LOL 2) using GET for a

Re: [Catalyst] How to detect if the current form request is a post?

2009-04-01 Thread David Dorward
kakim...@tpg.com.au wrote: -- So, tell me, would you like to allow people to bookmark transaction ID numbers or attributes which are not permanent (ie will last until a transaction is done)? Why would a user try to bookmark such a page? It doesn't make sense. What harm would it do if they

Re: [Catalyst] How to detect if the current form request is a post?

2009-04-01 Thread kakimoto
Quoting Octavian Rasnita orasn...@gmail.com: From: kakim...@tpg.com.au -- So, tell me, would you like to allow people to bookmark transaction ID numbers or attributes which are not permanent (ie will last until a transaction is done)? Yes. If the users want to do that, it is very good

[Catalyst] How to detect if the current form request is a post?

2009-03-31 Thread kakimoto
hi all In Ruby we can detect if the current form's request is a post or not. def controller_action if request.post? # Process post data as the user has submitted the form. else # Display form end end Looking at Catalyst::Request

Re: [Catalyst] How to detect if the current form request is a post?

2009-03-31 Thread J. Shirley
On Tue, Mar 31, 2009 at 4:01 PM, kakim...@tpg.com.au wrote: hi all In Ruby we can detect if the current form's request is a post or not. def controller_action if request.post? # Process post data as the user has submitted the form. else # Display form end

Re: [Catalyst] How to detect if the current form request is a post?

2009-03-31 Thread Kieren Diment
On 01/04/2009, at 10:47 AM, J. Shirley wrote: On Tue, Mar 31, 2009 at 4:01 PM, kakim...@tpg.com.au wrote: hi all In Ruby we can detect if the current form's request is a post or not. def controller_action if request.post? # Process post data as the user has submitted the

Re: [Catalyst] How to detect if the current form request is a post?

2009-03-31 Thread kakimoto
Thank you:) Yep, and I am aware of GET as a form request method and yes, i hate it. haha K. akimoto Quoting J. Shirley jshir...@gmail.com: On Tue, Mar 31, 2009 at 4:01 PM, kakim...@tpg.com.au wrote: hi all In Ruby we can detect if the current form's request is a post or not.