struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stone, Sam" <>
Subject How to access componentDefinition?
Date Tue, 02 Jan 2007 15:18:49 GMT
Using the API from Sep 2006 I was able to access externally an attribute
from a tiles definition as follows:

String sTilesDefName = (String) request.getAttribute("tile_name");
TilesContext tilesContext = new
ServletTilesContext(session.getServletContext(), request, response);

ComponentDefinition componentDefinition =
TilesUtil.getDefinition(sTilesDefName, tilesContext);

String sMyAtribute = (String)

I can't quite figure out how to do this using the current Tiles 2 API.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message