Hi, I'm trying to integrate orbeon designer and renderer in a java web application (rich-faces)
I have made the configuration as stated in "XForms - Using the Orbeon Forms XForms Engine with Java Applications", but I then I read this post (Beginner question about Form Builder and XForms Filter) from 2009 and it seems that running a for-builder form isn't possible unless you use form-runner. Am I correct in understand that this means I can't actually integrate the forms into my webapp? Or I need to find another way to integrate other than using the filter approach?
It would be great if there was a small example showing this type of integration...
|
Administrator
|
That's right: forms designed with Form Builder need to run in Form Runner.
We don't have a good out of the box solution to embed such forms into your own Java application at the moment, but hopefully that will come as it is a fairly often-requested feature. Another, light-weight way to integrate consists in having pages in your application linking to Form Runner pages, and then Form Runner returning to your app once form data is submitted. -Erik On Fri, Apr 15, 2011 at 1:39 PM, echofloripa <[hidden email]> wrote: > Hi, I'm trying to integrate orbeon designer and renderer in a java web > application (rich-faces) I have made the configuration as stated in "XForms > - Using the Orbeon Forms XForms Engine with Java Applications", but I then I > read this post (Beginner question about Form Builder and XForms Filter) from > 2009 and it seems that running a for-builder form isn't possible unless you > use form-runner. Am I correct in understand that this means I can't actually > integrate the forms into my webapp? Or I need to find another way to > integrate other than using the filter approach? It would be great if there > was a small example showing this type of integration... > ________________________________ > View this message in context: Rendering a for created by form-builder in a > Java application > 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 |
I had read a few posts and it seemed that they were actually integrating the forms within the java webapp. I might had misunderstood then. The solution you described could then be used to put the form runner form inside an iframe within my webapp? In the case I use the form-runner this way, will there be a way to populate some fields of the form (eg: comboboxes) with data from a service exposed from my webapp? Unfortunately i won't be able to wait until such feature is made available. thanks for replying Emerson |
Let me see if I am understanding correctly:
- In: http://wiki.orbeon.com/forms/doc/developer-guide/xforms-with-java-applications I tells how to integrate a java webapp with orbeon. This can't be a form generated with orbeon form designer? Is it only plain xforms? |
Administrator
|
Exactly.
-Erik On Mon, Apr 18, 2011 at 1:45 PM, echofloripa <[hidden email]> wrote: > Let me see if I am understanding correctly: > > - In: > http://wiki.orbeon.com/forms/doc/developer-guide/xforms-with-java-applications > > I tells how to integrate a java webapp with orbeon. > This can't be a form generated with orbeon form designer? Is it only plain > xforms? > > > > > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Rendering-a-for-created-by-form-builder-in-a-Java-application-tp3452944p3458659.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 |
Administrator
|
In reply to this post by echofloripa
> The solution you described could then be used to put the form runner form
> inside an iframe within my webapp? Probably, yes. > In the case I use the form-runner this way, will there be a way to populate > some fields of the form (eg: comboboxes) with data from a service exposed > from my webapp? This would work as if Form Runner is not embedded: Form Runner can call services to load data. It's "just" a matter of implementing such services. -Erik > Unfortunately i won't be able to wait until such feature is made available. > > thanks for replying > Emerson > > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Rendering-a-for-created-by-form-builder-in-a-Java-application-tp3452944p3458115.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 for answering.
I'm still confused. When I have orbeon as a separated war (as described in the frist link), isn't that form-runner itself? |
In reply to this post by Erik Bruchez
For example, on the demo app of orbeon, we have the "flickr-search" example, based on JSP.
Could I take that as an example to run form-builder forms? I thought in implementing the rest api for the form-builder, then load that form in the attribute and sending it to the form-runner, is that possible? Or still, knowing the form I will present, I will render it in an iframe inside the app... Sorry for so many question, but it is because it is not very clear how to do this integration... |
Administrator
|
No, it's a bit different. Maybe this FAQ entry helps a bit:
http://wiki.orbeon.com/forms/orbeon-forms-faq/faq-orbeon-form-builder#TOC-What-is-the-difference-between-Orbe The flickr-search example is plain XForms fed through the XForms engine. Form Runner is an additional layer on top of the core XForms engine, which provides a custom layer, error summary, sections, grids, PDF support, the review mode, the REST persistence API, and more. -Erik On Tue, Apr 19, 2011 at 1:26 PM, echofloripa <[hidden email]> wrote: > For example, on the demo app of orbeon, we have the "flickr-search" example, > based on JSP. > Could I take that as an example to run form-builder forms? > > I thought in implementing the rest api for the form-builder, then load that > form in the attribute and sending it to the form-runner, is that possible? > > Or still, knowing the form I will present, I will render it in an iframe > inside the app... > > Sorry for so many question, but it is because it is not very clear how to do > this integration... > > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Rendering-a-for-created-by-form-builder-in-a-Java-application-tp3452944p3461460.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 |
Free forum by Nabble | Edit this page |