if (b == null || b.booleanValue() == false) {
log.trace("Initializing MyFaces");
//Load the configuration
ExternalContext externalContext = new PortletExternalContextImpl(portletContext, null, null);
//And configure everything
new FacesConfigurator(externalContext).configure();
// parse web.xml - not sure if this is needed for portlet