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 |
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 To: [hidden email] -- 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 |
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:
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 |
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 To: [hidden email] -- 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 |