El martes, 25 de diciembre de 2012 23:35:21 UTC-3, Massimo Di Pierro 
escribió:
>
> I am not convinced. 
>
> It is in 
>
>     form.custom.delete
>
> why does it need to be also in
>
>     form.custom.delete_this_record
>
> Perhaps in web3py we can rename it but why have it in two places in web2py?
>
>
>>

With the trunk version you can access a sqlform delete checkbox with:

form.custom.deletable

for me, form.custom.delete doesn't work

I thought that adding the reference to the form field in custom would add 
"consistency" with the form.custom.fieldname syntax preserving the current 
attribute name for avoiding backwards compatibility issues.

Anyway, if the access naming is properly documented in the manual, it's not 
really relevant (and the .deletable name seems to have been used since 
about 2009)

-- 



Reply via email to