This may be a better way of solving your problem as you won’t need to dynamically include views in some kind of master file. You can use standard Facelets/VDL templating to include your header and footer.
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.