-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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
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
Asked: 2014-07-22 05:47:19 +0800
Seen: 16 times
Last updated: Jul 24 '14