--
---
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/js8yZubo_cQ/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
The forms are nested in the source code (presumably your LOAD is inserted within the body of the main form). Looks like jQuery UI moves the inner form to a different part of the DOM, but notice that the re-located form DOM no longer includes a <form> element. Because of that, the web2py_trap_form() doesn't have any form to trap and submit.
googel Chrome inspector shows, that dialog is after/outside <div class="container">...</div>while Product form is inside main container.
I think the problem might be that you have one form nested inside the other -- try moving the new category form outside of the create product form DOM.
The forms are nested in the source code (presumably your LOAD is inserted within the body of the main form). Looks like jQuery UI moves the inner form to a different part of the DOM, but notice that the re-located form DOM no longer includes a <form> element. Because of that, the web2py_trap_form() doesn't have any form to trap and submit.yes the LOAD is called in another form (as this is special widget behaviour)how could I workaound this keeping functionality of widget?
The forms are nested in the source code (presumably your LOAD is inserted within the body of the main form). Looks like jQuery UI moves the inner form to a different part of the DOM, but notice that the re-located form DOM no longer includes a <form> element. Because of that, the web2py_trap_form() doesn't have any form to trap and submit.yes the LOAD is called in another form (as this is special widget behaviour)how could I workaound this keeping functionality of widget?That slices uses an Ajax component (i.e., LOAD(..., ajax=True)) -- why not just do it that way?
with ajax=True I mentioned other issues,
if I have forms with 2 levels of parent (with this widget) ,after I open 3rd form (2nd dialog), the 1st dialog messes up (somehow gets contents of the main page???)
Anthony--
---
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/js8yZubo_cQ/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
The problem may be related to the interaction between jQuery UI .dialog() and the web2py component (I don't know enough about jQuery UI dialog to track it down, though).