Below is a custom process I created to submit forms from an application through Orbeon while using the embedded javascript API. The process is working correctly, and Orbeon is creating the PDF and sending it to the service correctly.
"<property as="xs:string" name="oxf.fr.detail.process.custom-save.*.*">
save
then pdf
then send(uri = "
http://localhost/xxxxxx",
method = "POST",
content = "pdf"
then suspend
then navigate(uri = "javascript:xxx()")
recover navigate(uri = "javascript:xxx()")
</property>"
The problem I'm experiencing is that after this process runs, something is triggering a POST of the entire page to our application. This is causing an unexpected situation of having to handle an unintended POST.
Does anyone have an idea on how this is happening. Once again, the embedded Javascript API is being used in an application, and when the process shown above runs, a full page submit is being sent to our application.
Any help would be appreciated.
Thanks!