*
* @return the application's Facelet page compiler
*/
protected Compiler createCompiler(FacesContext context)
{
Compiler compiler = new SAXCompiler();
loadLibraries(context, compiler);
loadDecorators(context, compiler);
loadOptions(context, compiler);
compiler.setFaceletsProcessingConfigurations(
RuntimeConfig.getCurrentInstance(
context.getExternalContext()).getFaceletProcessingConfigurations());
return compiler;
}