cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <>
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 []
> Vadim,
> thanks, that is illuminating.  We are using context://... to reference
> logicsheets, for portability.  Is there a way to use the file
> 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

So, you can use:

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

and it should work.


> -Christopher
> > From: Christopher Painter-Wakefield []
> >
> >
> > I see.  For some reason, I thought this mechanism was deprecated
> > with all processing directive types of things.
> >
> > Since things are apparently working the way they are supposed to,
> > 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
> 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
> File java API. If not (like resource://) - then it is not checked.
> The reason, AFAIU, is that resource URL does not have last
> 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.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message