| 1 |
- <ss:equal val="${empty prt}" val2="false">
<script>
(function(){
try{
var wdDialogId=wd.display.getwdDialogId();
var win=wd.topWindow.dhxWins.window(wdDialogId);
console.log(win.button("wdPrint"));
win.button("wdPrint").show();
win.button("wdPrint").onclick=function(){
wd.display.showComponent({show:["wdDialog"],url:"<ss:serv name='${prt.service}' dest='${prt.dest}' parm='${prt.param}'/>",title:"${prt.title}",width:"${prt.width}",height:"${prt.height}",minHeight:"${prt.minHeight}",maxHeight:"${prt.maxHeight}"});
}
}catch(e){
console.log(e);
}
})()
</script>
</ss:equal>
|