ITPub博客

首页 > 数据库 > Oracle > 获取LOV事件

获取LOV事件

原创 Oracle 作者:kawontony 时间:2019-07-23 14:01:48 1 删除 编辑


if (pageContext.isLovEvent())
{
// Form was submitted because the user selected
// a value from the LOV modal window,
// or because the user tabbed out of the LOV input.
// Find out which LOV input triggered the event.


String lovInputSourceId = pageContext.getLovInputSourceId();//取当前触发事件的LOV


// At this point, all the data is available in the base VO, just as in
// regular PPR events. Invoke an AM method to update the application
// properties VO.
//


//获取特定LOV事件

 if ("myLovInput".equals(lovInputSourceId))
 {
 am.invokeMethod("handleMyLovInputEvent");
 }
}


The pageContext.isLovEvent method returns true if the event value is LOV_UPDATE (meaning the user
selected a value from the LOV modal window), or LOV_VALIDATE (meaning the user tabbed out of the LOV
input field on the base page).

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/24627116/viewspace-2651448/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2010-11-17

  • 博文量
    183
  • 访问量
    433654