I have a list of items. Each of them is editable, I can also add a new one. 
My goal is to provide update / create form in a modal box. The perfect 
solution would be to have the modal's template and dynamically load 
respective form into it.

Now, to make it clear: I do not want to have lots of hidden forms, each 
showing up onclick. I would prefer to actually load e.g. an update form for 
"item 5" when I click the edit link attached to "item 5".

What is the right way to do it? I guess I should start with passing a 
specific argument (like item ID) to a specific function, responsible for 
update / create -- but then what? How do I return the proper form to my 
modal box?

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to