0

how to re-enable : ZScriptVariables (ZK 5.0.3)

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

andreasboos gravatar image andreasboos
103 2

Hi.
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
http://sourceforge.net/tracker/?func=detail&atid=785194&aid=3010188&group_id=152762

and
http://docs.zkoss.org/wiki/ZK_MVC_Made_Easy

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

link publish delete flag offensive edit

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

andreasboos gravatar image andreasboos
103 2

Hi.

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

Follow

RSS

Stats

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