ZK User Interface Markup Language

From Documentation
Revision as of 07:31, 22 July 2010 by Char (talk | contribs) (→‎Overview)
DocumentationZK Developer's GuideFundamental ZKZK User Interface Markup Language
ZK User Interface Markup Language


Stop.png This documentation is for an older version of ZK. For the latest one, please click here.


Overview

XML

zscript

Implicit Objects

Expression Language (EL)

ZK Processing Instructions

Directives to control whole page behavior

Processing Instruction Name
Description
page Describes attributes of a page
component Defines a new component for a particular page

ZK Attributes

Act on component, such like conditional evaluation, iteration, load on demand.

Attribute Name
Description
if Conditional evaluation of an component
forEach, each Iterative evaluate component against a collection
use, apply Write event handling code in pure java file. apply support MVC pattern better.
forward Let centralized controller handle events.

ZK Elements

Helper component that's not UI. It helps to save variable, write java code in ZUML, and others.

Element Name
Description
zk Aggregate other components
zscript Write java code in ZUML
attribute Make the page more readable
variables Store variable in namespace scope
custom-attributes Store variables in different scopes

Component Sets and XML Namespaces



Last Update : 2010/07/22

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.