code: private Facelet _getFacelet(FacesContext context, String viewId) throws IOException
      {
          // grab our FaceletFactory and create a Facelet
          FaceletFactory.setInstance(_faceletFactory);
          try
          {
              return _faceletFactory.getFacelet(context, viewId);
          }
          finally
          {
              FaceletFactory.setInstance(null);
          }
      }
docs: Gets the Facelet representing the specified view identifier.
  
  @param viewId
  the view identifier
  
  @return the Facelet representing the specified view identifier
  
  @throws IOException
  if a read or parsing error occurs