cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Murad Jura <mu...@asbt.uz>
Subject Re: mapping to basepath in static content
Date Sat, 01 Feb 2003 12:15:41 GMT
Hello Robert,

there is the AugmentTransformer which augments all 'href' attributes 
with the full path to the request. IMHO it is a good starting point for you.

Regards,
Murad Jura.

Robert Sösemann wrote:
> Hello,
> 
> what I need is a centralized mechanism to change the paths in all my
> site-elements. (that means: Later when I switsch from development to
> production I just want to change pathname at one single point, not every
> single href, src ...)
> 
> Inside elements handled by cocoon (XSP, Generators, Action) thats no
> problem, because they know their own context. Things I later add in my
> Transformers are also no problem. I use xsl:include to set a variable in
> very other xsl.
> 
> BUT: I also use static html or xhtml pages. How can change path attributes
> an even javascript command in a similar centralized way?
> 
> Who can help? Maybe I am on a totally wrong way.
> 
> Rob
> 
> 
> 
> ---------------------------------------------------------------------
> 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>
> 




---------------------------------------------------------------------
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