ZK User Interface Markup Language"
From Documentation
(→XML) |
|||
Line 4: | Line 4: | ||
*[http://books.zkoss.org/wiki/ZK_Developer%27s_Guide/Fundamental_ZK/ZK_User_Interface_Markup_Language/Overview Overview] | *[http://books.zkoss.org/wiki/ZK_Developer%27s_Guide/Fundamental_ZK/ZK_User_Interface_Markup_Language/Overview Overview] | ||
− | ==[ | + | ==[http://books.zkoss.org/wiki/ZK_Developer%27s_Guide/Fundamental_ZK/ZK_User_Interface_Markup_Language/XML_Format XML]== |
− | *[ | + | *[http://books.zkoss.org/wiki/ZK_Developer%27s_Guide/Fundamental_ZK/ZK_User_Interface_Markup_Language/XML/Elements_Must_Be_Well-formed Elements Must Be Well-formed] |
− | *[ | + | *[http://books.zkoss.org/wiki/ZK_Developer%27s_Guide/Fundamental_ZK/ZK_User_Interface_Markup_Language/XML/Special_Character_Must_Be_Replaced Special Character Must Be Replaced] |
− | *[ | + | *[http://books.zkoss.org/wiki/ZK_Developer%27s_Guide/Fundamental_ZK/ZK_User_Interface_Markup_Language/XML/Attribute_Values_Must_Be_Specified_and_Quoted Attribute Values Must Be Specified and Quoted] |
− | *[ | + | *[http://books.zkoss.org/wiki/ZK_Developer%27s_Guide/Fundamental_ZK/ZK_User_Interface_Markup_Language/XML/Comments Comment by <nowiki><-- --></nowiki>] |
− | *[ | + | *[http://books.zkoss.org/wiki/ZK_Developer%27s_Guide/Fundamental_ZK/ZK_User_Interface_Markup_Language/XML/Character_Encoding Character Encoding] |
==[[zscript]]== | ==[[zscript]]== |
Revision as of 07:39, 22 July 2010
This documentation is for an older version of ZK. For the latest one, please click here.
Overview
XML
- Elements Must Be Well-formed
- Special Character Must Be Replaced
- Attribute Values Must Be Specified and Quoted
- Comment by <-- -->
- Character Encoding
zscript
- Write Java code in ZUML
- Hints to read zscript
- Distinguish zscript from EL
- Java Interpreter (BeanShell)
- zscript other than Java
Implicit Objects
- Overview
- List of Implicit Objects
- Information about Request and Execution
- Lifecycle of page, execution, desktop, session, application
- About xxxScope
Expression Language (EL)
- Overview
- Access Java Bean
- Access ZUML Component
- Access Implicit Object
- More EL Examples
- Import Java Method's
ZK Processing Instructions
Directives to control whole page behavior
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.
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.
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