Map decorator Lets simply map this to decorator to all URLs. Basic URL mapping is done in /WEB-INF/decorators.xml
4. Merge content & decorator Resulting code is plain HTML again Example result:
ADVANCE D TECHNIQUES How is the decorator chosen?
A stack of DecoratorMappers are consulted in sequence to find a decorator Mapper selects decorator for each request using: request meta data fields map application specific information Mapping is decoupled from pages themselves No more fragile
Page Uses page specified meta tag Frameset Handles framed sites Printable For making printable versions Language