Package de.xima.fc.gui.component.script
Class ScriptRendererExtension
- java.lang.Object
-
- javax.faces.render.Renderer
-
- com.sun.faces.renderkit.html_basic.ScriptStyleBaseRenderer
-
- com.sun.faces.renderkit.html_basic.ScriptRenderer
-
- de.xima.fc.gui.component.script.ScriptRendererExtension
-
- All Implemented Interfaces:
EventListener,javax.faces.event.ComponentSystemEventListener,javax.faces.event.FacesListener
public class ScriptRendererExtension extends com.sun.faces.renderkit.html_basic.ScriptRendererThisRendererhandles the rendering ofscriptreferences. Supports ESM by setting thetype="module"attribute when the script name ends with.esm.js. Otherwise, does not set the type attribute at all, sincetext/javascriptis now the default value as per HTML specification.
-
-
Constructor Summary
Constructors Constructor Description ScriptRendererExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidstartInlineElement(javax.faces.context.ResponseWriter writer, javax.faces.component.UIComponent component)-
Methods inherited from class com.sun.faces.renderkit.html_basic.ScriptRenderer
endExternalElement, endInlineElement, startExternalElement
-
-
-
-
Method Detail
-
startInlineElement
protected void startInlineElement(javax.faces.context.ResponseWriter writer, javax.faces.component.UIComponent component) throws IOException- Overrides:
startInlineElementin classcom.sun.faces.renderkit.html_basic.ScriptRenderer- Throws:
IOException
-
-