Xforms submission

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

Xforms submission

Mark Haulton
Folks,
 
Trying to learn the Xform architecture.
 
When xforms are submitted using "submission" how can be the instance (XML) accessed by the server side program? How is this passed on to the server from browser? As I understand internally this really is nothing but HTTP.
 
MarkH 


--
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: Xforms submission

Brian_Steuhl
You reference the instance you want to pass in the submission with the ref attribute.  For example, ref="instance('myInstance').
 

 
Brian Steuhl, Business Analyst
E-mail: [hidden email]
Home Office: 732-961-3187
Cell: 908-421-0742

-----NewtoXforms <[hidden email]> wrote: -----

To: [hidden email]
From: NewtoXforms <[hidden email]>
Date: 07/20/2009 11:24AM
Subject: [ops-users] Xforms submission


Folks,

Trying to learn the Xform architecture.

When xforms are submitted using "submission" how can be the instance (XML)
accessed by the server side program? How is this passed on to the server
from browser? As I understand internally this really is nothing but HTTP.

MarkH
--
View this message in context: http://www.nabble.com/Xforms-submission-tp24571894p24571894.html
Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com.


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
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: Xforms submission

Hank Ratzesberger
In reply to this post by Mark Haulton
Mark,

Orbeon Forms is a client server architecture.  The server side transmits 
the data to the action.  There are several options, GET or PUT (with 
different separator characters), POSTed xml and even legacy 
mutlipart/form-data, etc.

A big advantage to this is that you have a robust XML environment 
regardless of the client.  E.g., full XPath 2.0 syntax and other extensions.

The client communicates only to the OF server through "AJAX" type
requests that are encoded -- the browser does not receive/transmit
to the server exactly the declared XML data.  You can ignore how 
the client and server communicate in OF, but keep in mind that the
server will be processing, submitting, etc., the XML data.


HTH,
Hank


On Jul 20, 2009, at 8:03 AM, Mark Haulton wrote:

Folks,
 
Trying to learn the Xform architecture.
 
When xforms are submitted using "submission" how can be the instance (XML) accessed by the server side program? How is this passed on to the server from browser? As I understand internally this really is nothing but HTTP.
 
MarkH 

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
OW2 mailing lists service home page: http://www.ow2.org/wws

Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
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: Xforms submission

Brian_Steuhl
In reply to this post by Brian_Steuhl
You can use xform submissions in numerous ways.  The two that I use frequently are .xpl files (pipelines/processors) and directly to web services using REST submissions.
 
I send xform instances into xpl files for: transforming xml using xsl processor, making database calls (SQL Processor) using a field from the instance in the parameters, etc.; using the email processor to send emails, using the PDF processor to generate PDF files, etc.
 
You can also call web services directly and use the instance as the parameters required by the operations within that web service.
 
My business email address is [hidden email] and web-site is http://btmsoftwaresolutions.com if you want more info.  I can also share some insight through web session using yuuguu so you can view some code.
 
I was where you might be about 1 1/2 years ago.  I struggled through teaching everything to myself, but once you understand the underlying architecture, it really is powerful and simple.  I love working with xForms and learn something new everyday. 
Brian Steuhl, Business Analyst
E-mail: [hidden email]
Home Office: 732-961-3187
Cell: 908-421-0742

-----NewtoXforms <[hidden email]> wrote: -----

To: [hidden email]
From: NewtoXforms <[hidden email]>
Date: 07/20/2009 11:41AM
Subject: [ops-users] Re: Xforms submission


Thanks Brian!

As how it works in other web architectures, the view/web page/form data is
consumed/processed by JSP/Servlet or other server side modules, using
request parameters.  What happens to XForms instances, which modules can
access and process instances?

MarkH


Brian_Steuhl wrote:

>
> You reference the instance you want to pass in the submission with the ref
> attribute.&nbsp; For example, ref="instance('myInstance'). &nbsp; &nbsp;
> Brian&nbsp;Steuhl,&nbsp;Business&nbsp;Analyst E-mail:&nbsp;
> [hidden email] Home&nbsp;Office:&nbsp;732-961-3187
> Cell:&nbsp;908-421-0742 -----NewtoXforms &lt;[hidden email]&gt;
> wrote: ----- To: [hidden email] From: NewtoXforms
> &lt;[hidden email]&gt; Date: 07/20/2009 11:24AM Subject:
> [ops-users] Xforms submission Folks, Trying to learn the Xform
> architecture. When xforms are submitted using "submission" how can be the
> instance (XML) accessed by the server side program? How is this passed on
> to the server from browser? As I understand internally this really is
> nothing but HTTP. MarkH -- View this message in context:
> http://www.nabble.com/Xforms-submission-tp24571894p24571894.htmlSent from
> the ObjectWeb OPS - Users mailing list archive at Nabble.com. -- You
> receive this message as a subscriber of the [hidden email] mailing
> list. To unsubscribe: [hidden email]For general
> help: [hidden email]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: [hidden email]
> For general help: [hidden email]
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>

--
View this message in context: http://www.nabble.com/Xforms-submission-tp24572029p24572180.html
Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com.


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
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