1、局部刷新
/**
* 刷新页面*
*/
public void refresh() {
Convert.getMainInc().setSrc(
Paths.getPagePath() + "/pages/virtualhost/virtualHost.zul?"
+ new Date().getTime());
}
String abstrctName = (String) Sessions.getCurrent().getAttribute(
"abstractname");
monitoringThreadpools
.setDataUrl("/servlet/monitoringThreadpools?abstrctName="
+ abstrctName);
2、zk页面加背景
<window id="propertyWnd" xmlns:h="http://www.w3.org/1999/xhtml" use="com.cvicse.ui.report.r4_2.viewer.ViewerConfigPropertyUi" contentStyle="background-image:url(${c:encodeURL('/resources/img/folder.gif')})">