This post was updated on .
Hi,
I want to use Orbeon's form builder to build up the forms and In my app I want to show them so is there any api support available in orbeon using which I can convert stored xform (built by form builder) to HTML and render it as a part of my application |
Administrator
|
Hi,
As I understand it you are asking two different questions: 1. Can you embed the form in your app? 2. Can you just run HTML, without the Orbeon Forms runtime? Please let me know if I misunderstood. On #1: Currently embedding of Orbeon Forms forms (including those generated by Form Builder) is limited to portlets and the TYPO3 extension. Some customers have written their own embedding code, partly based on the documentation here: Embedding and Proxying Orbeon Forms http://wiki.orbeon.com/forms/doc/contributor-guide/proxying-orbeon-forms So we don't have an embedding API at this time, but it would be great to have one. On #2, some posts on the need for a runtime in Orbeon Forms: http://wiki.orbeon.com/forms/doc/developer-guide/how-orbeon-forms-works-part-i http://blog.orbeon.com/2012/02/does-xforms-need-to-be-implemented.html So no, you can't just convert the form to HTML and expect it to run. The runtime is needed. #1 can and should be addressed better in the future. #2 is a non-starter. For now you can use iframes (not great we know), or load forms side by side with other pages in your app. That is certainly possible. -Erik On Thu, Mar 15, 2012 at 9:04 PM, JigarJoshi <[hidden email]> wrote: > Hi, > > I want to use Orbeon's form builder to build up the forms and In my app I > want to show them so is there any api support available in orbeon using > which I can convert stored xform (built by form builder) to HTML and render > it as a part of my application > > > - > Newbie > > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/XForm-to-HTML-conversion-using-API-tp4477288p4477288.html > Sent from the Orbeon Forms (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 |
Hi Erik,
Thanks you, Yes it would be the best to have that API, But it seems proxying would do the job for now, Scenario : I have two app deployed in my servlet container (Orbeon & MyApp) I have built two forms (formA & formB) using formbuilder from orbeon's interface and stored them to MySQL DB as an xml representation Now Myapp wants to have access to those forms so I could query MySQL and show the form name & app name Clicking on that My App wants to load the HTML that we get when we click test from form builder, So in this case if I have formName&appName how do I fetch the HTML in iFrame? Once I get that iFrame I submit the data and it would get stored in the MySQL DB (Orbeon DB) Please confirm my understanding with this and also let me know how can I fetch HTML related to from form&App name (not strictly these two field any identifier would work Thanks! Jigar On Sat, Mar 17, 2012 at 4:29 AM, Erik Bruchez [via Orbeon Forms (ops-users)] <[hidden email]> wrote:
-- --Jigar |
Administrator
|
Jigar,
In that case I think you would just use a plain link. For example: /orbeon/fr/[APP]/[FORM]/new where APP and FORM are the app and form names. Simply following that link opens the Form Runner "new" page for that form. -Erik On Fri, Mar 16, 2012 at 10:53 PM, JigarJoshi <[hidden email]> wrote: > Hi Erik, > > Thanks you, > > Yes it would be the best to have that API, > > But it seems proxying would do the job for now, > > Scenario : > > I have two app deployed in my servlet container (Orbeon & MyApp) > > I have built two forms (formA & formB) using formbuilder from orbeon's > interface and stored them to MySQL DB as an xml representation > > Now Myapp wants to have access to those forms so I could query MySQL and > show the form name & app name > > Clicking on that My App wants to load the HTML that we get when we click > test from form builder, So in this case if I have formName&appName how do I > fetch the HTML in iFrame? > > Once I get that iFrame I submit the data and it would get stored in the > MySQL DB (Orbeon DB) > > Please confirm my understanding with this and also let me know how can I > fetch HTML related to from form&App name (not strictly these two field any > identifier would work > > > Thanks! > Jigar > > > On Sat, Mar 17, 2012 at 4:29 AM, Erik Bruchez [via Orbeon Forms (ops-users)] > <[hidden email]> wrote: >> >> Hi, >> >> As I understand it you are asking two different questions: >> >> 1. Can you embed the form in your app? >> 2. Can you just run HTML, without the Orbeon Forms runtime? >> >> Please let me know if I misunderstood. >> >> On #1: >> >> Currently embedding of Orbeon Forms forms (including those generated >> by Form Builder) is limited to portlets and the TYPO3 extension. Some >> customers have written their own embedding code, partly based on the >> documentation here: >> >> Embedding and Proxying Orbeon Forms >> http://wiki.orbeon.com/forms/doc/contributor-guide/proxying-orbeon-forms >> >> So we don't have an embedding API at this time, but it would be great >> to have one. >> >> On #2, some posts on the need for a runtime in Orbeon Forms: >> >> >> http://wiki.orbeon.com/forms/doc/developer-guide/how-orbeon-forms-works-part-i >> http://blog.orbeon.com/2012/02/does-xforms-need-to-be-implemented.html >> >> So no, you can't just convert the form to HTML and expect it to run. >> The runtime is needed. >> >> #1 can and should be addressed better in the future. #2 is a non-starter. >> >> For now you can use iframes (not great we know), or load forms side by >> side with other pages in your app. That is certainly possible. >> >> -Erik >> >> On Thu, Mar 15, 2012 at 9:04 PM, JigarJoshi <[hidden email]> wrote: >> >> > Hi, >> > >> > I want to use Orbeon's form builder to build up the forms and In my app >> > I >> > want to show them so is there any api support available in orbeon using >> > which I can convert stored xform (built by form builder) to HTML and >> > render >> > it as a part of my application >> > >> > >> > - >> > Newbie >> > >> > -- >> > View this message in context: >> > http://orbeon-forms-ops-users.24843.n4.nabble.com/XForm-to-HTML-conversion-using-API-tp4477288p4477288.html >> > Sent from the Orbeon Forms (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 >> >> >> ________________________________ >> If you reply to this email, your message will be added to the discussion >> below: >> >> http://orbeon-forms-ops-users.24843.n4.nabble.com/XForm-to-HTML-conversion-using-API-tp4477288p4479584.html >> To unsubscribe from XForm to HTML conversion using API, click here. >> NAML > > > > > -- > --Jigar > > > > ________________________________ > View this message in context: Re: XForm to HTML conversion using API > > Sent from the Orbeon Forms (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 |
Thanks Erik, Is it possible to add a new component as a view that is created using jquery-mobile ?
The purpose behind this is I want to dynamically change the view if the request is coming from mobile device I would like to render form with compatible components
Thanks! Jigar
On Tue, Mar 20, 2012 at 5:08 AM, Erik Bruchez [via Orbeon Forms (ops-users)] <[hidden email]> wrote:
--Jigar |
Free forum by Nabble | Edit this page |