Details
Description
Dependency injection can be used currently to create only TagRule instances that are not using a PageBuilder. However, most provided implementations of SiteMesh require such an instance and functionally empowered rules will have to use one. Current SiteMeshPageExtractor is using such an instance of an anonymous class internally for own registered rules.
The anonymous class has to be made explicit as AttributedPageBuilder (a derived PageBuilder from SiteMesh, but with property support) and the SiteMeshPageExtractor implementation must support constructors taking such an AttributedPageBuilder instance provided by DI. That instance is then also available for any TagRule registered in the DI container.
Issue Links
- is depended upon by
-
XSITE-55
Provide the page body in the skin as individual top level paragraphs instead of one big blob
-
Activity
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] |
Fixed in trunk