Class Html5Context

  • All Implemented Interfaces:
    javax.faces.FacesWrapper<javax.faces.context.FacesContext>

    public class Html5Context
    extends javax.faces.context.FacesContextWrapper
    JSF generates all script tags with 'type="text/javascript"' which throws HTML5 validation warnings.
    Since:
    10.0.0
    • Constructor Summary

      Constructors 
      Constructor Description
      Html5Context​(javax.faces.context.FacesContext context)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setResponseWriter​(javax.faces.context.ResponseWriter responseWriter)  
      • Methods inherited from class javax.faces.context.FacesContextWrapper

        addMessage, getApplication, getAttributes, getClientIdsWithMessages, getCurrentPhaseId, getELContext, getExceptionHandler, getExternalContext, getMaximumSeverity, getMessageList, getMessageList, getMessages, getMessages, getNamingContainerSeparatorChar, getPartialViewContext, getRenderKit, getRenderResponse, getResourceLibraryContracts, getResponseComplete, getResponseStream, getResponseWriter, getViewRoot, getWrapped, isPostback, isProcessingEvents, isProjectStage, isReleased, isValidationFailed, release, renderResponse, responseComplete, setCurrentPhaseId, setExceptionHandler, setProcessingEvents, setResourceLibraryContracts, setResponseStream, setViewRoot, validationFailed
      • Methods inherited from class javax.faces.context.FacesContext

        getCurrentInstance, setCurrentInstance
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Html5Context

        public Html5Context​(javax.faces.context.FacesContext context)
    • Method Detail

      • setResponseWriter

        public void setResponseWriter​(javax.faces.context.ResponseWriter responseWriter)
        Overrides:
        setResponseWriter in class javax.faces.context.FacesContextWrapper