Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tiles:insert VS tiles:get

 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On this web site, they use

But on a PDF tutorial found here they use the following syntax:

They both seem to work the same. Is there any difference? Is this a version difference? Which way is preferred?
Thanks.
 
David Hibbs
Ranch Hand
Posts: 374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
insert goes directly to the tiles definitions.
get retrieves something from the request scope, i.e. after being 'put' there with a put tag.
See the tiles taglib docs here:
http://www.lifl.fr/~dumoulin/tiles/doc/tilesTags.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic