Affects Version/s: 2.0
Fix Version/s: None
Operating System: All
If the page author does not specify <h:head> or <h:body> in the template, then
the VDL implementation should implicitly create the corresponding components and
place them into the tree where the <head> and <body> tags are found,
respectively. This allows the resource relocation feature (and other related
features) to be used without burdening the page author with remembering to add
<h:head> and <h:body>.
To have <head> and <body> be translated to <h:head> and <h:body> you just have
to provide a Facelets TagDecorator (about 15-25 loc) that will replace these two
tags at template compilation time, so the performance hit should be minimal.
The question remains, should that TagDecorator be part of an implementation (or
in case it is part of an implementation, should it be part of the compiler, as
then there is no need to have it in a Decorator).