弹出窗口在pentaho cde里面相对比较容易,不过还是记录一下,以防时间久了,忘记关键参数。

先看一下效果图:

pentaho cde popup弹出框口

画出自己想要在弹出框展示的图形,把他的HtmlObject设置成弹出窗口,如图:

pentaho cde popup弹出框口

然后再button的Expression方法中设置点击弹窗时间

function f(e){   
    render_popup1.popup($(e.target));
}



如图:
pentaho cde popup弹出框口


至于这个render_popup1是哪里来的呢?
答案在这里:
Note that when you create a component with name 'popup1' CDE will generate a js variable 'named render_popup1'

相关文章:

  • 2021-04-15
  • 2021-10-09
  • 2022-02-16
  • 2021-12-14
  • 2022-12-23
  • 2021-10-10
  • 2021-12-19
猜你喜欢
  • 2021-07-25
  • 2021-08-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-17
  • 2021-11-24
相关资源
相似解决方案