Reminder :

When 2 components have to be refresh with on this schema :
"web2py_component('%s',target)" % URL()

response.js="web2py_component('%s','two');" %
URL('ref','create_fvte',args='ref_vregistry')
response.js+="web2py_component('%s','three');" %
URL('ref','create_fvte',args='ref_tregistry')


Richard

On Wed, May 25, 2011 at 8:20 AM, Massimo Di Pierro <
[email protected]> wrote:

> No your syntax is correct. Can you email me a minimalist app so I can
> try it quickly?
>
> On May 24, 11:05 pm, "David J." <[email protected]> wrote:
> > I am using Trunk;
> >
> > Is my syntax correct?
> >
> > should it be a ',' instead of a ';'
> >
> > response.js =
> > 'web2py_component(url,target),web2py_component(other_url,other_target);'
> >
> > On 5/24/11 11:40 PM, Massimo Di Pierro wrote:
> >
> >
> >
> >
> >
> >
> >
> > > There is no reason why it should not work. Are you using trunk? There
> > > was in bug in stable about response.js.
> >
> > > On May 24, 8:25 pm, "David J."<[email protected]>  wrote:
> > >> I was wondering how I can update 2 targets with reponse.js?
> >
> > >> I tried this
> >
> > >> response.js =
> > >>
> 'web2py_component(url,target);web2py_component(other_url,other_target);'
> >
> > >> Seems only the first updated.
> >
> > >> Any ideas?
>

Reply via email to