Hello all
I'm trying to use OPS from a struts application. My intention is to apply to 2 xforms, not to the entire application. I've seen that OPS could be used from JSP but could not find the examples. My application actually is using a JScript based XForm implementation, sends and receive XML. however I found OPS really advanced about the controls and implementation of the standard. The tutorial that explains the way of using OPS from JSP is deprecated? Anybody can send examples about this issue? If OPS could be used from JSP, is there some feature that I will lost? Thanks a lot in advance Emiliano. -- 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
|
Emiliano,
If you want to write your XHTML + XForms page with JSP + Struts, you can use the OPS oxf:servlet-filter-generator to hook-up the XForms processor. There is some preliminary doc here that you may want to look at: http://www.orbeon.com/ops/doc/integration-xforms-jsp As you said, I don't think there is a perfect example around, unfortunately. You may lose performance by doing so, because every time a page is loaded the XHTML will be parsed and the XForms engine cannot do any caching based on JSP output. But other than that, it is all right to use JSP to produce XForms. The ideal way, performance-wise, it to have static XHTML+XForms pages. -Erik Emiliano Marmonti wrote: > Hello all > > I'm trying to use OPS from a struts application. My intention is to > apply to 2 xforms, not to the entire application. I've seen that OPS > could be used from JSP but could not find the examples. My application > actually is using a JScript based XForm implementation, sends and > receive XML. however I found OPS really advanced about the controls and > implementation of the standard. The tutorial that explains the way of > using OPS from JSP is deprecated? Anybody can send examples about this > issue? > > If OPS could be used from JSP, is there some feature that I will lost? > > Thanks a lot in advance > Emiliano. Orbeon - XForms Everywhere: 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 |
Erik
Thanks a lot for your answer, I could see the examples using the nightly build, and are working ok ;). Sorry by the question, but if I wish to integrate into my application only this functionality from Orbeon (processig XForms and sending the XML instance, completed by the user to my application) 1. I should add the filter in my web.xml. 2. I should move the appropiate lib/raries to my own lib directory. Which libraries? Perhaps it's easy to define which not (for instance existxx, hsqlxx, jfreechart, pdfbox, and so on). after that...Should simply work? Regards and thanks again Emiliano. On 7/20/06, Erik Bruchez <[hidden email]> wrote: Emiliano, -- 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
|
Emiliano,
> 1. I should add the filter in my web.xml. > 2. I should move the appropiate lib/raries to my own lib directory. > Which libraries? Perhaps it's easy to define which not (for instance > existxx, hsqlxx, jfreechart, pdfbox, and so on). See the attached ivy.xml, which is a subset of something we built for a customer. It should list a fairly minimal list of required JARs. Note that we are not using Ivy to build OPS, but from that file you can infer the JARs you should copy over. > after that...Should simply work? I wouldn't commit to that ;-) -Erik -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ <ivy-module version="1.0"> <info organisation="orbeon" module="ops" revision="3.0.1.200605252108"> <license name="Apache" url="http://www.apache.org/licenses/LICENSE-2.0.txt"/> </info> <configurations> <conf name="default" visibility="public"/> </configurations> <publications> <!-- Main result: the ops JAR file --> <artifact name="ops" type="jar" conf="default"/> <!-- Orbeon-specific JARs --> <artifact name="jakarta-oro-2_0_8_orbeon" type="jar" conf="default"/> <artifact name="resolver-xerces_2_6_2_orbeon" type="jar" conf="default"/> <artifact name="saxon-8_7_orbeon" type="jar" conf="default"/> <artifact name="saxpath-dev_orbeon" type="jar" conf="default"/> <artifact name="xalan-2_5_1_orbeon" type="jar" conf="default"/> <artifact name="xercesImpl_2_6_2_orbeon" type="jar" conf="default"/> <artifact name="xml-apis-xerces_2_6_2_orbeon" type="jar" conf="default"/> <!-- Possible candidates to externalize --> <artifact name="isorelax-20031020" type="jar" conf="default"/> <artifact name="jakarta-slide-webdavlib-2.0rc1" type="jar" conf="default"/> <artifact name="msv-20031020" type="jar" conf="default"/> <artifact name="relaxngDatatype-20031020" type="jar" conf="default"/> <artifact name="xsdlib-20031020" type="jar" conf="default"/> </publications> <dependencies> <dependency org="apache" name="commons-logging" rev="1.0.4" conf="default"/> <dependency org="apache" name="commons-cli" rev="1.0" conf="default"/> <dependency org="apache" name="commons-codec" rev="1.3" conf="default"/> <dependency org="apache" name="commons-collections" rev="2.0" conf="default"/> <dependency org="apache" name="commons-fileupload" rev="1.0" conf="default"/> <dependency org="apache" name="commons-lang" rev="1.0.b1" conf="default"/> <dependency org="apache" name="commons-pool" rev="1.2" conf="default"/> <dependency org="apache" name="commons-beanutils" rev="1.7.0" conf="default"/> <dependency org="apache" name="commons-digester" rev="1.7" conf="default"/> <dependency org="apache" name="commons-discovery" rev="0.2" conf="default"/> <dependency org="apache" name="commons-httpclient" rev="3.0.1" conf="default"/> <dependency org="apache" name="commons-validator" rev="1.1.4" conf="default"/> <dependency org="apache" name="log4j" rev="1.3.alpha0" conf="default"/> <dependency org="dom4j" name="dom4j" rev="1.6.1" conf="default"/> <dependency org="sun" name="mail" rev="1.3.2" conf="default"/> <dependency org="sun" name="activation" rev="1.0.2" conf="default"/> <dependency org="exolab" name="castor-xml" rev="0.9.4.3" conf="default"/> <dependency org="saxonica" name="saxon" rev="6.5.2" conf="default"/> <dependency org="codehaus" name="jaxen" rev="1.1.beta9" conf="default"/> <dependency org="sourceforge" name="jtidy" rev="04aug2000r7" conf="default"/> </dependencies> </ivy-module> -- 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 |