Hello Alexandra,
Thanks anyway :-).
In case anybody else here knows how to get this data from the pipeline, I'm really interested.
Best, Robin
-----Original message-----
From: Alexandru Ionita <[hidden email]>
Sent: Mon 01-02-2010 12:27
To: [hidden email];
Subject: [ops-users] Re: RE: Re: How to use output of a pipeline?Hello Robin,yes, this might work quite good, but unfortunately I don't have experience with page-flow, since I'm using the xform integrated in a J2EE (JSP/Spring) application, outside Orbeon.regards,Alexandru
On Mon, Feb 1, 2010 at 13:21, Robin Diederen <[hidden email]> wrote:Hi Alexandra,
Thanks for the quick response.
I doubt however if that would work for my case. This if the "flow" I'm trying to achieve:
Enter data on xform -> page flow sends data to xpl -> xpl fires -> xpl sens data to page flow -> page flow redirects and sends data to xform -> xform picks up data and displays
Isn't this possible? Or is some other way better?
Best, Robin
-----Original message-----
From: Alexandru Ionita <[hidden email]>
Sent: Mon 01-02-2010 12:07
To: [hidden email];
Subject: [ops-users] Re: How to use output of a pipeline?Hello Robin,I'm not sure that you can consume the response of a webservice from another xform instead of the calling source xform.But, if you want to consume the response of the webservice in the same xform, watch here:xxforms:call-xpl<xf:trigger appearance="xxforms:link"><xf:label class="button"><xhtml:span class="Prufen">Prüfen</xhtml:span></xf:label><xf:action ev:event="DOMActivate"><xf:insert nodeset="instance('formCheckMessages')"origin="xxforms:call-xpl('<<link_to_the_XPL_file>>','formData',instance('userResponse'), 'checkMessages')"/></xf:action></xf:trigger>by this, you are inserting the response of a pipeline into a defined instance.If this is what you are looking for, don't hesitate to ask for more details.regards,AlexandruOn Mon, Feb 1, 2010 at 12:30, Robin Diederen <[hidden email]> wrote:Hello all,
I have this pipeline which produces a XML document after doing some SOAP calls; the pipeline is fired by a submission from a Xforms document.
Now I to use this XML document on another Xforms document and I’m wondering how I can access this data.
From my pageflow:
<page id="search-general-submit" path-info="/search/search-general-submit" >
<action action="search-general-perform.xpl">
<result page="search-general-result" transform="oxf:xslt">
<data xsl:version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:copy-of select="doc('input:instance')"></xsl:copy-of>
</data>
</result>
</action>
</page>
My guess would be that I should an xforms:instance element in the consuming Xforms document referring to the data generated by the pipeline. Is that correct? If so, how would I refer to this data?
Best, Robin
--
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
--
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
Free forum by Nabble | Edit this page |