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 2004/04/26 03:46:22 UTC

DO NOT REPLY [Bug 28586] New: - Tile Def Name in Globals

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28586>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28586

Tile Def Name in Globals

           Summary: Tile Def Name in Globals
           Product: Struts
           Version: Unknown
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Tiles framework
        AssignedTo: dev@struts.apache.org
        ReportedBy: kunalp@carsales.com.au


Hi All!

I was wondering if it is allright to add the tiles definiton name being 
processed in Globals and set it as a request attribute.

POA
===
Globals
=======
Key Name: TILES_DEF_NAME_KEY
Key Value: org.apache.struts.tiles.TILES_DEFINITION_NAME

TilesRequestProcessor
=====================
MethodName: processForwardConfig
MODS:
Do following:
===========================
if( processTilesDefinition )
{
...
request.setAttribute( Globals.TILES_DEF_NAME_KEY, forward.getPath() );
...
}
...
===========================

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org