Oracle Siebel Open UI命令获取元素的Id



我是Oracle Siebel Open UI的新手。我想知道如何获得动态生成的applet的id。我尝试使用this.GetPM(). get("ID")。但是,这并没有奏效。JQuery中有$('#test')('id');我们在Siebel Open UI中有什么?你能不能。谢谢你!

谢谢,克里希纳

Hi Krishna,
          We can get the applet id in two ways,
    #1 --> We can take the current applet id using following code:
           this.Get("GetFullId");          (in PM file)
           this.GetPM().Get("GetFullId");  (in PR file)
    #2 --> We can take any of the applet id present in the view using below Code:
           SiebelApp.S_App.GetActiveView().GetApplet("Applet_Name").GetFullId();

最新更新