cancel
Showing results for 
Search instead for 
Did you mean: 

Reg "key"- kinda urgent

Former Member
0 Kudos

Hi all

Could any body tell me what does the "key" in the following code represents and can we hard code that value. The following code is a method in the EquipmentList.java.

public Forward onEquipmentSelected(Forwards forwards)

{

....

String key = (String) context.getValue("key");

....

}

Thanks

Venkat

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi venkat,

this is the key of the selected equipment object.

you can trace this by checking on the corresponding view file; looking for the

<i><event name="onEquipmentSelected"></i>

element... before the context is forwarded, this value is set into the context thru

the event url.

<i>helper.eventURL("onEquipmentSelected", "key", ((Mam031) currentElement).getKey());</i>

regards

jo

Former Member
0 Kudos

Hey Jo thanks

Yeah I went through those methods. Could you tell me how to read the locally stored data into the client, for instance let us say I want to read the entire row for a given measurement point number.

Thanks

Raj