2. Getting Started

Table of Contents

Hello World!
Interactivity
The zscript Element
The Scripting Language
The Scripting Codes in a Separate File
The attribute Element
The EL Expressions
The id Attribute
The if and unless Attributes
The forEach Attribute
The use and apply Attribute
The use Attribute
The apply Attribute
Used with the forward Attribute
Implement Java Classes in zscript
Create Components Manually
Developing ZK Applications without ZUML
Define New Components for a Particular Page

This chapter describes how to write your first ZUML page. It is suggested to read at least this chapter, if you are in hurry.

This chapter uses XUL to illustrate ZK features, but it is usually applicable to other markup languages that ZK supports.