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: [email protected]
For additional commands, e-mail: [email protected]