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 06:52:15 GMT
 

> -----Original Message-----
> From: Mark Lundquist [mailto:ml@wrinkledog.com] 
> 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 
 
j.joachimsthal@onehippo.com - jasha@apache.org
 
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message