• 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
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!