Zk guia
ZK
TM
The Developer's Guide
Version 3.6.4
June 2009
Potix Corporation
Revision 228
ZK: Developer's Guide
Page 1 of 293
Potix Corporation
Copyright © Potix Corporation. All rights reserved.
The material in this document is for information only and is subject to change without notice. While reasonable efforts have been made to assure its accuracy,Potix Corporation assumes no liability resulting from errors or omissions in this document, or from the use of the information contained herein. Potix Corporation may have patents, patent applications, copyright or other intellectual property rights covering the subject matter of this document. The furnishing of this document does not give you any license to these patents, copyrights or otherintellectual property. Potix Corporation reserves the right to make changes in the product design without reservation and without notification to its users. The Potix logo and ZK are trademarks of Potix Corporation. All other product names are trademarks, registered trademarks, or trade names of their respective owners.
ZK: Developer's Guide
Page 2 of 293
Potix Corporation
Tableof Contents
1. Introduction...............................................................................................................18 Traditional Web Applications...........................................................................................18 Ad-hoc AJAX Applications...............................................................................................18 ZK: WhatIt Is ..............................................................................................................19 ZK: What It Is Not.........................................................................................................20 ZK: Limitations.............................................................................................................21 2. GettingStarted..........................................................................................................22 Hello World!.................................................................................................................22 Interactivity..................................................................................................................22 The zscriptElement.......................................................................................................23 The Scripting Language..............................................................................................24 The Scripting Codes in a Separate File.........................................................................24 The attributeElement....................................................................................................24 The EL Expressions........................................................................................................25 The id Attribute.............................................................................................................26 The if and unlessAttributes............................................................................................26 The forEach Attribute.....................................................................................................27 The use and apply Attribute............................................................................................27 The useAttribute......................................................................................................28 The apply Attribute....................................................................................................28 Implement Java Classes in zscript...............................................................................29 The forward Attribute.....................................................................................................30 Create Components...
Regístrate para leer el documento completo.