Post instance data to xform

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

Post instance data to xform

Teun van Eijsden
How do you make an xform see the posted xml as the instance data?
 
Any pointers would be appreciated.
 
Teun
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

-- The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. Unless explicitly stated otherwise in the body of this communication or the attachment thereto (if any), the information is provided on an AS-IS basis without any express or implied warranties or liabilities. To the extent you are relying on this information, you are doing so at your own risk. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt.

--
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: Post instance data to xform

Erik Bruchez
Administrator
Teun,

Maybe this section of the doc will help:

http://www.orbeon.com/ops/doc/reference-xforms-ng#xforms-instance-initialization

-Erik

On Mar 3, 2008, at 6:49 AM, Teun van Eijsden wrote:

> How do you make an xform see the posted xml as the instance data?
>
> Any pointers would be appreciated.
>
> Teun
>

--
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: Post instance data to xform

Teun van Eijsden
I do, and I did, and it states:

An XForms page usually needs to contain initial data when first loaded.
The data may be inline, come from a database, from a form submitted on a
previous page, etc. This section looks at the different ways to
initialize XForms instances.

But then I don't see HOW to do it. Am I missing something obvious here?

Teun


> -----Original Message-----
> From: Erik Bruchez [mailto:[hidden email]]
> Sent: Tuesday, March 04, 2008 01:56
> To: [hidden email]
> Subject: [ops-users] Re: Post instance data to xform
>
> Teun,
>
> Maybe this section of the doc will help:
>
> http://www.orbeon.com/ops/doc/reference-xforms-ng#xforms-insta
nce-initialization

>
> -Erik
>
> On Mar 3, 2008, at 6:49 AM, Teun van Eijsden wrote:
>
> > How do you make an xform see the posted xml as the instance data?
> >
> > Any pointers would be appreciated.
> >
> > Teun
> >
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right
> Way http://www.orbeon.com/
>
>
--
The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited.  Unless explicitly stated otherwise in the body of this communication or the attachment thereto (if any), the information is provided on an AS-IS basis without any express or implied warranties or liabilities.  To the extent you are relying on this information, you are doing so at your own risk.   If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt.



--
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: Post instance data to xform

Erik Bruchez
Administrator
Given the following conditions:

* Your page is declared as just a plain page view in page-flow.xml,  
e.g.:

   <page path-info="/my-page" view="foobar.xhtml"/>

* You post an XML document to the URL of that page.

then you can load the submitted XML into an instance by using:

   <xforms:instance src="input:instance"/>

Is that your scenario?

-Erik

On Mar 4, 2008, at 7:32 AM, Teun van Eijsden wrote:

> I do, and I did, and it states:
>
> An XForms page usually needs to contain initial data when first  
> loaded.
> The data may be inline, come from a database, from a form submitted  
> on a
> previous page, etc. This section looks at the different ways to
> initialize XForms instances.
>
> But then I don't see HOW to do it. Am I missing something obvious  
> here?
>
> Teun
>
>
>> -----Original Message-----
>> From: Erik Bruchez [mailto:[hidden email]]
>> Sent: Tuesday, March 04, 2008 01:56
>> To: [hidden email]
>> Subject: [ops-users] Re: Post instance data to xform
>>
>> Teun,
>>
>> Maybe this section of the doc will help:
>>
>> http://www.orbeon.com/ops/doc/reference-xforms-ng#xforms-insta
> nce-initialization
>>
>> -Erik
>>
>> On Mar 3, 2008, at 6:49 AM, Teun van Eijsden wrote:
>>
>>> How do you make an xform see the posted xml as the instance data?
>>>
>>> Any pointers would be appreciated.
>>>
>>> Teun
>>>
>>
>> --
>> Orbeon Forms - Web Forms for the Enterprise Done the Right
>> Way http://www.orbeon.com/
>>
>>
>
> --
> The information contained in this communication and any attachments  
> is confidential and may be privileged, and is for the sole use of  
> the intended recipient(s). Any unauthorized review, use, disclosure  
> or distribution is prohibited.  Unless explicitly stated otherwise  
> in the body of this communication or the attachment thereto (if  
> any), the information is provided on an AS-IS basis without any  
> express or implied warranties or liabilities.  To the extent you are  
> relying on this information, you are doing so at your own risk.   If  
> you are not the intended recipient, please notify the sender  
> immediately by replying to this message and destroy all copies of  
> this message and any attachments. ASML is neither liable for the  
> proper and complete transmission of the information contained in  
> this communication, nor for any delay in its receipt.
>
>
> --
> 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
--
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: Re: Post instance data to xform

Teun van Eijsden
RE: [ops-users] Re: RE: Re: Post instance data to xform

Yes it is. I'm gonna try it, thanks!

Teun


-----Original Message-----
From: Erik Bruchez [[hidden email]]
Sent: Tue 3/4/2008 5:26 PM
To: [hidden email]
Subject: [ops-users] Re: RE: Re: Post instance data to xform

Given the following conditions:

* Your page is declared as just a plain page view in page-flow.xml, 
e.g.:

   <page path-info="/my-page" view="foobar.xhtml"/>

* You post an XML document to the URL of that page.

then you can load the submitted XML into an instance by using:

   <xforms:instance src="input:instance"/>

Is that your scenario?

-Erik

On Mar 4, 2008, at 7:32 AM, Teun van Eijsden wrote:

> I do, and I did, and it states:
>
> An XForms page usually needs to contain initial data when first 
> loaded.
> The data may be inline, come from a database, from a form submitted 
> on a
> previous page, etc. This section looks at the different ways to
> initialize XForms instances.
>
> But then I don't see HOW to do it. Am I missing something obvious 
> here?
>
> Teun
>
>
>> -----Original Message-----
>> From: Erik Bruchez [[hidden email]]
>> Sent: Tuesday, March 04, 2008 01:56
>> To: [hidden email]
>> Subject: [ops-users] Re: Post instance data to xform
>>
>> Teun,
>>
>> Maybe this section of the doc will help:
>>
>> http://www.orbeon.com/ops/doc/reference-xforms-ng#xforms-insta
> nce-initialization
>>
>> -Erik
>>
>> On Mar 3, 2008, at 6:49 AM, Teun van Eijsden wrote:
>>
>>> How do you make an xform see the posted xml as the instance data?
>>>
>>> Any pointers would be appreciated.
>>>
>>> Teun
>>>
>>
>> --
>> Orbeon Forms - Web Forms for the Enterprise Done the Right
>> Way http://www.orbeon.com/
>>
>>
>
> --
> The information contained in this communication and any attachments 
> is confidential and may be privileged, and is for the sole use of 
> the intended recipient(s). Any unauthorized review, use, disclosure 
> or distribution is prohibited.  Unless explicitly stated otherwise 
> in the body of this communication or the attachment thereto (if 
> any), the information is provided on an AS-IS basis without any 
> express or implied warranties or liabilities.  To the extent you are 
> relying on this information, you are doing so at your own risk.   If 
> you are not the intended recipient, please notify the sender 
> immediately by replying to this message and destroy all copies of 
> this message and any attachments. ASML is neither liable for the 
> proper and complete transmission of the information contained in 
> this communication, nor for any delay in its receipt.
>
>
> --
> 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

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



-- The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. Unless explicitly stated otherwise in the body of this communication or the attachment thereto (if any), the information is provided on an AS-IS basis without any express or implied warranties or liabilities. To the extent you are relying on this information, you are doing so at your own risk. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt.

--
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