zk框架中利用map类型传值来创建window,并且传值

时间:2023-01-19 21:20:25
 @Command
@NotifyChange("accList")
public void clear(@BindingParam("id") String accountId) {
Map<String, String> arg = new HashMap<String, String>();
arg.put("accountId", accountId);
Window win = (Window) Executions.getCurrent().createComponents(
"/person/changePassword.zul", null, arg);
win.setClosable(true);
win.doModal();
}

zk框架中利用map类型传值来创建window,并且传值