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.

Anthony

On Sunday, April 14, 2013 7:32:41 PM UTC-4, Jurgis Pralgauskis wrote:
>
> googel Chrome inspector shows, that dialog is after/outside <div class="
> container">...</div>
> while Product form is inside main container.
>
>
> On Mon, Apr 15, 2013 at 2:28 AM, Anthony <[email protected] 
> <javascript:>>wrote:
>
>> 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.
>>
>> Anthony
>>
>>
>> On Sunday, April 14, 2013 6:56:44 PM UTC-4, Jurgis Pralgauskis wrote:
>>>
>>> Hi, 
>>>
>>> you can check the issue here
>>>
>>> https://jurgis.pythonanywhere.**com/apskaitele/default/create_**product/<https://jurgis.pythonanywhere.com/apskaitele/default/create_product/>
>>> press the "*+*" alongside "Category Id", which should show a dialog, 
>>> which was loaded directly but with ajax_trap
>>>
>>> Submit does not react anyhow... - where's the rub?
>>>
>>> ****
>>> If I load it with ajax=True -- it submit ok  , but then I have other 
>>> issues :/...
>>>
>>> ****
>>> another workaround for me might be lazy loading...  the dialog would 
>>> load only on some event (as now it loads on its own, just is shown on 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/js8yZubo_cQ/unsubscribe?hl=en.
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>
>
> -- 
> Jurgis Pralgauskis
> tel: 8-616 77613;
> Don't worry, be happy and make things better ;)
> http://galvosukykla.lt 
>

-- 

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