<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    零雨其蒙's Blog

    做優秀的程序員
    隨筆 - 59, 文章 - 13, 評論 - 58, 引用 - 0
    數據加載中……

    OAF Lov基本知識

    JavaDoc

    getLovCriteriaItems

    public Dictionary getLovCriteriaItems()
    Used from an LOV region's controller to find out all the values of the passive criteria mappings for that LOV. The returned dictionary is keyed by the name of the LOV region's item.

    從一個LOV區域的控制器找到為該LOV設置的被動的標準映射的所有值。返回的Dictionary 以LOV region的Item作為Key。

    Returns:
    Dictionary containing all the names of the LOV region's items that are specified in passive criteria mappings. The corresponding values are what were typed in by the user in the mapped base item. The item name is the key.
    Dictionary 包含LOV region的item的名字,這些Item被指定在被動的標準映射里。item的名字是key。

    getLovCriteriaViewAttrNames

    public Dictionary getLovCriteriaViewAttrNames()
    Used from an LOV region's controller to find out all the values of the passive criteria mappings for that LOV. The returned dictionary is keyed by the view attribute name of the LOV region's item.

    從LOV region的控制器找到該LOV的被動的標準映射的所有值。返回的dictionary 是以LOV region的item的視圖屬性名為key的。

    Returns:
    Dictionary containing all the view attribute name of the LOV region's items that are specified in passive criteria mappings. The corresponding values are what were typed in by the user in the mapped base item. The view attribute name is the key.

     

     

    注意,這兩個方法必須寫在LOV region的控制器里:

     

    Java代碼 
    1. Dictionary dictionary = pageContext.getLovCriteriaViewAttrNames();  
    2.     // Dictionary dictionary = pageContext.getLovCriteriaItems();  
    3.      int num = dictionary.size();  
    4.      Enumeration keys = dictionary.keys();  
    5.      Enumeration elements = dictionary.elements();  
    6.   
    7.     System.out.println( " dictionary.size() = " + num + ",");  
    8.     int i = 0;  
    9.     while (keys.hasMoreElements()) {  
    10.       System.out.println( " key[" + i + "] = " + keys.nextElement().toString() + ",");  
    11.       i++;  
    12.     }  
    13.     System.out.println(" out key loop i = " + i + ",");  
    14.     i = 0;  
    15.     while (elements.hasMoreElements()) {  
    16.       System.out.println(" element[" + i + "] = " + elements.nextElement().toString() + ",");  
    17.       i++;  
    18.     }  
    19.    System.out.println(" out element loop i = " + i + ",");  

     

     

    在Base Page上獲得Lov是否觸發,使用pageContext .isLovEvent(),可以通過pageContext.getLovInputSourceId()獲得觸發該事件的頁面上LovInput的名稱。

    可以通過pageContext.getLovResultsFromSession(lovInputSourceId)獲得Lov的返回值,用一個HashTable來傳遞。

    posted on 2011-08-02 13:31 零雨其蒙 閱讀(1151) 評論(0)  編輯  收藏 所屬分類: Oracle EBS


    只有注冊用戶登錄后才能發表評論。


    網站導航:
    博客園   IT新聞   Chat2DB   C++博客   博問  
     
    主站蜘蛛池模板: 亚洲国产精品成人综合色在线| 亚洲va中文字幕无码久久不卡| 亚洲国产精品久久人人爱| 在线成人精品国产区免费| 亚洲一区精品无码| 两个人的视频www免费| 亚洲精品无码久久久久去q| 99热在线日韩精品免费| 亚洲大尺度无码无码专区| 免费黄网站在线观看| 亚洲成年轻人电影网站www | 一区在线免费观看| 国产亚洲精aa成人网站| 光棍天堂免费手机观看在线观看 | 亚洲国产精品日韩| caoporm碰最新免费公开视频| 亚洲精品无码专区在线在线播放| 免费人成网站在线观看不卡| 亚洲精品456在线播放| 成年男女免费视频网站| 深夜福利在线视频免费| 国产亚洲av片在线观看播放| 亚洲精品视频在线免费| 亚洲精品乱码久久久久久V| 久久精品国产精品亚洲下载| 免费视频一区二区| 亚洲乱码一区av春药高潮| 四虎影视永久免费观看地址| 中文毛片无遮挡高清免费| 精品亚洲国产成AV人片传媒| 日韩高清免费在线观看| 99在线视频免费观看| 亚洲国产精品一区二区久| 四虎影视永久免费观看网址| 无码成A毛片免费| 亚洲国产精品无码观看久久| 亚洲中文字幕第一页在线| 亚洲无砖砖区免费| 午夜成人无码福利免费视频| 精品亚洲成a人片在线观看| 国产禁女女网站免费看|