Use SiteMesh as module for snippet injection (MSITEMESH-8)

[MSITEMESH-6] Allow to replace content between pair tags Created: 25/Nov/14  Updated: 15/Dec/14  Resolved: 11/Dec/14

Status: Closed
Project: SiteMesh
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Sub-task Priority: Neutral
Reporter: Roman Kovařík Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
depends upon MGNLCACHE-81 Mark content comming from cache Closed
Template:
Date of First Response:

 Description   

InjectTag currently works only for unpaired tags (<mgnl:includeuri .../>)
If we would be able to replace also content between pair tags, we can also leave the original snippet content in place as fallback.

<mgnl:includeuri>
some (probably obsolete) area or component content cached with a page
</mgnl:includeuri>

The main reason is to skip time consuming snippet injection if the content doesn't come from cache but directly from rendering. We need to mark content comming from cache (to be addressed by MGNLCACHE-81).



 Comments   
Comment by Jan Haderka [ 10/Dec/14 ]

Wouldn't this change deserve expanding tests a bit to cover cases where closing tag is missing or where body is empty and so on?
BTW fix version is also not set yet.

Generated at Mon Feb 12 10:56:53 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.