Chris,
On 9/28/07, ChrisSpeare <
[hidden email]> wrote:
> I want to post my instance to a popup window - to process the xml currently
> being viewed. I tried using an xforms:load inside a trigger, however get a
> 'Client side error'.
>
> What is the code to open a new window, based on an instance value, passing
> in another instance?
An xforms:load will load a link, so this will do a HTTP GET. You can't
use an xforms:load to post an instance to another page. For this
you'll need an xforms:submission, which you can trigger with an
xforms:send. Then on the xforms:submission element you can use the
xxforms:target attribute to set which window is to be used. This works
just like the "target" attribute in HTML. See:
http://www.orbeon.com/ops/doc/reference-xforms-2#submission-targetDepending on the case, you might find that using an xxforms:dialog
works better than opening a browser pop-up window.
Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws