+1 supporting DenesL argument. (but we already know this)

note.

default.

breaks app.

we like the feature

but it shouldn't break an app

no reason to have to specifically DISABLE something that hasn't
existed in web2py before ( you know, the empty select or "please
choose a value" breaks my app which is why I'm still running pre-1.70
codebase )

The only reason that it defaults to zero='' is because the person who
originally requested it needed that.

Their only argument was THEY needed it so it should default to it just
for THEIR convenience while everyone else is subjugated to having to
DISABLE a NEW feature.

-Thadeus





On Fri, Jan 29, 2010 at 9:31 AM, DenesL <denes1...@yahoo.ca> wrote:
>
> I must insist.
> The point is that IS_IN_DB and IS_IN_SET now show a spurious empty
> option by default.
> The keyword here is default.
>
> If you want to introduce a 'choose a value" option you should do it
> explicitly and 'at your own risk', the risk being that it creates an
> option that when selected will cause an error.
>
> An empty option is plainly wrong, it is not part of the IS_IN_DB or
> IS_IN_SET options. It is completely artificial.
>
> How many times the option has been changed should not matter, getting
> it right should.
> Denes.
>
>
> On Jan 29, 10:06 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
>> There is no way to please everybody here. some people ask for
>> zero=None, some for zero='', some for zero='Please choose a value'.
>> There is no right or wrong. I think we should leave the default as is
>> ('', we changed it twice already) and you configure it as needed.
>>
>> Massimo
>>
>> On Jan 29, 9:00 am, DenesL <denes1...@yahoo.ca> wrote:
>>
>> > <bump>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "web2py-users" group.
> To post to this group, send email to web...@googlegroups.com.
> To unsubscribe from this group, send email to 
> web2py+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/web2py?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to