Relative vs absolute path to exist in page-flow.xml

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Relative vs absolute path to exist in page-flow.xml

Ethan Gruber
Hi all,

I have run into a wall that is in all likelihood very easy to fix, but I just can't seem to find an answer.

I have an extremely simple view in page-flow.xml:

<page path-info="/ead/docs/" model="/exist/rest/db/ead" view="xslt/file_list.xsl"/>

Basically, what is supposed to happen is that the exist "collection," i.e., list of files as represented by XML in the REST interface, is run through the file_list.xsl stylesheet to display an HTML version of the list of files that is accessible through the docs path in my project.  The error is that it can't find /exist/rest/db/ead.  The path /exist/rest/db/ead is accessible in the form itself.

If I change the model to an absolute path: http://localhost:8080/orbeon/exist/rest/db/ead, it works.  I don't want to move forward with an absolute path because that will result in problems in the future.  Is there a way to use a relative path here to the exist database within Orbeon?  I tried oxf:/exist/rest/db/ead, but that didn't work the way I thought it might.

Thanks,
Ethan


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