酷酷娱乐网

站内广告

获取LOV事件

时间:2020-09-15 19:30:02   作者:酷酷娱乐网   来源:www.kukuyl.com  
内容摘要:


if (pageContext.isLovEvent())

{

// Form was submitted because the user......


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).

本文章url:https://www.kukuyl.com/new/30000599.html

相关文章

CopyRight 2018 - 2020 http://www.kukuyl.com 酷酷娱乐网 All Rights Reserved .