Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tiles and javascript

 
Sriram Chandrasekaran
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am going to use the tiles framework. I am not sure how
i can insert custom javascript into each jsp page...even though they may use the same layout...
i.e...though the use the same layout page...how can i change
the included javascript...does tiles insert tag be used
to insert a javascript file? or what exactly is recommended?

thanks in advance
-ram
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use an include scriptlet in your header tile. That way it is only in one place in your code.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic