Let me look into that. You may be right. I never tried to do that.

On Nov 3, 10:05 am, "José Deodoro de Oliveira Filho"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I wrote some code that wraps up a SQLFORM into a DIV such as:
>
> def layout_form(item):
>      f = SQLFORM(db.whatever, item)
>      return DIV(f, _class='form_div')
>
> And I just noticed that DIV.accepts doesn't call SQLFORM.accepts (it calls
> rec_accepts for the child elements). Shouldn't SQLFORM.accepts be split in
> two (accepts and rec_accepts) like the INPUT and DIV ?
>
> Deodoro Filho
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to