on 12-06-2006 10:27 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.