Module org.omnifaces
Package org.omnifaces.component.script
package org.omnifaces.component.script
-
ClassesClassDescriptionThe
<o:deferredScript>is a component based on the standard<h:outputScript>which defers the loading of the given script resource to the window load event.The<o:highlight>is a helper component which highlights all invalidUIInputcomponents and the associated labels by adding an error style class to them.The<o:onloadScriptis a component that extends the standard<h:outputScript>which will be executed in the end of the HTML body (thus when all HTML elements are initialized in the HTML DOM tree) and will re-execute its script body on every ajax request.The<o:scriptErrorHandler>is a component that catches uncaught JavaScript errors and unhandled promise rejections on the client and sends them to the server vianavigator.sendBeacon(), where they are fired asScriptErrorCDI events.Base class which is to be shared between all components of the Script family.