A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
tiles:insert VS tiles:get
Joined: Jul 11, 2001
Jun 03, 2003 20:55:00
web site, they use
<tiles:get name="header" />
But on a
they use the following syntax:
<tiles:insert attribute="header" />
They both seem to work the same. Is there any difference? Is this a version difference? Which way is preferred?
GenRocket - Experts at Building Test Data
Joined: Dec 19, 2002
Jun 04, 2003 14:54:00
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:
"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
Tiles Insert Problem
Reusable but not visible to client components with Struts and Tiles?
Trying to use Tiles--Little success :-(
Problem in rendering html tags in myfaces tiles
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014