@Override
protected void setUpExternalContext() throws Exception
{
super.setUpExternalContext();
FaceletsProcessing item = new FaceletsProcessing();
item.setFileExtension(".xhtml");
item.setProcessAs(FaceletsProcessing.PROCESS_AS_XHTML);
RuntimeConfig.getCurrentInstance(externalContext).addFaceletProcessingConfiguration(
FaceletsProcessing.PROCESS_AS_XHTML, item);
}