Re: xforms:setvalue from XPL pipeline on xxforms:instance value
Posted by Erik Bruchez on URL: https://discuss.orbeon.com/xforms-setvalue-from-XPL-pipeline-on-xxforms-instance-value-tp3018569p3023126.html
Where is "ConversionRate-step"?
oxf:xforms-submission is not able to access anything but its little
universe where oxf:xforms-submission is running.
-Erik
On Fri, Oct 29, 2010 at 12:19 AM, Olivier Thery <[hidden email]> wrote:
>
> Hi,
>
> I would like to monitor the progress of a XPL pipeline in which I have a
> oxf:xforms-submission processor.
> A setvalue is fired when the submission is done
> (ev:event="xforms-submit-done") but the target instance is not found.
>
> Is it the right way to do that ?
> you can see my example in the file attached.
>
> Thanks
>
>
> 2010-10-28 00:18:11,734 INFO ProcessorService -
> /currency-converter/services/ConversionRate - Received request
> 2010-10-28 00:18:13,312 WARN XFormsServer -
> xxforms:instance() - instance not found {instance id: "ConversionRate-step"}
>
>
> <!-- Prepare the submission -->
> <!-- ********************** -->
> <p:processor name="oxf:xslt">
> <p:input name="data" href="#instance"/>
> <p:input name="config">
> <xsl:stylesheet version="2.0">
> <xsl:template match="/">
> <xforms:submission method="post"
> action="http://www.webservicex.net/CurrencyConvertor.asmx"
> mediatype="text/xml;
> action=http://www.webserviceX.NET/ConversionRate">
> <xforms:setvalue ev:event="xforms-submit-done"
>
> ref="xxforms:instance('ConversionRate-step')/result/step">1</xforms:setvalue>
> </xforms:submission>
> </xsl:template>
> </xsl:stylesheet>
> </p:input>
> <p:output name="data" id="submission"/>
> </p:processor>
> http://orbeon-forms-ops-users.24843.n4.nabble.com/file/n3018569/currency-converter.zip > currency-converter.zip
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/xforms-setvalue-from-XPL-pipeline-on-xxforms-instance-value-tp3018569p3018569.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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 >
>