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

 @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,并且传值

上一篇:java8中的map和reduce


下一篇:Java中遍历Map集合的四种方法