page-flow.xml vs page-flow.xpl

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

page-flow.xml vs page-flow.xpl

Smith, Donald

I’m studying the DMV example. What is the purpose of having a page-flow.xpl that does nothing but call page-flow.xml? Why not just have page-flow.xml?

 

What initiates the call to page-flow.xpl anyway? If both files are present, is the pipeline chosen over the other by default?

 

Thanks,

 

Don



--
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: page-flow.xml vs page-flow.xpl

Erik Bruchez
Administrator
Don,

page-flow.xpl is there just so that the main page flow can delegate to
sub-page flows. For example, the main page flow contains:

<page path-info="/forms*" model="/examples/forms/page-flow.xpl"/>

This tells the main page flow, then finding anything starting with
"/forms", to just call the specified page-flow.xpl. That pipeline just
calls up a "child" page flow processor, which runs the child page flow
configuration file (/examples/forms/page-flow.xml).

The bottom line is that this is a little trick to create sub-page flow
without having an actual sub-page flow functionality built into the Page
Flow Controller.

-Erik

Smith, Donald wrote:

> I’m studying the DMV example. What is the purpose of having a
> page-flow.xpl that does nothing but call page-flow.xml? Why not just
> have page-flow.xml?
>
>  
>
> What initiates the call to page-flow.xpl anyway? If both files are
> present, is the pipeline chosen over the other by default?
>
>  
>
> Thanks,
>
>  
>
> Don



--
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: page-flow.xml vs page-flow.xpl

hospbene
Hey Eric,

i just followed this post. And I am able to write some code into a file, according to the "path-info" found at the main page-flow.xml

<page path-info="/(.*)" matcher="oxf:perl5-matcher" model="sub-page-flow.xpl"/>


But how do i get my sub-page-flow to replace the original? Or get Orbeon to read the sub-page-flow.xml? I think I remember, that these model.xpl which is called in the page-flow.xml doesn't have any pipeline output back?


So, now I am at the point where i have my document ready, but don't know where to put it.

greetz bene
Reply | Threaded
Open this post in threaded view
|

Re: Re: page-flow.xml vs page-flow.xpl

Erik Bruchez
Administrator
What do you want to achieve in the first place?

-Erik

On Wed, Dec 1, 2010 at 1:28 AM, hospbene <[hidden email]> wrote:

>
> Hey Eric,
>
> i just followed this post. And I am able to write some code into a file,
> according to the "path-info" found at the main page-flow.xml
>
> <page path-info="/(.*)" matcher="oxf:perl5-matcher"
> model="sub-page-flow.xpl"/>
>
>
> But how do i get my sub-page-flow to replace the original? Or get Orbeon to
> read the sub-page-flow.xml? I think I remember, that these model.xpl which
> is called in the page-flow.xml doesn't have any pipeline output back?
>
>
> So, now I am at the point where i have my document ready, but don't know
> where to put it.
>
> greetz bene
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/page-flow-xml-vs-page-flow-xpl-tp27443p3066884.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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
>
>


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