velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jian chen" <chenjian1...@gmail.com>
Subject javascript not displayed in #parse included template
Date Thu, 08 Nov 2007 20:23:22 GMT
Hi,

I have a template included using #parse() into the main template. So,
it is like: #parse("subtemplate.vm")

In the subtemplate.vm, I have a javascript, <script src="xxxxx"></script>

However, when rendering the main template, I do not see the javascript
section in html source. But, If I take away the script from the
subtemplate, I see the other content in that subtemplate rendered.

Anyone has idea why this happened? How to fix it?

Thanks!

Jian

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Mime
View raw message