lov prepare event in oaf
Lov prepare event is the lov event of the OAF. This event fires in the OAF
page in one specific case , when user did not populate this LOV in the OAF page
directly instead , user click on the Torch icon of the Lov field item so in
this case , this lov prepare event fires in the oaf Page. Usually when user did
not click on the torch icon then we can find the lov event with isLovEvent()
method but in this case when user click on the Torch icon then this method 'isLovEvent()'
return false so In this case this below 'lov prepare ' code works.
if("lovPrepare"
.equals(lovEvent))
{
String lovInputSourceId = pageContext.getLovInputSourceId();
if(
"LovItem1"
.equals(lovInputSourceId))
{
System.out.println(
"Inside Lov Prepare of LovItem1"
);
}
}
0 comments:
Post a Comment