> 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)
>> http://www.web2pyslices.com/**slice/show/1616/widget-select-**
>> or-add-option-ng<http://www.web2pyslices.com/slice/show/1616/widget-select-or-add-option-ng>
>>
>> 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???)
https://jurgis.pythonanywhere.com/apskaitele/default/create_product_ajaxTrue

But would be enough to solve this if possible...

ps.:  ajax=False
https://jurgis.pythonanywhere.com/apskaitele/default/create_product

-- 

--- 
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