> -----Original Message-----
> From: Mark Lundquist [mailto:[EMAIL PROTECTED] 
> Sent: dinsdag 7 oktober 2008 2:15
> To: users@cocoon.apache.org
> Subject: Re: javascript embedded in *.jx files
> 
> 
> No worries about the multiple posts ;-)
> 
> However, please do start new topics with a new post; using "reply"  
> screws up threading in mailreaders.
> 
> Anyhow...
> 
> On Oct 6, 2008, at 12:56 PM, Jeff Schmitz wrote:
> 
> > Hello,
> >   I can't seem to be able to create a JXTemplateGenerator .jx file 
> > that contains javascript without getting mal-formed xml 
> errors because 
> > of (for example) less than (<) symbols in the javascript 
> itself.  I've 
> > tried linking to a javascript file too using the <script> tag, but 
> > that doesn't work either for various reasons.
> 
> Really, external scripts aren't working for you?  Why not?

Probably because some serializer closes the script tag. Use <script
src="myscript.js" type="text/javascript">&#160;</script>. Another reason
could be that there's no pipeline matching the request for
"myscript.js".


Jasha Joachimsthal 
 
[EMAIL PROTECTED] - [EMAIL PROTECTED]
 
www.onehippo.com
Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466 
San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA
94952-3329 +1 (707) 773-4646


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

Reply via email to