[ 
https://issues.apache.org/struts/browse/TILES-374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45665#action_45665
 ] 

pijmleko edited comment on TILES-374 at 3/3/09 11:53 AM:
---------------------------------------------------------

patch added (more extensible definition rendering flow in BasicTilesContainer)

      was (Author: pijmleko):
    more extensible definition rendering flow in BasicTilesContainer
  
> change visibility of 'render' methods in BasicTilesContainer
> ------------------------------------------------------------
>
>                 Key: TILES-374
>                 URL: https://issues.apache.org/struts/browse/TILES-374
>             Project: Tiles
>          Issue Type: Improvement
>          Components: tiles-core
>    Affects Versions: 2.1.2
>            Reporter: pijmleko
>            Priority: Trivial
>         Attachments: TILES-374.patch
>
>
> Extending BasicTilesContainer is limited due to many private methods. I'd 
> like to add declarative caching in my tiles definition file (by adding an 
> attribute 'cache' with value 'cacheKey') to skip rendering of a definition 
> and pull entire content from the cache. Actually the only place I can do that 
> is BasicTilesContainer.render(TilesRequestContext request, String 
> definitionName) method. Within this method, definition is being loaded 
> (hence, attributes are available) and check against possible cache would be 
> possible. Unfortunately this and following 'render' methods are private, and 
> I can't override appropriate methods. Can you consider changing visibility to 
> protected or providing some hooks in definition rendering flow.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to