El vie, 14-10-2005 a las 16:25 +0200, Felix Röthenbacher escribió:
> Hi Thorsten
> 
> Thorsten Scherler wrote:
> > Hey all,
> > 
> > lenya just added the dynamic repeater example to the default pub. The
> > problem with it is, that if we use ajax="true" and submit the form we
> > lose the focus on the flow script. 
> > 
> > It shows the form (form.show()) and then after submitting the form it
> > does not return to the flow script (usecase.js). 
> 
> The browserupdater.js used with Ajax checks for the header
> 
> X-Cocoon-Ajax = continue
> 
> If true, a request is sent back to the server so it exits from
> Form.showForm(). Unfortunately, the request is not compatible with
> Lenya's usecase management (needs a parameter lenya.usecase to know
> which usecase it is in). Additionally, Ajax expects the continuation
> id in "continuation-id" whereas Lenya uses "lenya.continuation" for
> that.
> 
> Maybe browserupdater.js can be made more generic so that
> it also fits for Lenya?

Actually Felix is right, Sylvain, do you have an idea how we can make
the browserupdater.js more generic to allow application specific
trigger?

tia

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]