You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/07/23 07:29:32 UTC
DO NOT REPLY [Bug 21820] New: -
Change of scope for tiles
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21820>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21820
Change of scope for tiles
Summary: Change of scope for tiles
Product: Struts
Version: 1.1 Final
Platform: PC
OS/Version: Other
Status: NEW
Severity: Enhancement
Priority: Other
Component: Tiles framework
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: chris.erskine@eds.com
I would like to see a parameter added to the tiles definitions which would
allow the scope to be changed. Currently, the scope of a tile definition is
only for the current tile where as I would like to make it include all sub-
tiles.
I have a layout which includes a top banner, a left menu and the content well.
With the current scope, I have to create a tile definition for each tile if I
want to use tile parameters within the sub-tiles. If I have 1 content tile
which is used from 5 different pages, each requiring different navigation and
top banners, I have to define the 5 master definitions, then 5 definitions each
for the left menu, the banner and then the content. This is a total of 20
definitions that will have to be defined.
On the other hand, if I could change the tile scope to include sub-tiles, I
could then have just the 5 master definitions.
If there are sub-tiles on a sub-tile which also requires different values, the
definitions could get carried away very quickly.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org