Re: XForm to HTML conversion using API

Posted by Erik Bruchez on
URL: https://discuss.orbeon.com/XForm-to-HTML-conversion-using-API-tp4477288p4479584.html

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