A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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 - A Test Data Generation Platform
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.
I agree. Here's the link:
subject: tiles:insert VS tiles:get
Trying to use Tiles--Little success :-(
Reusable but not visible to client components with Struts and Tiles?
Tiles Insert Problem
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-2013