You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Andreas Hartmann <an...@apache.org> on 2009/04/01 09:20:56 UTC
Re: Go advance() from js function
Hi Frank,
> I have an usecase and need redirect to advance() from a js function. I
> know that all the
> submit in my jx file, that no name submit or cancel are redirect to
> advance(), but for a js
> function, I don´t know what to do it, I´m traying
> document.form[1].submit() and this
> redirect to initParameter() in handler.Why?
this sounds like you don't pass the continuation ID parameter to the form.
Would you mind double-checking this? TIA!
-- Andreas
--
View this message in context: http://www.nabble.com/Go-advance%28%29-from-js-function-tp22801540p22821126.html
Sent from the Lenya - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: Go advance() from js function
Posted by Frank Hamilton <ii...@hotmail.com>.
Andreas Hartmann wrote:
>
> Hi Frank,
>
>> I have an usecase and need redirect to advance() from a js function. I
>> know that all the
>> submit in my jx file, that no name submit or cancel are redirect to
>> advance(), but for a js
>> function, I don´t know what to do it, I´m traying
>> document.form[1].submit() and this
>> redirect to initParameter() in handler.Why?
>
> this sounds like you don't pass the continuation ID parameter to the form.
> Would you mind double-checking this? TIA!
>
> -- Andreas
>
Thank Andreas,
yes i have this into my form :
<input type="hidden" name="lenya.continuation"
value="${continuation.id}"/>
but when I submit from javascript, the method invoked is initParameter() and
not any form parameter in this. I think that this submit initialize the
usecase.
--
View this message in context: http://www.nabble.com/Go-advance%28%29-from-js-function-tp22801540p22825571.html
Sent from the Lenya - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org