response.headers['web2py-component-command']
='web2py_ajax_page("GET","%s","","table_code");web2py_ajax_page("GET","%s","","table_details");'
%
(URL(r=request,f='table_code',args=[table_id]),URL(r=request,f='table',args=[table_id]))

On Mar 9, 4:24 am, selecta <gr...@delarue-berlin.de> wrote:
> in my controller I got
>
> response.headers['web2py-component-command'] =
> 'web2py_ajax_page("GET","%s","","table_code")' %
> URL(r=request,f='table_code',args=[table_id])
>
> But now I want to update two components. The following does not work
>
> response.headers['web2py-component-command'] =
> 'web2py_ajax_page("GET","%s","","table_code");' %
> URL(r=request,f='table_code',args=[table_id])
>         #response.headers['web2py-component-command'] +=
> ';web2py_ajax_page("GET","%s","","table_details");' %
> URL(r=request,f='table',args=[table_id])
>
> I do not really have an idea how to solve that, help is appreciated :)

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to