1 @Command 2 @NotifyChange("accList") 3 public void clear(@BindingParam("id") String accountId) { 4 Map<String, String> arg = new HashMap<String, String>(); 5 arg.put("accountId", accountId); 6 Window win = (Window) Executions.getCurrent().createComponents( 7 "/person/changePassword.zul", null, arg); 8 win.setClosable(true); 9 win.doModal(); 10 }
zk框架中利用map类型传值来创建window,并且传值