Package org.omnifaces.component.script


package org.omnifaces.component.script
  • Classes
    Class
    Description
    The <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 invalid UIInput components and the associated labels by adding an error style class to them.
    The <o:onloadScript is 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 via navigator.sendBeacon(), where they are fired as ScriptError CDI events.
    Base class which is to be shared between all components of the Script family.