remote form possible?

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

remote form possible?

Fran555
I want to know if the below requirement can be done using xForms. If not, what is the best way to handle it.

To allow website A to provide a form for user input by simply loading such form that is stored in website B. the idea is that website B has a lot of forms built in, and want to expose these form functions to other websites. Website A does not need to do anything for it but just calling the form from website B and displayed it. The date will be submitted to website B finally.
Reply | Threaded
Open this post in threaded view
|

Re: remote form possible?

lazx

Fran555 wrote
I want to know if the below requirement can be done using xForms. If not, what is the best way to handle it.

To allow website A to provide a form for user input by simply loading such form that is stored in website B. the idea is that website B has a lot of forms built in, and want to expose these form functions to other websites. Website A does not need to do anything for it but just calling the form from website B and displayed it. The date will be submitted to website B finally.

great question :)

I have been using (testing) orbeon for quite some time...  the only thing holding my organization back from deciding to use orbeon is its integration into our current web application.  For example, authentication is completed by website A, organization of forms by website A, but is it possible to have website B (orbeon) render the forms (communicate with website A)?  In other words, before a form is rendered by orbeon, it must have the okay from website A...

Has this problem been explored yet?
Reply | Threaded
Open this post in threaded view
|

Re: Re: re mote form possible?

Alessandro Vernet
Administrator
On Mon, Mar 10, 2008 at 10:56 AM, lazx <[hidden email]> wrote:
>  I have been using (testing) orbeon for quite some time...  the only thing
>  holding my organization back from deciding to use orbeon is its integration
>  into our current web application.  For example, authentication is completed
>  by website A, organization of forms by website A, but is it possible to have
>  website B (orbeon) render the forms (communicate with website A)?  In other
>  words, before a form is rendered by orbeon, it must have the okay from
>  website A...
>
>  Has this problem been explored yet?

If you want A and B to be to be on different machines, right now this
would require some more work on your part. But if A and B can be on
the same machine, and if A (your current application) is deployed as a
war file, then you can use the "separate deployment" method documented
here:

http://www.orbeon.com/ops/doc/reference-xforms-java

Does this help?

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.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
Reply | Threaded
Open this post in threaded view
|

Re: Re: re mote form possible?

Erik Bruchez
Administrator
In reply to this post by lazx
>> I want to know if the below requirement can be done using xForms.  

>> If not,
>> what is the best way to handle it.
>>
>> To allow website A to provide a form for user input by simply  
>> loading such
>> form that is stored in website B. the idea is that website B has a  
>> lot of
>> forms built in, and want to expose these form functions to other  
>> websites.
>> Website A does not need to do anything for it but just calling the  
>> form
>> from website B and displayed it. The date will be submitted to  
>> website B
>> finally.
>>
>
>
> great question :)
>
> I have been using (testing) orbeon for quite some time...  the only  
> thing
> holding my organization back from deciding to use orbeon is its  
> integration
> into our current web application.  For example, authentication is  
> completed
> by website A, organization of forms by website A, but is it possible  
> to have
> website B (orbeon) render the forms (communicate with website A)?  
> In other
> words, before a form is rendered by orbeon, it must have the okay from
> website A...
>
> Has this problem been explored yet?
Wouldn't you solve this kind of issues with some sort of single-sign-
on system?

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.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
Reply | Threaded
Open this post in threaded view
|

Re: Re: re mote form possible?

Fran555
It's not about sso. Imagine the case like this:

I have a web based event management system running online, and companies can pay and make use of the services provided by the system to handle their event like registration. since each company has their own website built, and what I want is that these companies can simply insert some kind of code provided by us into their website, then the form for registration will be displayed by calling back to our system for deciding what to display and how. All the data submitted to the form will sent back to our system for saving. This means that these companies needs to do nothing beside insert the code.

It's also like google map. I really want to know if this can be done with xForms, and how.
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: re mote form possible?

Alessandro Vernet
Administrator
Franky,

On Wed, Mar 12, 2008 at 7:52 PM, Fran555 <[hidden email]> wrote:

>  I have a web based event management system running online, and companies can
>  pay and make use of the services provided by the system to handle their
>  event like registration. since each company has their own website built, and
>  what I want is that these companies can simply insert some kind of code
>  provided by us into their website, then the form for registration will be
>  displayed by calling back to our system for deciding what to display and
>  how. All the data submitted to the form will sent back to our system for
>  saving. This means that these companies needs to do nothing beside insert
>  the code.
>
>  It's also like google map. I really want to know if this can be done with
>  xForms, and how.
This is very interesting, and this is an idea that have been floating
around for a while now. It is useful in the case you mention, but
could also be useful for people who just want to do some testing on
their site with XForms and don't necessarily want to install Orbeon
Forms or another server-side XForms engine.

We don't have anything at this point, but this wouldn't necessarily be
hard to implement. As you said, this would be very similar to what is
done with Google Maps. For more on what they do, see:

http://code.google.com/apis/maps/documentation/index.html

So you include some JavaScript code in your page, and have a div in
the page reserved for the XForms+XHTML code. The XForms+XHTML could
either be (a) inside the div or (b) in another file on your site which
can be accessed from the server that runs Orbeon Forms. The benefit of
(a) is that this will work even if your server is behind a firewall
and can't be accessed by the server running Orbeon Forms. The drawback
of (a) is that you might have problems with namespaces. This would
need to be checked.

Then the JavaScript code would send the XForms+XHTML to the Orbeon
Forms server to be transformed in XHTML and put that result back into
the div.

You might want to give it shot. This sounds like a fun project :).

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.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