Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

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.


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, boolean force)
          add row set listener into iterator
 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, oracle.jbo.Row currentRow)
           
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 getClassName()
           
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, oracle.jbo.Row currentRow)
           
protected  java.lang.String getFullId()
           
protected  oracle.jbo.uicli.binding.JUIteratorBinding getIterator(javax.faces.context.FacesContext context)
           
protected  java.lang.String getLoggingPrefix()
           
 java.lang.Object getValue()
           
protected  java.lang.String getViewId()
           
 boolean isBindingChanged()
           
 boolean isEditable()
           
 void log(java.lang.String log)
           
 void logFinest(java.lang.String log)
           
static boolean loggingEnabled()
           
static boolean loggingFinestEnabled()
           
 void logMethod(java.lang.String method, java.lang.String log)
           
 void logMethodFinest(java.lang.String method, java.lang.String log)
           
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 setRowSetListener(oracle.jbo.uicli.binding.JUIteratorBinding iterBinding, boolean clean)
          setting/clean transient iterator into listener for bug 13935611, during user cancel a transaction, the listener get triggered but not able to find iterator
 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, addComponentChange, addComponentChange, addComponentChangeFilter, addFacesListener, broadcast, broadcastToMethodBinding, broadcastToMethodExpression, createFacesBean, decode, decodeChildren, decodeChildrenImpl, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getComponentChangeFilters, getContainerClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getParent, getProperty, getPropertyKey, getRenderedFacetsAndChildren, getRenderer, getRendererType, getRendersChildren, getValueBinding, getValueExpression, invokeOnChildrenComponents, invokeOnComponent, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeAttributeChangeListener, removeComponentChangeFilter, 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,
                                                            oracle.jbo.Row currentRow)

getFilteredAttributeDefinitions

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

getCategoryValue

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

getFullId

protected java.lang.String getFullId()

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,
                              boolean force)
add row set listener into iterator

Parameters:
iterBinding -
force: - when true, it is called from decoding, and we will reset the listener regardless if there is a existing one, also we will set iterator into the listener incase it can't find it, later the flex will clean the transient value after rendering

setRowSetListener

public void setRowSetListener(oracle.jbo.uicli.binding.JUIteratorBinding iterBinding,
                              boolean clean)
setting/clean transient iterator into listener for bug 13935611, during user cancel a transaction, the listener get triggered but not able to find iterator

Parameters:
iterBinding -
clean -

setBindingChanged

public void setBindingChanged(boolean bindingChanged)

isBindingChanged

public boolean isBindingChanged()

releaseBindings

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

getLoggingPrefix

protected java.lang.String getLoggingPrefix()

getClassName

protected java.lang.String getClassName()

loggingEnabled

public static boolean loggingEnabled()

loggingFinestEnabled

public static boolean loggingFinestEnabled()

log

public void log(java.lang.String log)

logFinest

public void logFinest(java.lang.String log)

logMethod

public void logMethod(java.lang.String method,
                      java.lang.String log)

logMethodFinest

public void logMethodFinest(java.lang.String method,
                            java.lang.String log)

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.