Don Smith wrote:

> Thanks for responding to my post on the orbeon-user's mail list. I never
> received anything back from the list on this, and only saw your reply by
> looking at the archive.
>
> So, since I still can't get this to work, I'm e-mailing you directly.
>
> I believe I understand everything you're telling me:
>
> 1. The default folder for the Presentation Server is
> TOMCAT_HOME/webapps/orbeon/WEB-INF/resources
>
> 2. All page flow paths are relative to the default folder
>
> So the folder "don" should be placed in "resources" (as
> TOMCAT_HOME/webapps/orbeon/WEB-INF/resources/don)
>
> The content of "don" might be
>
> a. a page-flow.xml and a view.xhtml
>
> b. the page element would be
>
>  <page path-info="/don" view="view.xhtml"/>
>
> (I did notice you said that the "view" attribute should have the "don"
> folder in it's path also, but the other files I've been looking at don't
> do this; I've tried it both ways).
>
> 3. So now type into the browser
>
> http://localhost:8080/orbeon/don
>
> It should work. It doesn't.
>
> I've again tried every permutation of this I can think of. All I've done
> is set up the Server and run through the tutorial and demos. I'm now
> trying to do a folder of my own. I haven't changed any settings anywhere.

Don,

(Posting to orbeon-user as well)

The location of page-flow.xml is important. The Page Flow controller
is set as your main processor, and it is configured in web.xml.  By
default this is done this way:

<context-param>
    <param-name>oxf.main-processor.name</param-name>

<param-value>{http://www.orbeon.com/oxf/processors}page-flow</param-value>
</context-param>
<context-param>
    <param-name>oxf.main-processor.input.controller</param-name>
    <param-value>oxf:/page-flow.xml</param-value>
</context-param>

Notice the "oxf:/page-flow.xml" path. Your page-flow.xml has to be
under WEB-INF/resources/page-flow.xml with this setup.

-Erik



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to