0

Dynamic Zul Code as popup

asked 2014-07-22 05:47:19 +0800

pramodparitala gravatar image pramodparitala
0

Hi, I've a XSL to generate ZUL code dynamically and its a popup screen. I've a button to generate this zul code dynamically in run time. I did that like, created one zul file in project folder and every time on click of button I replace the code in this zul file and call the Executions.createComponent with this file. But the problem is every time I click on button its showing old popup only the zul code is not replacing immediately. Please help me on this, I am new to ZK.

Thanks, Pramod

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2014-07-24 23:58:50 +0800

Darksu gravatar image Darksu
1991 1 4

Hello pramodparitala,

First of all there are ways of compiling java code on runtime by using tools as the following: http://code.google.com/p/compilation-toolbox/

But in your case it's a little more difficult since you have to rebuild your application and deploy it to the application server.

Consider that zk allows you to dynamically create components via java code (in the controller), thus maybe you could accomplish your task this way.

If you wish, please share what you want to create as a business scenario in order to discuss the best solution to you problem.

Best Regards, Darksu

link publish delete flag offensive edit
Your reply
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: 2014-07-22 05:47:19 +0800

Seen: 16 times

Last updated: Jul 24 '14

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