Application app = appFactory.getApplication();
app.addELContextListener(this);
// Process and cache the FacesServlet mappings for use by
// ExternalContext
WebConfigurationProcessor webConfig = new WebConfigurationProcessor(portletContext);
mFacesMappings = webConfig.getFacesMappings();
if (mFacesMappings == null || mFacesMappings.size() == 0)
{
throw new BridgeException("BridgeImpl.init(): unable to determine Faces servlet web.xml mapping.");
}
for (int i = 0; i < mFacesMappings.size(); i++)