>
> So, fixed it partially with web2py_component in the view, the web2py 
> component calls the form in the modal-body, and a few lines of js 
> toggle the modal, in this case the info is submited, but the modal 
> doesn't close and I would like to know if there's some way to catch the 
> web2py_component after de post event.
>

In the controller that handles the form submission, you could use 
response.js to return some Javascript code, which will be evaluated by the 
browser when the response is received. Alternatively, you could just add 
your own event handler in the browser to react to the form submission.

Anthony

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.

Reply via email to