cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jasha Joachimsthal" <j.joachimst...@onehippo.com>
Subject RE: javascript embedded in *.jx files
Date Tue, 07 Oct 2008 18:49:12 GMT



-----Original Message-----
From: Jeff Schmitz [mailto:jeffandmonica@mac.com]
Sent: Tue 10/7/2008 17:32
To: users@cocoon.apache.org
Subject: Re: javascript embedded in *.jx files
 
> > Really, external scripts aren't working for you?  Why not?
> I think the main reason was I couldn't figure out how to  correctly point to where the
script was.  I kept getting file not found errors in the output.

Is there a matcher in your sitemap for the javascript file. Something like
<map:match pattern="*.js"> <!-- request for myscript.js or myscript1.js -->
<map:read src="js/{1}.js"/> <!-- actual script is located inside the js directory
-->
</map:match>

Mime
View raw message