Dennis Schulz wrote:
I dont know if it is the proper way,
but when I return an empty string there is no validation error.
This was also one of the strangest things I found out with formlib.
I found that returning {} also works. But this is clearly a design
weakness if there is no other
On Thu, Feb 15, 2007 at 09:55:19AM +, Martin Aspeli wrote:
Dennis Schulz wrote:
I dont know if it is the proper way,
but when I return an empty string there is no validation error.
This was also one of the strangest things I found out with formlib.
I found that returning {} also
Marius Gedminas wrote:
On Thu, Feb 15, 2007 at 09:55:19AM +, Martin Aspeli wrote:
Dennis Schulz wrote:
I dont know if it is the proper way,
but when I return an empty string there is no validation error.
This was also one of the strangest things I found out with formlib.
I found that
Martin Aspeli wrote:
Marius Gedminas wrote:
On Thu, Feb 15, 2007 at 09:55:19AM +, Martin Aspeli wrote:
Dennis Schulz wrote:
I dont know if it is the proper way,
but when I return an empty string there is no validation error.
This was also one of the strangest things I found out with
Philipp von Weitershausen wrote:
Martin Aspeli wrote:
Marius Gedminas wrote:
On Thu, Feb 15, 2007 at 09:55:19AM +, Martin Aspeli wrote:
Dennis Schulz wrote:
I dont know if it is the proper way,
but when I return an empty string there is no validation error.
This was also one of the
On Thu, Feb 15, 2007 at 05:37:52PM +0100, Philipp von Weitershausen wrote:
Martin Aspeli wrote:
Marius Gedminas wrote:
On Thu, Feb 15, 2007 at 09:55:19AM +, Martin Aspeli wrote:
Dennis Schulz wrote:
I dont know if it is the proper way,
but when I return an empty string there is no
Marius Gedminas wrote:
I'd be happy to implement and commit something
Yay!
but I'd be happier if
someone else designed the API. When I try to design APIs myself, I tend
to change my mind too often. Now I want
@form.action(Cancel, validator=None)
to mean do no validation. But
@form.action(Cancel, validator=None)
-1 from me
Currently above code is same as:
@form.action(Cancel)
So I think this is a very common pattern that means:
do standard validation, do not use additional action validator.
In general there are two
validators. Action validator (one we are
Maciej Wisniowski wrote:
@form.action(Cancel, validator=None)
-1 from me
Currently above code is same as:
@form.action(Cancel)
So I think this is a very common pattern that means:
do standard validation, do not use additional action validator.
Yes. I think you misunderstand my
Yes. I think you misunderstand my suggestion.
I knew someone will write this :)
I didn't think about default validator value before sending
my previous email. I found this pattern after later... at bed :)
so I agree that this might be a good solution that has
enough backward compatibility and
10 matches
Mail list logo