Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

oracle.apps.fnd.applcore.flex.dynamic
Interface DynamicComponentFactory

All Known Implementing Classes:
BaseDynamicComponentFactory, CheckboxFactory, CheckboxInputFactory, ChoiceListOfValuesFactory, ComboBoxFactory, DateInputTextFactory, EnumListChoiceFactory, InputTextFactory, ListOfValuesFactory, SelectOneChoiceFactory, SelectOneRadioFactory, TableFactory, TableNodeFactory, UIXEditableValueFactory

public interface DynamicComponentFactory

UIComponent factory, based on attribute definition and parent component type etc.


Method Summary
 org.apache.myfaces.trinidad.component.UIXComponent create()
          create UIComponent with necessary binding object
 oracle.adf.model.binding.DCControlBinding createControlBinding(java.lang.String bindingName)
          create BC binding is necessary, only works if the factory is initialized as isTable=false; table row level bindings are already created
 java.lang.String getType()
          component type suppored by this factory
 void initialize(javax.faces.context.FacesContext context, javax.faces.component.UIComponent parent, oracle.adf.model.binding.DCIteratorBinding iterator, oracle.jbo.AttributeDef attrDef, boolean insideTable, java.util.Map additionalParameters)
          init the factory, passing in the faces context, parent component
 

Method Detail

getType

java.lang.String getType()
component type suppored by this factory

Returns:

initialize

void initialize(javax.faces.context.FacesContext context,
                javax.faces.component.UIComponent parent,
                oracle.adf.model.binding.DCIteratorBinding iterator,
                oracle.jbo.AttributeDef attrDef,
                boolean insideTable,
                java.util.Map additionalParameters)
init the factory, passing in the faces context, parent component

Parameters:
context -
parent -
iterator -
attrDef -
isTable -
additionalParameters - as key value pairs, the keys could be "accessor" table accessor "bindingNameSuffix" - additional suffix for unique binding name, binding name = iteratorName+attributeDefName+suffix "autoSubmit" "valueChangeListener" "readOnly"

createControlBinding

oracle.adf.model.binding.DCControlBinding createControlBinding(java.lang.String bindingName)
create BC binding is necessary, only works if the factory is initialized as isTable=false; table row level bindings are already created

Parameters:
bindingName -
Returns:
binding

create

org.apache.myfaces.trinidad.component.UIXComponent create()
create UIComponent with necessary binding object

Returns:
the UIComponent

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

Copyright © 2011 Oracle. All Rights Reserved.