org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs
Class GlobalVariablesScriptlet

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.Scriptlet
      extended by org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.GlobalVariablesScriptlet

public class GlobalVariablesScriptlet
extends Scriptlet

Scriptlet which defines global variable needed by Common.js

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/renderkit/core/xhtml/jsLibs/GlobalVariablesScriptlet.java#0 $) $Date: 10-nov-2005.19:02:46 $
Author:
The Oracle ADF Faces Team

Field Summary
static java.lang.String GLOBAL_VARIABLES_KEY
           
 
Constructor Summary
GlobalVariablesScriptlet()
           
 
Method Summary
 java.lang.Object getScriptletKey()
          Returns the key that uniquely identifies the scriptlet.
protected  void outputScriptletContent(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc)
          Outputs the content of the scriptlet - the text or attributes between the script elements.
static Scriptlet sharedInstance()
           
 
Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.Scriptlet
embedInScriptTag, embedInScriptTagImpl, outputDependency, outputScriptlet, outputScriptletImpl, registerSelf, registerSelfWithKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GLOBAL_VARIABLES_KEY

public static final java.lang.String GLOBAL_VARIABLES_KEY
See Also:
Constant Field Values
Constructor Detail

GlobalVariablesScriptlet

public GlobalVariablesScriptlet()
Method Detail

getScriptletKey

public java.lang.Object getScriptletKey()
Description copied from class: Scriptlet
Returns the key that uniquely identifies the scriptlet.

Specified by:
getScriptletKey in class Scriptlet

sharedInstance

public static Scriptlet sharedInstance()

outputScriptletContent

protected void outputScriptletContent(javax.faces.context.FacesContext context,
                                      org.apache.myfaces.trinidad.context.RenderingContext arc)
                               throws java.io.IOException
Description copied from class: Scriptlet
Outputs the content of the scriptlet - the text or attributes between the script elements.

Specified by:
outputScriptletContent in class Scriptlet
Throws:
java.io.IOException


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.