pentaho cde popup弹出框口

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

先看一下效果图:



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



然后再button的Expression方法中设置点击弹窗时间
function f(e){   
    render_popup1.popup($(e.target));
}


如图:



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

猜你喜欢

转载自qiaoyihang.iteye.com/blog/2257972
cde