0

an error sign after in <![CDATA[ ]]> after installed ZK studio

asked 2008-10-13 21:20:03 +0800

hello2222 gravatar image hello2222
103 3

I installed ZK Studio in Eclipse, and this is my zscript code:
<p:zscript>
<![CDATA[
//@IMPORT
import com.zkoss.controller.MaintainCustomerDetailsController;
MaintainCustomerDetailsController controller = new MaintainCustomerDetailsController(customerdetailswindow);
]]>
</p:zscript>

I've got a error sign for this line:
MaintainCustomerDetailsController controller = new MaintainCustomerDetailsController(customerdetailswindow);

It says that "Multiple annotations found at this line:
- Syntax error, insert "EnumBody" to complete EnumDeclaration
- Syntax error, insert "enum Identifier" to complete
EnumHeaderName"

If i change that line to "MaintainCustomerDetailsController controller = new MaintainCustomerDetailsController();"
The error i get is "Syntax error on tokens, delete these tokens"


But i think i still can run application. Any1 know how to fix this?

Thanks

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2008-10-14 00:33:25 +0800

flyworld gravatar image flyworld
155 3

try this
<![CDATA[ //@DECLARATION
MaintainCustomerDetailsController controller = new MaintainCustomerDetailsController(customerdetailswindow);
]]>

link publish delete flag offensive edit

answered 2008-10-15 02:26:53 +0800

henrichen gravatar image henrichen
3869 2
ZK Team

<p:zscript>
<![CDATA[
//@IMPORT
import com.zkoss.controller.MaintainCustomerDetailsController;
]]>
<![CDATA[
MaintainCustomerDetailsController controller = new MaintainCustomerDetailsController(customerdetailswindow);
]]>
</p:zscript>

link publish delete flag offensive edit

answered 2008-10-15 04:13:49 +0800

hello2222 gravatar image hello2222
103 3

Thanks

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: 2008-10-13 21:20:03 +0800

Seen: 1,033 times

Last updated: Oct 15 '08

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