oracle.adf.view.faces.component.core
Class CoreImportScript

java.lang.Object
  extended byjavax.faces.component.UIComponent
      extended byoracle.adf.view.faces.component.UIXComponent
          extended byoracle.adf.view.faces.component.UIXComponentBase
              extended byoracle.adf.view.faces.component.core.CoreImportScript
All Implemented Interfaces:
StateHolder

public class CoreImportScript
extends UIXComponentBase

The importScript component supports importing the built-in scripts provided by ADF Faces. It can be used to ensure that a Javascript function is available before using it in a Javascript handler. Only the first reference to a script will result in its being imported.

Example:

     <af:importScript names="submitForm() TableProxy()"/>
*

This bean is not supported on the following agent types: pda, phone, voice.

It does not support any children.


Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
static PropertyKey NAMES_KEY
           
static FacesBean.Type TYPE
           
 
Fields inherited from class oracle.adf.view.faces.component.UIXComponentBase
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY
 
Constructor Summary
  CoreImportScript()
          Construct an instance of the CoreImportScript.
protected CoreImportScript(java.lang.String rendererType)
          Construct an instance of the CoreImportScript.
 
Method Summary
protected  FacesBean.Type getBeanType()
           
 java.lang.String getFamily()
           
 java.lang.String[] getNames()
          Gets a series of function names
 void setNames(java.lang.String names)
          Sets a series of function names
 void setNames(java.lang.String[] names)
          Sets a series of function names
 
Methods inherited from class oracle.adf.view.faces.component.UIXComponentBase
addAttributeChange, addAttributeChange, addAttributeChangeListener, addFacesListener, broadcast, createFacesBean, decode, decodeChildren, decodeChildrenImpl, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getLocalClientId, getParent, getProperty, getPropertyKey, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeAttributeChangeListener, removeFacesListener, restoreState, saveState, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setValueBinding, toString, updateChildren, updateChildrenImpl, validateChildren, validateChildrenImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final FacesBean.Type TYPE

NAMES_KEY

public static final PropertyKey NAMES_KEY

COMPONENT_FAMILY

public static final java.lang.String COMPONENT_FAMILY
See Also:
Constant Field Values

COMPONENT_TYPE

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

CoreImportScript

public CoreImportScript()
Construct an instance of the CoreImportScript.


CoreImportScript

protected CoreImportScript(java.lang.String rendererType)
Construct an instance of the CoreImportScript.

Method Detail

getNames

public final java.lang.String[] getNames()
Gets a series of function names


setNames

public final void setNames(java.lang.String[] names)
Sets a series of function names


setNames

public final void setNames(java.lang.String names)
Sets a series of function names


getFamily

public java.lang.String getFamily()
Specified by:
getFamily in class UIXComponentBase

getBeanType

protected FacesBean.Type getBeanType()
Overrides:
getBeanType in class UIXComponentBase


Copyright © 2003-2007 Oracle Corporation. All Rights Reserved.