Is it possible that I can include my own java script in Genshi
template without writting ToscaWidgets?
Here is what I have in my template but it does not seem to work. It
does not pick up my script.
<script src="${tg.url('/public/javascript/mylayout.js')}"></script>
I am using TG 2.0. Is the above method only applicable in TG 1.0?
btw, my /public directory resides at the same level as /conrollers and
/templates directories.
thanks much in advance.
Thang
Strip out the /public part of the path and it should work.
Wes
Yes, it works. Thanks much for your help.
Happy Holidays!
tpn