Tag outputScript

Render the markup for a <script> element that renders the script Resource specified by the optional name attribute and library attributes.

The implementation of this renderer must have a @ListenerFor annotation attached to it, at the class level, declaring PostAddToViewEvent.class as the value of the systemEventClass attribute. The presence of this annotation on a renderer implies the renderer implements ComponentSystemEventListener, which this renderer must do. The implementation of processEvent() must extract the UIComponent from the argument event and look for the presence of the key "target" in the component's attribute Map. If and only if such a key is present, the implementation of processEvent() must pass the component to UIViewRoot.addComponentResource().

Decode Behavior

Encode Behavior

Tag Information
Tag Class.Outputresource.ScriptTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

(must evaluate to javax.faces.convert.Converter)
Converter instance registered with this component.
idfalsetruejava.lang.StringThe component identifier for this component. This value must be unique within the closest parent component that is a naming container.
(must evaluate to boolean)
Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. The default value for this property is true.
(must evaluate to java.lang.Object)
The current value of this component.
(must evaluate to java.lang.String)

The libraryName for this resource.

(must evaluate to java.lang.String)

The resourceName for this resource.

(must evaluate to java.lang.String)

The target area for which this resource will be rendered. For example, target="head" would cause the resource to be rendered within the head element.

(must evaluate to javax.faces.component.UIComponent)
The ValueExpression linking this component to a property in a backing bean

No Variables Defined.

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.