Hi,
I have this problem: two files : query.xpl and product.xpl. In my query.xpl, I only have an sql processor : <p:param name="data" type="output" /> <p:processor name="oxf:sql">...</p:processor> <p:output name="data" ref="data"/> </p:processor> In my product.xpl, I want to execute the query inside query.xpl and show the results : <p:processor name="oxf:xml-converter"> <p:input name="config"> <config> <encoding>utf-8</encoding> </config> </p:input> <p:input name="data" href="./query.xpl"/> <p:output name="data" id="converted"/> </p:processor> But this simply gives me the content of the query.xpl file, the processor inside query.xpl is not being executed. Is there a way to connect two pipelines ? I searched in mailinglist and documentation, but could not find the answer. Thanks Henk -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Henk,
You use the oxf:pipeline processor, which allows a pipeline to call another pipeline. <p:processor name="oxf:pipeline"> <p:input name="config" href="query.xpl"/> <p:output name="data" id="my-query-result"/> </p:processor> -Erik Henk Schets wrote: > Hi, > > I have this problem: > two files : query.xpl and product.xpl. > > In my query.xpl, I only have an sql processor : > <p:param name="data" type="output" /> > <p:processor name="oxf:sql">...</p:processor> > <p:output name="data" ref="data"/> > </p:processor> > > In my product.xpl, I want to execute the query inside query.xpl and show > the results : > > <p:processor name="oxf:xml-converter"> > <p:input name="config"> > <config> > <encoding>utf-8</encoding> > </config> > </p:input> > <p:input name="data" href="./query.xpl"/> > <p:output name="data" id="converted"/> > </p:processor> > > But this simply gives me the content of the query.xpl file, the > processor inside query.xpl is not being executed. > Is there a way to connect two pipelines ? I searched in mailinglist and > documentation, but could not find the answer. > > Thanks > > Henk Orbeon Forms - Web Forms for the Enterprise Done the Right Way 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
super !
thanks, Henk Erik Bruchez wrote: > Henk, > > You use the oxf:pipeline processor, which allows a pipeline to call > another pipeline. > > <p:processor name="oxf:pipeline"> > <p:input name="config" href="query.xpl"/> > <p:output name="data" id="my-query-result"/> > </p:processor> > > -Erik > > Henk Schets wrote: >> Hi, >> >> I have this problem: >> two files : query.xpl and product.xpl. >> >> In my query.xpl, I only have an sql processor : >> <p:param name="data" type="output" /> >> <p:processor name="oxf:sql">...</p:processor> >> <p:output name="data" ref="data"/> >> </p:processor> >> >> In my product.xpl, I want to execute the query inside query.xpl and >> show the results : >> >> <p:processor name="oxf:xml-converter"> >> <p:input name="config"> >> <config> >> <encoding>utf-8</encoding> >> </config> >> </p:input> >> <p:input name="data" href="./query.xpl"/> >> <p:output name="data" id="converted"/> >> </p:processor> >> >> But this simply gives me the content of the query.xpl file, the >> processor inside query.xpl is not being executed. >> Is there a way to connect two pipelines ? I searched in mailinglist >> and documentation, but could not find the answer. >> >> Thanks >> >> Henk -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |