Hash Map in OAF:
Hashtable params = new Hashtable (1);
params.put ("param1", pageName);
Hashtable paramsWithBinds = new Hashtable(3);
paramsWithBinds.put ("param2", new OADataBoundValueFireActionURL(ActualFlag, "{$PoHeaderId}"));
paramsWithBinds.put ("param3", new OADataBoundValueFireActionURL(ActualFlags, "{$LINE_LOCATION_ID}"));
paramsWithBinds.put ("param4", new OADataBoundValueFireActionURL(ActualFlag, "{$ActualFlag}"));
FireAction fireAction = OAWebBeanUtils.getFireActionForSubmit (MHDDate, "MHDDateEvent", params, paramsWithBinds,false, false);
ActualFlag.setFireActionForSubmit("ActualFlagEvent",params, paramsWithBinds,true,true);
Hashtable params = new Hashtable (1);
params.put ("param1", pageName);
Hashtable paramsWithBinds = new Hashtable(3);
paramsWithBinds.put ("param2", new OADataBoundValueFireActionURL(ActualFlag, "{$PoHeaderId}"));
paramsWithBinds.put ("param3", new OADataBoundValueFireActionURL(ActualFlags, "{$LINE_LOCATION_ID}"));
paramsWithBinds.put ("param4", new OADataBoundValueFireActionURL(ActualFlag, "{$ActualFlag}"));
FireAction fireAction = OAWebBeanUtils.getFireActionForSubmit (MHDDate, "MHDDateEvent", params, paramsWithBinds,false, false);
ActualFlag.setFireActionForSubmit("ActualFlagEvent",params, paramsWithBinds,true,true);
No comments:
Post a Comment