My First Hello World

Create a file called hello.zul with the following content. Then, you could use the browser to see the result, say http://localhost:8080/zkdemo/hello.zul.

<window title="My First window" border="normal" width="200px">
    Hello, World!    
</window>

Then, the result is depicted as follow.

Notice that, though the content of hello.zul is very similar to XUL[5], it is actually written in ZUML. ZK Loader parses it into a valid HTML page which can be interpreted correctly by a regular browser, such as Internet Explorer and Mozilla Firefox. Refer to the Developer's Guide for more details.



[5] http://xul.sourceforge.net/mozilla.html