Initializing XForms Instances with an XForms Submission

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

Initializing XForms Instances with an XForms Submission

Ricardo Borillo Domenech
Hi all,

I'm new to Orbeon Forms and I'm trying to integrate my backend
WebServices with XForms.

Playing with the demos i found how to make a submission to a
WebService, but i can not found how to load an XForms Instance from
it.

In the XForms Reference documentation there's a topic on this:
http://www.orbeon.com/ops/doc/reference-xforms-ng#d6e3458

But with a TODO body. Bad luck :)

Searching the list archive i have found a possible solution:
http://mail-archive.objectweb.org/ops-users/2005-09/msg00035.html

My question is: ¿Is the solution described in the mail list (September
2005) ok for the actual state of Orbeon or there's a better solution
that can be documented in section 7.4 of the XForms Reference?

If there's a new better solution i can document all of this to fill
the missing documentation.

Thanks. Orbeon is a great tool!!

--
Salut,
====================================
Ricardo Borillo Domenech
Analista/Programador - Servei d'Informàtica
Universitat Jaume I
http://xml-utils.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Initializing XForms Instances with an XForms Submission

Joseph Lawrence
Hi Ricardo,
    For loading the xforms:instance from your model you do either of the following

1. <xforms:instance>
          <xi:include href="input:data"/>
    </xforms:instance>
2. <xforms:instance>
          <xsl:copy-of select="/"/>
    </xforms:instance> this works only if you should have the xsl:version="2.0" element in the root html tag.

For both these cases to work you need to have the page-flow entry similar to the following.
<page id="your-page-id" path-info="/your-path" view="your-view.xsl" model="webservice-model.xpl"/> and the model should have a 'data' output

Thanks
Joseph Lawrence
Stabilix Solutions

Ricardo Borillo <[hidden email]> wrote:
Hi all,

I'm new to Orbeon Forms and I'm trying to integrate my backend
WebServices with XForms.

Playing with the demos i found how to make a submission to a
WebService, but i can not found how to load an XForms Instance from
it.

In the XForms Reference documentation there's a topic on this:
http://www.orbeon.com/ops/doc/reference-xforms-ng#d6e3458

But with a TODO body. Bad luck :)

Searching the list archive i have found a possible solution:
http://mail-archive.objectweb.org/ops-users/2005-09/msg00035.html

My question is: ¿Is the solution described in the mail list (September
2005) ok for the actual state of Orbeon or there's a better solution
that can be documented in section 7.4 of the XForms Reference?

If there's a new better solution i can document all of this to fill
the missing documentation.

Thanks. Orbeon is a great tool!!

--
Salut,
====================================
Ricardo Borillo Domenech
Analista/Programador - Servei d'Informàtica
Universitat Jaume I
http://xml-utils.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws


TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.

--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Initializing XForms Instances with an XForms Submission

Ryan Puddephatt
Ricardo/Joseph

You can also use @src to load a url (relative or absolute) or a file
using oxf:

Ryan

Joseph Lawrence wrote:

> Hi Ricardo,
>     For loading the xforms:instance from your model you do either of
> the following
>
> 1. <xforms:instance>
>           <xi:include href="input:data"/>
>     </xforms:instance>
> 2. <xforms:instance>
>           <xsl:copy-of select="/"/>
>     </xforms:instance> this works only if you should have the
> xsl:version="2.0" element in the root html tag.
>
> For both these cases to work you need to have the page-flow entry
> similar to the following.
> <page id="your-page-id" path-info="/your-path" view="your-view.xsl"
> model="webservice-model.xpl"/> and the model should have a 'data' output
>
> Thanks
> Joseph Lawrence
> Stabilix Solutions
>
> */Ricardo Borillo <[hidden email]>/* wrote:
>
>     Hi all,
>
>     I'm new to Orbeon Forms and I'm trying to integrate my backend
>     WebServices with XForms.
>
>     Playing with the demos i found how to make a submission to a
>     WebService, but i can not found how to load an XForms Instance from
>     it.
>
>     In the XForms Reference documentation there's a topic on this:
>     http://www.orbeon.com/ops/doc/reference-xforms-ng#d6e3458
>
>     But with a TODO body. Bad luck :)
>
>     Searching the list archive i have found a possible solution:
>     http://mail-archive.objectweb.org/ops-users/2005-09/msg00035.html
>
>     My question is: ¿Is the solution described in the mail list (September
>     2005) ok for the actual state of Orbeon or there's a better solution
>     that can be documented in section 7.4 of the XForms Reference?
>
>     If there's a new better solution i can document all of this to fill
>     the missing documentation.
>
>     Thanks. Orbeon is a great tool!!
>
>     --
>     Salut,
>     ====================================
>     Ricardo Borillo Domenech
>     Analista/Programador - Servei d'Informàtica
>     Universitat Jaume I
>     http://xml-utils.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
>     ObjectWeb mailing lists service home page:
>     http://www.objectweb.org/wws
>
>
> ------------------------------------------------------------------------
> TV dinner still cooling?
> Check out "Tonight's Picks"
> <http://us.rd.yahoo.com/evt=49979/*http://tv.yahoo.com/> on Yahoo! TV.
> ------------------------------------------------------------------------
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Initializing XForms Instances with an XForms Submission

Ricardo Borillo Domenech
Hi,

It works perfect now. Thanks a lot!!!



On 3/3/07, Ryan Puddephatt <[hidden email]> wrote:

> Ricardo/Joseph
>
> You can also use @src to load a url (relative or absolute) or a file
> using oxf:
>
> Ryan
>
> Joseph Lawrence wrote:
> > Hi Ricardo,
> >     For loading the xforms:instance from your model you do either of
> > the following
> >
> > 1. <xforms:instance>
> >           <xi:include href="input:data"/>
> >     </xforms:instance>
> > 2. <xforms:instance>
> >           <xsl:copy-of select="/"/>
> >     </xforms:instance> this works only if you should have the
> > xsl:version="2.0" element in the root html tag.
> >
> > For both these cases to work you need to have the page-flow entry
> > similar to the following.
> > <page id="your-page-id" path-info="/your-path" view="your-view.xsl"
> > model="webservice-model.xpl"/> and the model should have a 'data' output
> >
> > Thanks
> > Joseph Lawrence
> > Stabilix Solutions
> >
> > */Ricardo Borillo <[hidden email]>/* wrote:
> >
> >     Hi all,
> >
> >     I'm new to Orbeon Forms and I'm trying to integrate my backend
> >     WebServices with XForms.
> >
> >     Playing with the demos i found how to make a submission to a
> >     WebService, but i can not found how to load an XForms Instance from
> >     it.
> >
> >     In the XForms Reference documentation there's a topic on this:
> >     http://www.orbeon.com/ops/doc/reference-xforms-ng#d6e3458
> >
> >     But with a TODO body. Bad luck :)
> >
> >     Searching the list archive i have found a possible solution:
> >     http://mail-archive.objectweb.org/ops-users/2005-09/msg00035.html
> >
> >     My question is: ¿Is the solution described in the mail list (September
> >     2005) ok for the actual state of Orbeon or there's a better solution
> >     that can be documented in section 7.4 of the XForms Reference?
> >
> >     If there's a new better solution i can document all of this to fill
> >     the missing documentation.
> >
> >     Thanks. Orbeon is a great tool!!
> >
> >     --
> >     Salut,
> >     ====================================
> >     Ricardo Borillo Domenech
> >     Analista/Programador - Servei d'Informàtica
> >     Universitat Jaume I
> >     http://xml-utils.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
> >     ObjectWeb mailing lists service home page:
> >     http://www.objectweb.org/wws
> >
> >
> > ------------------------------------------------------------------------
> > TV dinner still cooling?
> > Check out "Tonight's Picks"
> > <http://us.rd.yahoo.com/evt=49979/*http://tv.yahoo.com/> on Yahoo! TV.
> > ------------------------------------------------------------------------
> >
> >
> > --
> > 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
> > ObjectWeb mailing lists service home page: http://www.objectweb.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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>

--
Salut,
====================================
Ricardo Borillo Domenech
Analista/Programador - Servei d'Informàtica
Universitat Jaume I
http://xml-utils.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Initializing XForms Instances with an XForms Submission

Ricardo Borillo-2
In reply to this post by Ryan Puddephatt
Hi,

It works perfect now. Thanks a lot!!!

On 3/3/07, Ryan Puddephatt <[hidden email]> wrote:

> Ricardo/Joseph
>
> You can also use @src to load a url (relative or absolute) or a file
> using oxf:
>
> Ryan
>
> Joseph Lawrence wrote:
> > Hi Ricardo,
> >     For loading the xforms:instance from your model you do either of
> > the following
> >
> > 1. <xforms:instance>
> >           <xi:include href="input:data"/>
> >     </xforms:instance>
> > 2. <xforms:instance>
> >           <xsl:copy-of select="/"/>
> >     </xforms:instance> this works only if you should have the
> > xsl:version="2.0" element in the root html tag.
> >
> > For both these cases to work you need to have the page-flow entry
> > similar to the following.
> > <page id="your-page-id" path-info="/your-path" view="your-view.xsl"
> > model="webservice-model.xpl"/> and the model should have a 'data' output
> >
> > Thanks
> > Joseph Lawrence
> > Stabilix Solutions
> >
> > */Ricardo Borillo <[hidden email]>/* wrote:
> >
> >     Hi all,
> >
> >     I'm new to Orbeon Forms and I'm trying to integrate my backend
> >     WebServices with XForms.
> >
> >     Playing with the demos i found how to make a submission to a
> >     WebService, but i can not found how to load an XForms Instance from
> >     it.
> >
> >     In the XForms Reference documentation there's a topic on this:
> >     http://www.orbeon.com/ops/doc/reference-xforms-ng#d6e3458
> >
> >     But with a TODO body. Bad luck :)
> >
> >     Searching the list archive i have found a possible solution:
> >     http://mail-archive.objectweb.org/ops-users/2005-09/msg00035.html
> >
> >     My question is: ¿Is the solution described in the mail list (September
> >     2005) ok for the actual state of Orbeon or there's a better solution
> >     that can be documented in section 7.4 of the XForms Reference?
> >
> >     If there's a new better solution i can document all of this to fill
> >     the missing documentation.
> >
> >     Thanks. Orbeon is a great tool!!
> >
> >     --
> >     Salut,
> >     ====================================
> >     Ricardo Borillo Domenech
> >     Analista/Programador - Servei d'Informàtica
> >     Universitat Jaume I
> >     http://xml-utils.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
> >     ObjectWeb mailing lists service home page:
> >     http://www.objectweb.org/wws
> >
> >
> > ------------------------------------------------------------------------
> > TV dinner still cooling?
> > Check out "Tonight's Picks"
> > <http://us.rd.yahoo.com/evt=49979/*http://tv.yahoo.com/> on Yahoo! TV.
> > ------------------------------------------------------------------------
> >
> >
> > --
> > 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
> > ObjectWeb mailing lists service home page: http://www.objectweb.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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>

--
Salut,
====================================
Ricardo Borillo Domenech
Analista/Programador - Servei d'Informàtica
Universitat Jaume I
http://xml-utils.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws