0

no more autosuggest after inner-class "syntax-error"?

asked 2010-01-15 05:19:31 +0800

timo18146 gravatar image timo18146
189

Hi,

in zul zscript I attach multiple event handlers. Well - after the second of these counstructs this causes a syntax error for the standard code parser. After this error is shown up, no more suggests and completion works.

e.g.

	xy.addEventListener(Events.ON_CLICK,
		            new EventListener() {
			public void onEvent(Event evt) {
				bt.setLabel("test234");
			}
		});

this construct is shown up as syntax error. It seems that this somehow messes up the parenthese counters..


is there a way to not running in that problem when using zul an zscript and inner classes attached to events? or is this a bug in zkstudio? I did not run into this in java classes.


thanks,

timo

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2010-01-17 18:48:32 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

updated 2010-01-17 18:49:33 +0800

Hi,timo
Which version of ZK do you used?
Could you post the full sample zul file?

link publish delete flag offensive edit

answered 2010-01-17 19:50:04 +0800

PeterKuo gravatar image PeterKuo
481 2

@timo18146
Could you post your full zul code with zscript?
It should be a bug, please post to bug, and we'll track it.

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-01-15 05:19:31 +0800

Seen: 735 times

Last updated: Jan 17 '10

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