If this ScriptLibraryManager already contains the specified element, this manager remains unchanged and returns false, otherwise returns true.
Note:ATM only accepts DefaultComponentScriptAssetReferences.
@param scriptReference the script asset reference to add @return true iff the reference is added to the manager as a new element @throws IllegalStateException if the manager is closedThis method may be called multiple times for the same priority and the script will be accumulated. @param priority when to execute the provided script @param script statement to add to the block (a newline will be appended as well)
It is not an error to refuse to handle the script and return false, it just indicates that this ScriptConduit did not accept the script. If the ScriptConduit can no longer function then it should throw an exception and it will be assumed to be no longer useful. If you want to implement this method then you will probably be doing something like calling {@link ServletOutputStream#print(String)} andpassing in the results of calling ScriptBufferUtil.createOutput(). @param script The script to execute @return true if this ScriptConduit handled the script. @throws IOException If this conduit is broken and should not be used @throws ConversionException If objects in the script can not be marshalled
Adds new script to render at the end of page. Is the same script already set to render ( lookup by equals() method ), no new object added.
@param facesContext TODO @param script @return actual object that will be rendered at the end of page.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|