What book are you looking at? I can't find that phrase anywhere in the book.

On Monday, January 14, 2013 6:09:22 AM UTC-7, Kostas M wrote:
>
>
> What I have found out  about not firing at all is that in 
> SQLFORM.smartgrid,
> ondelete and oncreate callbacks should not be dictionaries!
>
> Although the book says: "All the arguments but the table, args, 
> linked_table and user_signatures can be dictionaries ..'',
> and in my case e.g: 
> deletable=dict(analyses=is_open, samples=is_open),
> works fine, if I declare:
> ondelete=dict( samples=my_sample_delete )
> doesn't fire the event. Whereas, 
>
> ondelete=my_sample_delete
>
>
> fires it, and prints a sample message...
>
>>
>>
>>

-- 



Reply via email to