Thank you. Can u pls provide a sample code for this? Sent from my iPhone
On 24 Mar 2013, at 19:37, Alan Etkin <spame...@gmail.com> wrote: Hi, > Here the codes. Is there a quick way add multiple child objects to a > parent in one page? > > Which are the children and which are the parets?. It seems that you want to add many invoice details without requesting new form pages (within the same invoice page). I think that it's possible to build a customized parent child manager with SQLFORM.smartgrid. However, it would require a page reload for each new child, AFAIK. Another possible approach would be a combination of normal crud/SQLFORM form, a LOADed, self-submitted child form. and perhaps a component with a list of children and a callback bound to the child component submit event. -- --- You received this message because you are subscribed to a topic in the Google Groups "web2py-users" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/E8KnPq0ZGqM/unsubscribe?hl=en. To unsubscribe from this group and all its topics, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.