Share this page

# Example: nca_java_get_value

In the following example, the nca_java_get_value function gets the value of the NAVIGATOR_SOCKETLISTENER_0 object and saves it to the variable out_value. As a result of the call to nca_lov_select_item, the server creates an object with an ID of 114 and property of 129, and object name NAVIGATOR_SOCKETLISTENER_0.

    char out_value[200];

    nca_lov_select_item("Responsibilities", "Assets, Vision Operations (USA)");
    nca_java_get_value("NAVIGATOR_SOCKETLISTENER_0",out_value);

    As a result of the call to nca_lov_select_item, the server creates object IDs, properties, an object name and a value. The first message shows the object name and the second one shows its value:

    Server Message Properties: action=1 handlerClassId=0x10F handlerId=114
         property=129 type=0x4000 value="NAVIGATOR_SOCKETLISTENER_0"

    Server Message Properties: action=2 handlerClassId=0x10F handlerId=114
         property=402 type=0xE008 value=Message
         Sub Message Properties: action=2 handlerClassId=0x10F handlerId=114
         property=403 type=0x4000 value="+"
         property=404 type=0x4000
         value="sl:oracle.apps.fnd.formsClient.SocketListener"

    The result of the function can be viewed in the Execution log:

    Action1.c(15): nca_java_get_value("NAVIGATOR_SOCKETLISTENER_0",
              "sl:oracle.apps.fnd.formsClient.SocketListener")

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: