OracleJavaScript API Reference for Oracle ADF Faces

 

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

oracle.adfinternal.view.js.laf.dhtml.rich.subids
Class AdfDhtmlInputFilePeer

Warning:

org.ecmascript.object.Object
   |
   +--oracle.adfinternal.view.js.laf.dhtml.rich.subids.AdfDhtmlInputFilePeer

public class AdfDhtmlInputFilePeer
extends Object
inputFile component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1. [label --> label] - inputFile label 2. [content --> content] - inputFile content 3. [upVal --> upVal] - inputFile update value (name of file selected) 4. [upBtn --> upBtn] - inputFile update button (pops up update dialog) 5. [dlg --> dlg] - inputFile update dialog If a subId is not contained in the map below, it's corresponding DOM is located programmatically in AdfDhtmlInputFilePeer.GetSubIdDomElement().



Field Summary

private static Object
_SUB_ID_MAP
inputFile component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1.


Fields inherited from org.ecmascript.object.Object

constructor, prototype


Constructor Summary

public
AdfDhtmlInputFilePeer()
inputFile component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1.


Method Summary

protected Object
GetBestMatchSubId(Object domElement)
Returns the best match subId for the given domElement.
protected HTMLElement
GetSubIdDomElement(String subElementId)
Returns the dom element for a given subElementId.


Field Detail


_SUB_ID_MAP

private static Object _SUB_ID_MAP

inputFile component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1. [label --> label] - inputFile label 2. [content --> content] - inputFile content 3. [upVal --> upVal] - inputFile update value (name of file selected) 4. [upBtn --> upBtn] - inputFile update button (pops up update dialog) 5. [dlg --> dlg] - inputFile update dialog If a subId is not contained in the map below, it's corresponding DOM is located programmatically in AdfDhtmlInputFilePeer.GetSubIdDomElement().

Constructor Detail


AdfDhtmlInputFilePeer

public AdfDhtmlInputFilePeer()

inputFile component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1. [label --> label] - inputFile label 2. [content --> content] - inputFile content 3. [upVal --> upVal] - inputFile update value (name of file selected) 4. [upBtn --> upBtn] - inputFile update button (pops up update dialog) 5. [dlg --> dlg] - inputFile update dialog If a subId is not contained in the map below, it's corresponding DOM is located programmatically in AdfDhtmlInputFilePeer.GetSubIdDomElement().

Method Detail


GetBestMatchSubId

protected Object GetBestMatchSubId(Object domElement)

Returns the best match subId for the given domElement. This can be enhanced further to return programmatically determined subIds. WARNING - You must make sure to bind the component to the peer before calling this function.

Parameters:
domElement    
Return:
Object
See also:
AdfRichUIPeer.GetSubIdDomElement(Object)

GetSubIdDomElement

protected HTMLElement GetSubIdDomElement(String subElementId)

Returns the dom element for a given subElementId.

Parameters:
subElementId  -  the id of the child dom element or component
Return:
HTMLElement - the DOM within the component related to scopedId

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

 

Generated on 2017.04.19 06:37 UTC
Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.