Dear all,
I'm trying to get to grips with the xforms-submission processor and am getting an error: >>> Cannot find processor factory with name "{http://www.orbeon.com/oxf/processors}xforms-submission" <<< This is with the nightly build 3.5.M1.200611030117. I can reproduce this by un-war'ing ops.war, and adding <page path-info="/test-xfs" model="/test-xfs.xpl"/> To the page flow, and putting test-xfs.xpl in the resources folder: <?xml version="1.0"?> <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" xmlns:oxf="http://www.orbeon.com/oxf/processors"> <p:param type="output" name="data"/> <p:processor name="oxf:xforms-submission"> <p:input name="submission" href="http://www.google.com/"/> <p:input name="request"><dummy/></p:input> <p:output name="data" id="document"/> </p:processor> </p:config> Why am I doing wrong? - Alex. -- 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
|
Alex,
I can't explain the error you are getting. I don't seem to be able to reproduce this problem here. However, your XPL file should read: <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" xmlns:oxf="http://www.orbeon.com/oxf/processors"> <p:param type="output" name="data"/> <p:processor name="oxf:xforms-submission"> <p:input name="submission" href="http://www.google.com/"/> <p:input name="request"> <dummy/> </p:input> <p:output name="response" ref="data"/> </p:processor> </p:config> Note that the the output name of oxf:xforms-submission is 'response', not 'data'. Also, if you want to see the document returned by the processor in the browser when you go to /test-xfs, you should use the 'view' attribute in the page flow, instead of the 'model' attribute: <page path-info="/test-xfs" view="/test-xfs.xpl"/> I hope this helps, Alex On 11/3/06, Alex Brown <[hidden email]> wrote: > Dear all, > > I'm trying to get to grips with the xforms-submission processor and am > getting an error: > > >>> Cannot find processor factory with name > "{http://www.orbeon.com/oxf/processors}xforms-submission" <<< > > This is with the nightly build 3.5.M1.200611030117. > > I can reproduce this by un-war'ing ops.war, and adding > > <page path-info="/test-xfs" model="/test-xfs.xpl"/> > > To the page flow, and putting test-xfs.xpl in the resources folder: > > <?xml version="1.0"?> > <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" > xmlns:oxf="http://www.orbeon.com/oxf/processors"> > > <p:param type="output" name="data"/> > <p:processor name="oxf:xforms-submission"> > <p:input name="submission" href="http://www.google.com/"/> > <p:input name="request"><dummy/></p:input> > <p:output name="data" id="document"/> > </p:processor> > </p:config> > > Why am I doing wrong? > > - Alex. > > > > > > > > -- > 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 > > > -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -- 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
In reply to this post by Alex Brown-5
Alex
Thanks for your help. Updating from Sun's (Wintel) JDK 1.4.2_08 to _12, and re-installing Tomcat (5.0.28) has made this work as it should (after making your fixes too). - Alex. > -----Original Message----- > From: [hidden email] [mailto:[hidden email]] On Behalf > Of Alessandro Vernet > Sent: 07 November 2006 00:07 > To: [hidden email] > Subject: Re: [ops-users] Cannot find xforms-submission processor > > Alex, > > I can't explain the error you are getting. I don't seem to be > able to reproduce this problem here. However, your XPL file > should read: > > <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" > xmlns:oxf="http://www.orbeon.com/oxf/processors"> > > <p:param type="output" name="data"/> > > <p:processor name="oxf:xforms-submission"> > <p:input name="submission" href="http://www.google.com/"/> > <p:input name="request"> > <dummy/> > </p:input> > <p:output name="response" ref="data"/> > </p:processor> > </p:config> > > Note that the the output name of oxf:xforms-submission is > 'response', not 'data'. Also, if you want to see the document > returned by the processor in the browser when you go to > /test-xfs, you should use the 'view' attribute in the page > flow, instead of the 'model' attribute: > > <page path-info="/test-xfs" view="/test-xfs.xpl"/> > > I hope this helps, > > Alex > > On 11/3/06, Alex Brown <[hidden email]> wrote: > > Dear all, > > > > I'm trying to get to grips with the xforms-submission > processor and am > > getting an error: > > > > >>> Cannot find processor factory with name > > "{http://www.orbeon.com/oxf/processors}xforms-submission" <<< > > > > This is with the nightly build 3.5.M1.200611030117. > > > > I can reproduce this by un-war'ing ops.war, and adding > > > > <page path-info="/test-xfs" model="/test-xfs.xpl"/> > > > > To the page flow, and putting test-xfs.xpl in the resources folder: > > > > <?xml version="1.0"?> > > <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" > > xmlns:oxf="http://www.orbeon.com/oxf/processors"> > > > > <p:param type="output" name="data"/> > > <p:processor name="oxf:xforms-submission"> <p:input > name="submission" > > href="http://www.google.com/"/> <p:input > > name="request"><dummy/></p:input> <p:output name="data" > > id="document"/> </p:processor> </p:config> > > > > Why am I doing wrong? > > > > - Alex. > > > > > > > > > > > > > > > > -- > > 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 > > > > > > > > > -- > Blog (XML, Web apps, Open Source): > http://www.orbeon.com/blog/ > > -- 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 |