cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: [C2] bug: still have to touch XSP file after changing logicsheet
Date Tue, 11 Jun 2002 14:29:19 GMT
> From: Christopher Painter-Wakefield [mailto:paint007@mc.duke.edu]
> 
> 
> 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:paint007@mc.duke.edu]
> >
> >
> > 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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message