Revision history [back]

click to hide/show revision 1
initial version

asked 2008-09-19 14:04:54 +0800

kgibrank gravatar image kgibrank

Syntax Error mark ... help me!

Hi, I'm nwb in ZK framework ... I installed ZK Studio 0.8.2 on Eclipse 3.4 Ganymede, i create my first file .zul with ZUL Editor and copy and paste the simple example in Dev Guide >> Interactivity:

<?page id="testZul" title=" New ZUL Title" cacheable="false" 
    language="xul/html" zscriptLanguage="Java" contentType="text/html;charset=UTF-8"?>
    <?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit"?>
<zk xmlns=""
    <window title="My First Window" border="normal" width="200px">
        Hello, World!
        <button label="Say Hello" onClick="alert(&amp;quot;Hello World!&amp;quot;)"/>   

but Editor give me *Syntax Error mark: *

Multiple annotations found at this line:
    - Syntax error on tokens, delete these 
    - Hello cannot be resolved to a type
    - alert cannot be resolved to a type


onClick="alert(&amp;quot;Hello World!&amp;quot;)"

!!! Why ?????

Thanks ZK Team and ZK Community and sorry for my bad enaglish!!!


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