How works the interaction between dynamic components and the server?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How works the interaction between dynamic components and the server?

echofloripa
Hi, I'm evaluating using Orbeon to create and render forms for a JSF/Richfaces app

I considering using orbeon render the forms inside an iframe on our pages. I have a few questions regarding the further integration:

- How can I get a textbox to autocomplete? Does orbeon front-end calls a xml based http service at my server?
- The buttons for submit/cancel should stay at the main webpage. How can I get this external button to actually submit my orbeon form? Has anyone ever done this?
Reply | Threaded
Open this post in threaded view
|

Re: How works the interaction between dynamic components and the server?

lacco
1. Did you have a look at the autocomplete component in static vs
resource mode? (http://wiki.orbeon.com/forms/doc/developer-guide/xbl-components/autocomplete)

2. I am doing this for the PDF-button by hiding the buttons via css
(.fr-bottom class) and "clicking" the buttons via javascript (using
jQuery and doc-and-win [1]):
jQuery('#fr-pdf-button button', $('#myiframe').doc()).click();
I am not sure if this still works if your iframe runs under a
different origin than your host page (same origin policy?). Apart from
that this should work for the save button, too.


[1] https://github.com/brandonaaron/jquery-doc-and-win

2011/5/5 echofloripa <[hidden email]>:

> Hi, I'm evaluating using Orbeon to create and render forms for a
> JSF/Richfaces app
>
> I considering using orbeon render the forms inside an iframe on our pages. I
> have a few questions regarding the further integration:
>
> - How can I get a textbox to autocomplete? Does orbeon front-end calls a xml
> based http service at my server?
> - The buttons for submit/cancel should stay at the main webpage. How can I
> get this external button to actually submit my orbeon form? Has anyone ever
> done this?
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/How-works-the-interaction-between-dynamic-components-and-the-server-tp3499455p3499455.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
Reply | Threaded
Open this post in threaded view
|

Re: How works the interaction between dynamic components and the server?

echofloripa
Thanks Lacco.

I haven't found that page about the autocomplete component before.

From what I can understand, in the case I use a dynamic or even static component, it can't be configured using the form builder, is that corret?
Reply | Threaded
Open this post in threaded view
|

Re: How works the interaction between dynamic components and the server?

Alessandro  Vernet
Administrator
echofloripa,

As of last week, the autocomplete has a simpler "resource" configuration:

http://wiki.orbeon.com/forms/doc/developer-guide/xbl-components/autocomplete#TOC-Resource

And you can now use and configure the autocomplete from Form Builder. You'll find the autocomplete in the toolbar in the left in the Selection Controls. Of course, since this was just added, you'll need to use a nightly build for this. If you get a chance to try it out, you'll let us know how it works for you.

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet