cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Re: [CForms/flow/ajax] Weird problem with ajax="true"
Date Thu, 27 Oct 2005 17:35:30 GMT
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message