[Catalyst] Custom constraint subroutines no getting form value using Catalyst::Plugin::FormValidator

2009-04-01 Thread kakimoto
Hi, guys, I have been trying to create some custom constraints for my form attributes. I use Catalyst::Plugin::FormValidator when I call my custom subroutine that handles a custom constraint, I notice it will not get the attribute value. I have looked up the docs for 1) Data::FormValidator::

Re: [Catalyst] DELETE through REST and Jemplate

2009-04-01 Thread J. Shirley
On Wed, Apr 1, 2009 at 3:21 PM, Lee Aylward wrote: > On Mon, Mar 30, 2009 at 04:24:42PM +0200, Emmanuel Quevillon wrote: > > Hi, > > > > I am playing with REST and Jemplate from the great Tuts from JRock's > > book. > > However, I am facing a problem. I understand well how to retrieve > > data fr

Re: [Catalyst] DELETE through REST and Jemplate

2009-04-01 Thread Lee Aylward
On Mon, Mar 30, 2009 at 04:24:42PM +0200, Emmanuel Quevillon wrote: > Hi, > > I am playing with REST and Jemplate from the great Tuts from JRock's > book. > However, I am facing a problem. I understand well how to retrieve > data from a REST url and playing Ajax with it, by a GET method. > However

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

2009-04-01 Thread kakimoto
Interesting. I will give it some more thought. Thanks :) Quoting kevin montuori : > > "DD" == David Dorward writes: > > DD> Limiting the side effects of laziness and bad practices with > other bad > DD> practices ... well, that's an interesting argument, I'll give > you that. > > that's

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

2009-04-01 Thread kakimoto
Quoting Octavian Rasnita : > From: > > --> 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 to let them do it, > and

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

2009-04-01 Thread kakimoto
Quoting 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'

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

2009-04-01 Thread kevin montuori
> "DD" == David Dorward writes: DD> Limiting the side effects of laziness and bad practices with other bad DD> practices ... well, that's an interesting argument, I'll give you that. that's funny. all other things being equal, since catalyst controllers can be method agnostic there's no r

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

2009-04-01 Thread Octavian Rasnita
From: --> 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 to let them do it, and the next time when they'll come, they will see t

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 d

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

2009-04-01 Thread kakimoto
fromDavid 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. --> True . That's why I used the word, "prefered" and not "compulsory" LOL 2) using GET for a content sensitive

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 reque st is a post?

2009-04-01 Thread Andreas Mock
> -Ursprüngliche Nachricht- > Von: > Gesendet: 01.04.09 13:05:29 > An: The elegant MVC web framework > Betreff: Re: [Catalyst] How to detect if the current form request is a post? Just for those who are interested: http://www.w3.org/2001/tag/doc/whenToUseGet.html#checklist Best regards

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 t

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

2009-04-01 Thread Octavian Rasnita
From: huh? I woudlnt' use GET unless it's for something very simple such as a REST request or a way to learn CGI. I certainly dont want people book marking a url with parameters So you say that what Google does is something not recommended and that they should use the POST method? Octavia

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

2009-04-01 Thread kakimoto
huh? I woudlnt' use GET unless it's for something very simple such as a REST request or a way to learn CGI. I certainly dont want people book marking a url with parameters especially if i ran a banking transaction website. Quoting Octavian Rasnita : > From: > > Thank you:) > > Yep, and I a

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

2009-04-01 Thread Octavian Rasnita
From: 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 search forms that use PO