multiple xml instances

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

multiple xml instances

hodack
Hi,

Is it possible to display data from different sources (for instance
databases, processors, ...), available from pipelines in one page ?
I can see the output in xml of those pipelines by mapping their xpl view
to a path-info individually (so viewable by different url in the
browser), but is it possible to use several pipelines to display their
outputs  in one single page ?
The page has already an xpl model which is using its ouput to display
some data, and a view.
If possible, what would be the right approach ?



--
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: multiple xml instances

Alessandro Vernet
Administrator
HI,

On 8/13/07, Kim-Vân Ho-Dac <[hidden email]> wrote:
> Is it possible to display data from different sources (for instance
> databases, processors, ...), available from pipelines in one page ?
> I can see the output in xml of those pipelines by mapping their xpl view
> to a path-info individually (so viewable by different url in the
> browser), but is it possible to use several pipelines to display their
> outputs  in one single page ?
> The page has already an xpl model which is using its ouput to display
> some data, and a view.
> If possible, what would be the right approach ?

You can either:

1) Have your model.xpl invokes multiple pipelines, and aggregates the
data into one document.
2) Have now model for the page. But instead expose those XPL as
"services", i.e. have an entry in the page flow for each one where
view="..." for each entry points to a pipeline. Then in XForms, on
xforms-ready you run submissions to the different services to load the
initial data.

In most cases, my preference goes for #2.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws