how to re-enable : ZScriptVariables (ZK 5.0.3)

asked 2010-06-29 15:06:56 +0800

andreasboos gravatar image andreasboos
103 2

I'm testing zk 5.0.3 and my zscriptvariables aren't working anymore. I read on release news now that it's disabled to default. So ... how enable it again?

I register my components through interpreter: interpreter.setVariable(comp.getId(), comp) ... On version 5.0.2 is working perfectly.

Obs. I use pure java to develop. Just one zul file (index.zul).

thank in advance

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2010-06-29 20:10:53 +0800

PeterKuo gravatar image PeterKuo
481 2

Please refer to


How to use it:
Use the contructor:
GenericAutowireComposer(char, boolean, boolean)
GenericForwardComposer(char, boolean, boolean)

link publish delete flag offensive edit

answered 2010-06-30 09:05:44 +0800

andreasboos gravatar image andreasboos
103 2


Actually it was not my problem, I believe, this new feature of ZK (ignore variables zscript). I discovered that the ID coming from comp.getId () happened to come empty, inexplicably. I use a IdGenerator (I use Selenium to make tests). I'll find out why.

Thank you.

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




Asked: 2010-06-29 15:06:56 +0800

Seen: 288 times

Last updated: Jun 30 '10

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