Hello,
I'm trying to fine tune some bits on my application running within Orbeon. I've come a little unstuck with regards to relative links for non-HTML files. For instance, I currently need to use the following to correctly link to the CSS file: <link rel="stylesheet" href="/apps/gazettes/styles/styles.css" /> What I would like to use is: <link rel="stylesheet" href="/gazettes/styles/styles.css" /> I have the following in my Tomcat server.xml file (my Tomcat knowledge it pretty basic): <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> <Context docBase="orbeon" path="" /> </Host> Is what I'm asking actually possible and if so any pointers very welcome (or have I missed something basic?). Thanks Paul |
Paul, Yes, you don't need to put things in an apps directory. Between the page-flow controller, http://www.orbeon.com/ops/doc/reference-page-flow#basics and the config/properties-base.xml , you can specify your own theme, or none, that can "fixup" url references, etc. To quickly remove the theme, look for this line in properties-base.xml: <property as="xs:boolean" name="oxf.epilogue.use-theme" value="false"/> http://www.orbeon.com/ops/doc/reference-epilogue#d99e978 Regards, Hank On Jan 30, 2009, at 4:10 AM, Paul Appleby wrote: > > Hello, > > I'm trying to fine tune some bits on my application running within > Orbeon. > I've come a little unstuck with regards to relative links for non-HTML > files. > > For instance, I currently need to use the following to correctly > link to the > CSS file: > > <link rel="stylesheet" href="/apps/gazettes/styles/styles.css" /> > > What I would like to use is: > > <link rel="stylesheet" href="/gazettes/styles/styles.css" /> > > I have the following in my Tomcat server.xml file (my Tomcat > knowledge it > pretty basic): > > <Host name="localhost" appBase="webapps" unpackWARs="true" > autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> > <Context docBase="orbeon" path="" /> > </Host> > > Is what I'm asking actually possible and if so any pointers very > welcome (or > have I missed something basic?). > > Thanks > > Paul > -- > View this message in context: http://www.nabble.com/Paths-to-files- > tp21746054p21746054.html > Sent from the ObjectWeb 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 NEES@UCSB Institute for Crustal Studies, University of California, Santa Barbara 805-893-8042 -- 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 |
Free forum by Nabble | Edit this page |