On Fri, 2004-09-10 at 00:21, [EMAIL PROTECTED] wrote:

> The epilogue is only appied when there is a view in the mix. 

Waooo! I had completely missed that!

>  The rss feed request is of the form
> 
>   http://localhost:8888/examples/example-resources
> 
> and so ends up matching
> 
>     <page path-info="/example-resources/.*" matcher="oxf:perl5-matcher"
>     model="/examples/dispatch.xpl"/>
> 
> in page-flow.xml.  As you can see there is no view here so the epilogue
> is not applied.

OK.

> And yes, it seems the doc could be more explicit about this.  We will
> address that.

Yes, I think that you could show that in the diagrams in "4. Valid
Combinations of the xforms, model, and view Attributes"
(http://www.orbeon.com/ois/doc/reference-controller#d95881e676).

The other thing I find misleading and probably under documented is the
relation between the Page Flow Controller and XPL pipelines.

Because I was already familiar with Cocoon when I started playing with
Presentation Server, I made the assumption that everything would be
defined in pipelines and it took me a while to understand that the Page
Flow Controller is a black box that acts as kind of default pipeline and
you might want to make that more explicit in the documentation.

I assume that there are many good historical reasons why that's like
this, but I think that it would be cleaner to consider that the PFC is
an actual pipleline and to show that in the page-flow.xml files and to
use XPL directly in these files.

Instead of:

  <page path-info="/login" model="login/model.xpl"
view="login/view.xml"/>

I think that:

 <page path-info="/login">
  <p:processor name="oxf:PageFlowControler">
   <p:input name="model" href="login/model.xpl"/>
   <p:input name="view" href="login/view.xml"/>
  </p:processor>
 </page>

That's more verbose but that shows well the nature of the PFC and also
that would let people put XPL directly in page-flow.xml documents.

> Finally, in the attached zip is a hacked version atm example.  I only
> hacked it enough 
> so that it can be used stand alone and demonstrate the above.  I added
> debug attribs
> in the epilogue so you can see when it is applied and when it is not. 
> If you are
> 'OXF Mmonitoring' feature you will see this in the event view. 
> Otherwise you should
> see it in standard out.

Thanks!

Eric
-- 
If you have a XML document, you have its schema.
                                                  http://examplotron.org
Upcoming XML schema languages tutorial:
 - Portland   -half day-   (27/07/2004)        http://masl.to/?E6ED13728
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to