El viernes, 2 de octubre de 2015, 19:49:52 (UTC-3), Niphlod escribió:
>
> tested and retested. it works. please inspect your form and see if the
> correct url is generated and put in the action attribute.
>
>
>
You are right. It works. But in my case it will not work because it is not
linear bu
tested and retested. it works. please inspect your form and see if the
correct url is generated and put in the action attribute.
On Friday, October 2, 2015 at 2:48:27 PM UTC+2, Jose wrote:
>
>
>
>
>> For now the proposed fix/workaround is to pass an explicit _action to the
>> FORM, which will pr
> For now the proposed fix/workaround is to pass an explicit _action to the
> FORM, which will prevail if explicitely found.
> Its quite easy because _action=URL() gets things done pretty quickly and
> painless.
>
> this has not worked
--
Resources:
- http://web2py.com
- http://web2py.com/b
proposed fix:
gluon.main :
just after setting web2py-component-command, set a new
web2py-component-origaction header = request.url
web2py.js :
in ajax_page, inside oncomplete, just before web2py.trap_form, handle it
var origaction = xhr.getresponseheader('web2py-component-origaction');
action
umpf. the behaviour is reproducible.
The thing is, handling component redirects with ajax as normal redirects is
bad because ajax just follow the same convention as browsers and it's
impossible to intercept a get wich follows a redirect from a normal get in
any way.
For now the proposed fix/wor
getting on it...
On Thursday, October 1, 2015 at 8:21:50 PM UTC+2, Jose wrote:
>
> I found this [1] and [2]. it seems that with some modifications on an old
> version
> of web2py work (web2py.js and web2py_ajax.html), but I can not fix it in new
> versions
>
> José
>
>
> [1] https://groups.goog
I found this [1] and [2]. it seems that with some modifications on an old
version
of web2py work (web2py.js and web2py_ajax.html), but I can not fix it in new
versions
José
[1] https://groups.google.com/forum/?fromgroups#!topic/web2py/J7-SD0n8hQQ
[2] https://groups.google.com/forum/#!msg/web2
7 matches
Mail list logo