Meaningless Drivel is fun!*
The moose likes Struts and the fly likes tiles:insert  VS tiles:get Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "tiles:insert  VS tiles:get" Watch "tiles:insert  VS tiles:get" New topic
Author

tiles:insert VS tiles:get

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

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.


GenRocket - Experts at Building Test Data
David Hibbs
Ranch Hand

Joined: Dec 19, 2002
Posts: 374
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


"Write beautiful code; then profile that beautiful code and make little bits of it uglier but faster." --The JavaPerformanceTuning.com team, Newsletter 039.
 
 
subject: tiles:insert VS tiles:get
 
Similar Threads
Tiles Insert Problem
Reusable but not visible to client components with Struts and Tiles?
Trying to use Tiles--Little success :-(
tiles again
Problem in rendering html tags in myfaces tiles