# JavaScript API Reference for Oracle ADF Faces

Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle® Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.2.1.4.0) E81451-01
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |

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

# oracle.adfinternal.view.js.laf.dhtml.rich.subids
Class AdfDhtmlSelectOneChoicePeer

## Warning:

- This is an unsupported, internal implementation class.
- Use an API class that might provide equivalent functionality instead.
- This class will change without notice.
- It is not recommended that you use anything in this class.

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

    public class AdfDhtmlSelectOneChoicePeer
    extends Object

selectOneChoice component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1. [content --> content] - selectOneChoice content 2. [label --> label] - selectOneChoice label 3. [item[(value)] --> item] - selectOneChoice item (selectItem, by rendered value) 4. [dropdown --> drop (compact mode only)] - selectOneChoice compact mode dropdown

## Field Summary
`private static Object` | `_SUB_ID_MAP` selectOneChoice component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1.

### Fields inherited from org.ecmascript.object.Object
`constructor, prototype`

## Constructor Summary
`public` | `AdfDhtmlSelectOneChoicePeer()` selectOneChoice 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`
  selectOneChoice component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1. [content --> content] - selectOneChoice content 2. [label --> label] - selectOneChoice label 3. [item[(value)] --> item] - selectOneChoice item (selectItem, by rendered value) 4. [dropdown --> drop (compact mode only)] - selectOneChoice compact mode dropdown

## Constructor Detail

### AdfDhtmlSelectOneChoicePeer

`public AdfDhtmlSelectOneChoicePeer()`
  selectOneChoice component publishes the following sub ids [External Subid --> Internal Client SubId]:- 1. [content --> content] - selectOneChoice content 2. [label --> label] - selectOneChoice label 3. [item[(value)] --> item] - selectOneChoice item (selectItem, by rendered value) 4. [dropdown --> drop (compact mode only)] - selectOneChoice compact mode dropdown

## 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

Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle® Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.2.1.4.0) E81451-01
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |

Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.