Resource location

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

Resource location

Paul Saxelby
Hi,
 
Again - sorry for what is probably a daft question, I've only been at this for a day...
 
I found out (I think) why the range control displays the way it does. I'd never have thought it was a static image (am I correct?).
 
All I need to do is change the png file... Simple - if I could find it.
 
I think that the image is referenced from the xforms.css file that is referenced during the epilogue part of the process.
 
I now have two problems:
 
Firstly, in the xforms.css file, the range control background is referenced as:

background: url(../../ops/images/xforms/slider-horizontal-background.png) no-repeat;

This file does not appear to be anywhere on the local drive - Where is it?

 

Secondly, as far as I understand it (which is hardly at all), the reference to epilogue.xsl somehow causes theme-portal.xsl to be parsed (without apparently referencing it at all) which references the css that is used.

What causes theme-portal.xsl to be used instead of say, theme-plain.xsl?

 

Thanking you in advance,

Paul Saxelby

 



--
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: Resource location

fl.schmitt(ops-users)
Paul Saxelby schrieb:

> Firstly, in the xforms.css file, the range control background is
> referenced as:

> background:
> url(../../ops/images/xforms/slider-horizontal-background.png) no-repeat;

> This file does not appear to be anywhere on the local drive - Where is it?

It's inside the ops-resources-public.jar file. You can simply edit its
content by unzipping it, replace the png and zip it again.

> Secondly, as far as I understand it (which is hardly at all), the
> reference to epilogue.xsl somehow causes theme-portal.xsl to be parsed
> (without apparently referencing it at all) which references the css that
> is used.
>
> What causes theme-portal.xsl to be used instead of say, theme-plain.xsl?

I'm not sure but i think the theme XSL file is referenced in the
elipogue-servlet.xpl Pipeline.


HTH
florian






--
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: Resource location

Erik Bruchez
Administrator
In reply to this post by Paul Saxelby
Paul Saxelby wrote:

> Secondly, as far as I understand it (which is hardly at all), the
> reference to epilogue.xsl somehow causes theme-portal.xsl to be parsed
> (without apparently referencing it at all) which references the css that
> is used.
>
> What causes theme-portal.xsl to be used instead of say, theme-plain.xsl?

You specify the epilogue in your page-flow.xml. By default, it uses
RESOURCES/config/epilogue.xpl.

In turn, that calls epilogue-servlet.xpl when you are in a servlet
environment. epilogue-servlet.xpl calls the appropriate theme stylesheet.

See also this part of the doc:

   http://www.orbeon.com/ops/doc/reference-epilogue

Note that we would like to make theme handling easier in the future:

 
http://forge.objectweb.org/tracker/index.php?func=detail&aid=307139&group_id=168&atid=350207

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws