0

how to Bind the dynamic zul file

asked 2013-07-05 07:41:44 +0800

Yusuf gravatar image Yusuf
1

I have two zul files and displaying 1.zul and once click a button on 1.zul, I am going to display 2.zul using Executions.createComponents dynamically. only 1.zul having the VM and 2.zul doesnt have VM. how to bind the data of 2.zul.

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-07-05 09:52:51 +0800

hswain gravatar image hswain flag of India
1763 3 10
http://corejavaexample.bl...

updated 2013-07-05 09:53:53 +0800

You can use one viewmodel in different zul file

  Map args = new HashMap();
        args.put("flagforzul", "first");

        args.put("data", "something");

        Executions.createComponents("2.zul", view, args);

then you can check inside init method.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
2 followers

RSS

Stats

Asked: 2013-07-05 07:41:44 +0800

Seen: 21 times

Last updated: Jul 05 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More