Hi all,
Here is the situation i'm fed up with. I've all the required JAR files of orbeon. All i need to do is to process/convert XForms to html+javascript+css using orbeon using jsp file. In other words, client request for a particular resource and the request is processed by jsp file. This jsp file then uses the appropriate orbeon library to process the requested Xforms+xhtml. All i need to know is where to send the xforms for processing (starting point) and get the result as html+javascript+css? Thanks in advance. "If u follow all the rules, u ll miss all the fun:)" |
Take a look at the example application at
http://www.orbeon.com/ops/xforms-jsp/guess-the-number/ - is this what you are trying to do? This is documented at http://www.orbeon.com/ops/doc/reference-xforms-java Steve -----Original Message----- From: p4ddy [mailto:[hidden email]] Sent: 26 August 2009 09:17 To: [hidden email] Subject: [ops-users] where is the starting point? Hi all, Here is the situation i'm fed up with. I've all the required JAR files of orbeon. All i need to do is to process/convert XForms to html+javascript+css using orbeon using jsp file. In other words, client request for a particular resource and the request is processed by jsp file. This jsp file then uses the appropriate orbeon library to process the requested Xforms+xhtml. All i need to know is where to send the xforms for processing (starting point) and get the result as html+javascript+css? Thanks in advance. "If u follow all the rules, u ll miss all the fun:)" -- View this message in context: http://www.nabble.com/where-is-the-starting-point--tp25148546p25148546.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 |
Thanks for the reply.
But what i m trying to say is that, say i don't have WAR file but all the library files. I've a handler return in jsp in ROOT directory of tomcat meant for handling the client request. Once the request comes it has to use the orbeon library to convert the XForms to html equivalent. I m bit new to orbeon, so pardon me if i m creating any redundancy. thanks in advance. |
In reply to this post by p4ddy
But what i m trying to say is that, say i don't have WAR file but all the library files. I've a handler written in jsp in ROOT directory of tomcat meant for handling the client request.
Once the request comes it has to use the orbeon library to convert the XForms to html equivalent. So basically i m trying to figure where is the starting point of the XForms engine. thanks in advance. |
Administrator
|
In reply to this post by p4ddy
You *could* integrate Orbeon Forms with your application this way, but this is most likely going to require quite a bit of work. For instance, you'll need to get familiar with the Orbeon API. Also, you'll need to figure out what jars you need from the orbeon.war and solve possible conflicts with your own jars. Unless you have a particular taste for this kind of things (for sure I wouldn't!), if I were you I'd just deploy orbeon.war as a separate web app, generate the XHTML+XForms in your Java app, and setup the Orbeon filter so the XHTML+XForms you generate is processed by Orbeon Forms before it is sent to the browser. Alex |
I would love to just deploy it and let the orbeon do the rest. But what i m trying to do is to integrate it with web application(websphere smash) where it doesn't support WAR file to deploy in it.
|
Administrator
|
WebSphere Smash doesn't use war files at all? If it does, it wouldn't let you setup a filter in "their" war file? Alex |
Yeah alessandro, websphere smash doesn't support war file. So all i can do is to include all the orbeon libraries.
I dont think i need filter because i've a resource in the form of groovy file, so any request would come to this file asking for a particular page and i know which are all XHtml+XForms in them, so all i want to do is to send this page to orbeon library somehow and get the corresponding html+javascript. I'm really new at orbeon and trying hard to integrate it in smash.
|
Administrator
|
Then maybe what you can do is to deploy the orbeon.war separately, put your form in the orbeon.war and integrate it into your web page created with Smash with an iframe. If you prefer not to use iframes, you can write some code on the Smash side that makes an HTTP request to the orbeon.war and inserts the result in the page. Alex |
Free forum by Nabble | Edit this page |