Hi
How can I send xform created using the FormBuilder to a servlet of my application Here, I created a xform in the builder and saved, published. Now i have to write a separate persistence layer where a servlet will process my data. For this I added the below line in web-inf/resources/config/form-runner-properties.xml file <property as="xs:anyURI" name="oxf.fr.persistence.app.Sample.uri" value="http://127.0.0.1:18080/TestOrbeon/cusorb.do"/> I copied the war file of my java application contains servlet to the Tomcat home where Orbeon.war is residing. Then I restarted Tomcat and opened formBuilder summary page and selected the application "Sample" from summary page. Now I click save & publish buttons ( not sure which will post the form to my servlet) I didn't see any thing coming to my servlet Appreciate your help -lak |
Administrator
|
Lak,
It seems there was an error in the doc. You need to set the property for this value using this format instead: oxf.fr.persistence.app.uri.[APPLICATION].[FORM_TYPE].data replacing APPLICATION with your app name. You can also put a "*" for FORM_TYPE if you want to impact all forms in the given app name, e.g.: <property as="xs:anyURI" name="oxf.fr.persistence.app.uri.MyApp.*.data" value="http://localhost:18080/TestOrbeon/cusorb.do"/>"/> This will make it so that all the data related to these forms will be handled by this particular persistence layer implementation. -Erik On Sun, Dec 13, 2009 at 9:10 PM, lak <[hidden email]> wrote: > > Hi > How can I send xform created using the FormBuilder to a servlet of my > application > > Here, I created a xform in the builder and saved, published. > Now i have to write a separate persistence layer where a servlet will > process my data. For this I added the below line in > web-inf/resources/config/form-runner-properties.xml file > > <property as="xs:anyURI" name="oxf.fr.persistence.app.Sample.uri" > value="http://localhost:18080/TestOrbeon/cusorb.do"/> > > I copied the war file of my application contains servlet to the Tomcat home > where Orbeon.war is residing. > > Then I restarted Tomcat and opened formBuilder summary page and selected the > application "Sample" > from summary page. Now I click save & publish buttons ( not sure which will > post the form to my servlet) > I didn't see any thing coming to my servlet > > Appreciate your help > -lak > > > > -- > View this message in context: http://n4.nabble.com/Post-to-Servlet-from-FormBuilder-tp963321p963321.html > Sent from the ObjectWeb 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 > > -- 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 |