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

E22562-01

oracle.apps.fnd.applcore.flex.dynamic
Class DynamicForm

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by org.apache.myfaces.trinidad.component.UIXComponent
          extended by org.apache.myfaces.trinidad.component.UIXComponentBase
              extended by org.apache.myfaces.trinidad.component.UIXPanel
                  extended by oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout
                      extended by oracle.apps.fnd.applcore.flex.dynamic.DynamicForm
All Implemented Interfaces:
javax.faces.component.StateHolder
Direct Known Subclasses:
DescriptiveFlexfield, DynamicTable, FilterComponent, KffComponent

public class DynamicForm
extends oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout

Dynamic Form implementation for Flex UI Custom component.


Nested Class Summary
 class DynamicForm.MyRowSetListener
          The listener attached with iterator, used to clean up the unused bindings.
 
Field Summary
static java.lang.String CATEGORY
           
static org.apache.myfaces.trinidad.bean.PropertyKey CATEGORY_KEY
           
static java.lang.String COMPONENT_TYPE
           
static java.lang.String DISPLAYHINT
           
static org.apache.myfaces.trinidad.bean.PropertyKey EDITABLE_KEY
           
protected  java.util.HashMap<java.lang.String,DynamicComponentFactory> factories
           
static java.lang.String FIELDORDER
           
static org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
           
static org.apache.myfaces.trinidad.bean.PropertyKey VALUE_KEY
           
 
Fields inherited from class oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout
CLIENT_ATTRIBUTES_KEY, CLIENT_COMPONENT_KEY, CLIENT_LISTENERS_KEY, COMPONENT_FAMILY, CUSTOMIZATION_ID_KEY, FIELD_WIDTH_KEY, FOOTER_FACET, INLINE_STYLE_KEY, LABEL_ALIGNMENT_KEY, LABEL_ALIGNMENT_START, LABEL_ALIGNMENT_TOP, LABEL_WIDTH_KEY, MAX_COLUMNS_KEY, PARTIAL_TRIGGERS_KEY, ROWS_KEY, SHORT_DESC_KEY, STYLE_CLASS_KEY, UNSECURE_KEY, VISIBLE_KEY
 
Fields inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
DynamicForm()
           
 
Method Summary
protected  void addFactory(DynamicComponentFactory factory)
           
 void addRowSetListener(oracle.jbo.uicli.binding.JUIteratorBinding iterBinding)
           
 void afterCreateChildren()
           
protected  void createChildren(javax.faces.context.FacesContext context)
          check current row and generate UI components and bindings
 void encodeBegin(javax.faces.context.FacesContext context)
           
protected  oracle.jbo.AttributeDef[] getAttributeDefinitions(oracle.jbo.uicli.binding.JUIteratorBinding iterator)
           
protected  BaseDynamicComponentFactory getBaseFactory(java.lang.String controlType)
           
protected  org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
           
 java.lang.String getCategory()
           
protected  java.lang.String getCategoryValue(oracle.jbo.AttributeDef aDef, oracle.jbo.LocaleContext localCtx)
           
protected  java.lang.String getControlType(oracle.jbo.LocaleContext localCtx, oracle.jbo.AttributeDef def)
           
protected  oracle.jbo.Row getCurrentRow(oracle.jbo.uicli.binding.JUIteratorBinding iterator)
           
 boolean getEditPermission(javax.faces.context.FacesContext context)
           
protected  oracle.jbo.AttributeDef[] getFilteredAttributeDefinitions(oracle.jbo.uicli.binding.JUIteratorBinding iterator)
           
protected  oracle.jbo.uicli.binding.JUIteratorBinding getIterator(javax.faces.context.FacesContext context)
           
 java.lang.Object getValue()
           
protected  java.lang.String getViewId()
           
 boolean isBindingChanged()
           
 boolean isEditable()
           
protected  void populateFactories()
           
 void releaseBindings(oracle.jbo.uicli.binding.JUIteratorBinding iterBinding)
           
 void setBindingChanged(boolean bindingChanged)
           
 void setCategory(java.lang.String category)
           
 void setEditable(boolean editable)
           
 void setValue(java.lang.Object value)
           
protected  boolean skipAttributeDef(javax.faces.context.FacesContext context, oracle.jbo.uicli.binding.JUIteratorBinding iterator, oracle.jbo.AttributeDef def)
           
 
Methods inherited from class oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout
getClientAttributes, getClientListeners, getCustomizationId, getFamily, getFieldWidth, getFooter, getInlineStyle, getLabelAlignment, getLabelWidth, getMaxColumns, getPartialTriggers, getRows, getShortDesc, getStyleClass, getUnsecure, isClientComponent, isVisible, setClientAttributes, setClientComponent, setClientListeners, setCustomizationId, setFieldWidth, setFooter, setInlineStyle, setLabelAlignment, setLabelWidth, setMaxColumns, setPartialTriggers, setRows, setShortDesc, setStyleClass, setUnsecure, setVisible
 
Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase
adaptMethodBinding, addAttributeChange, addAttributeChangeListener, addFacesListener, broadcast, broadcastToMethodBinding, broadcastToMethodExpression, createFacesBean, decode, decodeChildren, decodeChildrenImpl, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getContainerClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getParent, getProperty, getPropertyKey, getRenderer, getRendererType, getRendersChildren, getValueBinding, getValueExpression, invokeOnChildrenComponents, invokeOnComponent, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeAttributeChangeListener, removeFacesListener, restoreState, satisfiesPartialTrigger, saveState, setAttributeChangeListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setValueBinding, setValueExpression, toString, updateChildren, updateChildrenImpl, validateChildren, validateChildrenImpl
 
Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponent
addPartialTarget, encodeFlattenedChild, encodeFlattenedChildren, getLogicalParent, getLogicalParent, isVisitable, partialEncodeVisit, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, setPartialTarget, setUpEncodingContext, setupVisitingContext, tearDownEncodingContext, tearDownVisitingContext, visitTree, visitTree
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COMPONENT_TYPE

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

FIELDORDER

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

CATEGORY

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

DISPLAYHINT

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

TYPE

public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE

VALUE_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey VALUE_KEY

CATEGORY_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey CATEGORY_KEY

EDITABLE_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey EDITABLE_KEY

factories

protected transient java.util.HashMap<java.lang.String,DynamicComponentFactory> factories
Constructor Detail

DynamicForm

public DynamicForm()
Method Detail

getBeanType

protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
Overrides:
getBeanType in class oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout

setValue

public final void setValue(java.lang.Object value)

getValue

public final java.lang.Object getValue()

getCategory

public java.lang.String getCategory()

setCategory

public void setCategory(java.lang.String category)

isEditable

public boolean isEditable()

setEditable

public void setEditable(boolean editable)

getEditPermission

public boolean getEditPermission(javax.faces.context.FacesContext context)

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext context)
                 throws java.io.IOException
Overrides:
encodeBegin in class org.apache.myfaces.trinidad.component.UIXComponentBase
Throws:
java.io.IOException

addFactory

protected final void addFactory(DynamicComponentFactory factory)

populateFactories

protected void populateFactories()

getBaseFactory

protected BaseDynamicComponentFactory getBaseFactory(java.lang.String controlType)

getIterator

protected final oracle.jbo.uicli.binding.JUIteratorBinding getIterator(javax.faces.context.FacesContext context)

skipAttributeDef

protected boolean skipAttributeDef(javax.faces.context.FacesContext context,
                                   oracle.jbo.uicli.binding.JUIteratorBinding iterator,
                                   oracle.jbo.AttributeDef def)

getControlType

protected java.lang.String getControlType(oracle.jbo.LocaleContext localCtx,
                                          oracle.jbo.AttributeDef def)

getCurrentRow

protected oracle.jbo.Row getCurrentRow(oracle.jbo.uicli.binding.JUIteratorBinding iterator)

getAttributeDefinitions

protected oracle.jbo.AttributeDef[] getAttributeDefinitions(oracle.jbo.uicli.binding.JUIteratorBinding iterator)

getFilteredAttributeDefinitions

protected oracle.jbo.AttributeDef[] getFilteredAttributeDefinitions(oracle.jbo.uicli.binding.JUIteratorBinding iterator)

getCategoryValue

protected java.lang.String getCategoryValue(oracle.jbo.AttributeDef aDef,
                                            oracle.jbo.LocaleContext localCtx)

createChildren

protected void createChildren(javax.faces.context.FacesContext context)
check current row and generate UI components and bindings

Parameters:
context -

afterCreateChildren

public void afterCreateChildren()

getViewId

protected java.lang.String getViewId()

addRowSetListener

public void addRowSetListener(oracle.jbo.uicli.binding.JUIteratorBinding iterBinding)

setBindingChanged

public void setBindingChanged(boolean bindingChanged)

isBindingChanged

public boolean isBindingChanged()

releaseBindings

public void releaseBindings(oracle.jbo.uicli.binding.JUIteratorBinding iterBinding)

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

E22562-01

Copyright © 2011 Oracle. All Rights Reserved.