Example: nca_java_set_area_class
In this example, the IXPROP_JAVA_AREA_CLASS property of oracle.apps.jtf.table.SpreadTableWrapper is set to resources==[29] for event resourceRequest and IXPROP_JAVA_AREA_CLASS property of oracle.apps.jtf.table.SpreadTableWrapper for event resourceRequest is set to an empty string.
char* JavaClassProp[][4] = {
{ "GRID_BLOCK_GRID_ITEM_0",
"oracle.apps.jtf.table.SpreadTableWrapper",
"resourceRequest", "resources==[29] " },
{ "GRID_BLOCK_GRID_ITEM_0",
"oracle.apps.jtf.table.SpreadTableWrapper",
"msgRequested",
"" },
{ 0, 0, 0, 0 }
};
nca_java_set_area_class( JavaClassProp );
nca_connect_server( ... );
The following section of a log file illustrates the above properties: Server Message Properties: action=1 handlerClassId=0x10F handlerId=223 property=129 type=0x4000 value="GRID_BLOCK_GRID_ITEM_0" property=397 type=0x4000 value="oracle.apps.jtf.table.SpreadTableWrapper"
Server Terminate Message: #5
Client Message Properties: action=2 handlerClassId=0x10F handlerId=223 property=398 type=0xE008 value=Message Sub Message Properties: action=2 handlerClassId=0x10F handlerId=223 property=399 type=0x4000 value="resourceRequest" property=400 type=0x4000 value="resources" property=401 type=0x4000 value="[29]"
Client Message Properties: action=2 handlerClassId=0x10F handlerId=223 property=398 type=0xE008 value=Message Sub Message Properties: action=2 handlerClassId=0x10F handlerId=223 property=399 type=0x4000 value="msgRequested"