> From: Christopher Painter-Wakefield [mailto:[EMAIL PROTECTED]]
> 
> 
> Vadim,
> 
> thanks, that is illuminating.  We are using context://... to reference
our
> logicsheets, for portability.  Is there a way to use the file
reference
> relative to the context root (instead of an absolute path)?

References to logicsheets are resolved by URLFactory. With URLFactory,
it is possible to use either URL, or relative to the webapp context file
path.

So, you can use:

  <parameter name="href" value="logicsheets/request.xsl"/>

and it should work.


Vadim


> -Christopher
> 
> 
> 
> > From: Christopher Painter-Wakefield [mailto:[EMAIL PROTECTED]]
> >
> >
> > I see.  For some reason, I thought this mechanism was deprecated
along
> 
> > with all processing directive types of things.
> >
> > Since things are apparently working the way they are supposed to,
then
> 
> > let me change this from a bug report to a request: it would be nice
> > to have built-in logicsheets checked for changes, too.
> 
> Ok, after looking into sources, I can say that if logicsheet is
built-in
> or not is not important. It is important how it is referenced from the
> XSP or cocoon.xconf.
> 
> If it is referenced as a file then it is checked for modification
using
> File java API. If not (like resource://) - then it is not checked.
> 
> The reason, AFAIU, is that resource URL does not have last
modification
> date, and other reason could be, you are right, performance.
> 


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to