File Structure of OPS Server

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

File Structure of OPS Server

Betty Harvey
I am having a difficult time trying to decipher in which file to put
the page flow.  The documentation talks about a virtual directory structure
but the that it describes is not in the installation so I am having a
hard time trying to decipher where to put it.

I have tried putting the following <page> resources/page-flow.xml and
also tried creating another page-flow.xml file in my directory I am
creating:

<page path-info="NDRPrfile" view="NDRProfile/NDRProfile.xhtml"/>

I have tried every combination to try and get access to the file.
Can anyone give me the best way to access the file?

I currently have the form located in the following path:

ops/WEB-INF/resources/NDRProfile

TIA!

Betty Harvey







--
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: File Structure of OPS Server

Hank Ratzesberger

Betty,

There can be only one page-flow.xml, it is the controller
and it is specified in the web.xml (e.g., for tomcat).

I have only seen examples showing absolute paths based
on the OF resource manager, specified by the namespace.  
Things may work if you try:

<page path-info="/NDRPrfile" view="oxf:/NDRProfile.xhtml"/>

since view is a file or WAR resource.

Hank Ratzesberger
NEES Programmer
Institute for Crustal Studies
University of California, Santa Barbara
805.893.8042
805.893.8649 (fax)


----- Original Message -----
From: <[hidden email]>
To: <[hidden email]>
Sent: Sunday, November 19, 2006 9:05 AM
Subject: [ops-users] File Structure of OPS Server


>I am having a difficult time trying to decipher in which file to put
> the page flow.  The documentation talks about a virtual directory structure
> but the that it describes is not in the installation so I am having a
> hard time trying to decipher where to put it.
>
> I have tried putting the following <page> resources/page-flow.xml and
> also tried creating another page-flow.xml file in my directory I am
> creating:
>
> <page path-info="NDRPrfile" view="NDRProfile/NDRProfile.xhtml"/>
>
> I have tried every combination to try and get access to the file.
> Can anyone give me the best way to access the file?
>
> I currently have the form located in the following path:
>
> ops/WEB-INF/resources/NDRProfile
>
> TIA!
>
> Betty Harvey
>
>
>
>
>
>

--------------------------------------------------------------------------------


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



--
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: File Structure of OPS Server

Erik Bruchez
Administrator
Hank,

You are right that there is only one top-level controller, but I have
to correct you a little bit on this because since each example /
application can have its own page-flow.xml.

This is especially true since last week with the new directory
structure: all the applications are directories under a top-level
"apps" directory, and each has its own page-flow.xml.

So the easiest is to grab a recent build and look at the new directory
structure, it's almost self-explanatory ;-)

This said we'll of course write doc on this real soon.

-Erik

 > There can be only one page-flow.xml, it is the controller
 > and it is specified in the web.xml (e.g., for tomcat).
 >
 > I have only seen examples showing absolute paths based
 > on the OF resource manager, specified by the namespace.  Things may work
 > if you try:
 >
 > <page path-info="/NDRPrfile" view="oxf:/NDRProfile.xhtml"/>
 >
 > since view is a file or WAR resource.

--
Orbeon Forms - XForms Everywhere
http://www.orbeon.com/blog/




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