1. I want the form to break out of the iframe when displaying the response
My understanding is that there's a "target" property that should work the same as an <a> element's target. I have this config made:
<property as="xs:string" name="oxf.fr.detail.process.save.test-app.*">
require-valid
then send(
method = "POST",
replace = "all",
target = "_top"
)
</property>
The request to that URL is going through, but instead of replacing the content of the main page with the content of my URL, just the iframe content gets replaced.
Is that not how it's supposed to function, did I misunderstand?
2. I need to pass some stuff to the response URL, which I can supply to the form in the iframe, by any means, including adding <input> elements to the form with JavaScript, or anything.
I need the form runner to pass along those values to my destination URL, like in the POST variables or something. For example, I'm talking about a CSRF token value at the moment, but other stuff may be needed (userid in order to match the document id with the user, etc)
Sorin.