Further Reading"

From Documentation
m
 
(85 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
===Evironment setup===
 
===Evironment setup===
  
[http://www.zkoss.org/forum/index.zul#path%3DlistComment%3BdiscussionId%3D5409%3BcategoryId%3D14%3B Eclipse 3.4 and zul.xsd]
+
*[http://forum.zkoss.org/listComment/5409 Eclipse 3.4 and zul.xsd]
  
 
===Basic Concepts===
 
===Basic Concepts===
  
 +
*[http://forum.zkoss.org/listComment/6423 Urgent HELP needed: How to open a new browser window which is a new ZK page of my current desktop!]
  
[http://www.zkoss.org/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6423%3BcategoryId%3D14%3B Urgent HELP needed: How to open a new browser window which is a new ZK page of my current desktop!]
+
*[http://forum.zkoss.org/listComment/6379 Pure Java with ZK]
  
[http://www.zkoss.org/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6379%3BcategoryId%3D14%3B Pure Java with ZK]
+
===Zscript===
 +
 
 +
*[[ZUML_ZK_Elements#The_zscript_Element | The zscript Element ]]
 +
*[[Zscript%2C_java%2C_EL | Zscript, java, EL]] : useful tricks about zscript
 +
*[http://books.zkoss.org/wiki/ZUML_Reference/ZUML/Processing_Instructions/variable-resolver The variable-resolver Directive] : Specifies the variable resolver that will be used by the zscript interpreter to resolve unknown variables.
 +
 
 +
===ZUML Implicit Objects===
 +
 
 +
:For more information, please refer to [http://www.zkoss.org/doc/devref-single/index.html#id456270 developer's reference]. The concept of implicit object is much like *[http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/JSPIntro7.html#70899 JSP].
 +
*[[Most_used_api_for_Implicit_Objects_and_Static_Classes | Most used api for Implicit Objects and Static Classes]] -- includes Executions, Path, Clients
 +
 
 +
===ZUML ZK Attributes===
 +
 
 +
*[http://forum.zkoss.org/listComment/6253 Difference between use="" and apply=""]
 +
 
 +
*[http://forum.zkoss.org/listComment/6316 passing params to the controller class ]
 +
 
 +
*[http://forum.zkoss.org/listComment/5711 Accessing EJB from Window controller]
 +
 
 +
*[http://forum.zkoss.org/listComment/6240 "Extend Window" --- problem]
 +
 
 +
===ZUML ZK Elements===
 +
 
 +
*[http://forum.zkoss.org/listComment/5905 Run ZK Script from JavaScript]
 +
 
 +
===Form and Inputs===
 +
 
 +
*[http://forum.zkoss.org/listComment/5492 onChanging event not everytime fired in Combobox]
 +
*[http://forum.zkoss.org/listComment/5659 Datebox Problem in ZK 3.5.0]
 +
*[http://forum.zkoss.org/listComment/5651 onChange-Event in Textbox doesn't get fired]
 +
 
 +
===Layout and Windows===
 +
 
 +
*[http://forum.zkoss.org/listComment/6236 problem with filfull on Tabpanel]
 +
*[http://forum.zkoss.org/listComment/6008 Generating content in Panels dynamically]
 +
*[http://forum.zkoss.org/listComment/5635 ZK 3.5.0 Tabbox and Listbox weird behavior]
 +
*[http://forum.zkoss.org/listComment/5823 Minimize Panel]
 +
 
 +
===Grids, Trees and Listbox===
 +
 
 +
*[[Live_Data%2C_Paging%2C_setModel_and_Implement_your_own_renderer | Live Data, Paging, setModel and Implement your own renderer]]
 +
*[http://www.zkoss.org/smalltalks/loadondemand/ Use Load-On-Demand to Handle Huge Data]
 +
*[http://forum.zkoss.org/listComment/6291 Retrieving selected items from a listBox]
 +
*[http://forum.zkoss.org/listComment/6560 Add rows manually in Live Data grid ]
 +
*[http://forum.zkoss.org/listComment/6208 Best practice and performance for menu tree | zul vs. java ]
 +
*[http://forum.zkoss.org/listComment/6406 Refresh Listbox Model after button click ]
 +
*[http://forum.zkoss.org/listComment/6204 How can i access a dinamyc field in a grid row]
 +
*[http://forum.zkoss.org/listComment/5782 listbox dependent on other listbox]
 +
*[http://forum.zkoss.org/listComment/5675 Scrollable Windows or Grids]
 +
*[http://forum.zkoss.org/listComment/6032 Million Record Challenge]
 +
*[http://forum.zkoss.org/listComment/5869 Listbox not showing data?]
 +
*[http://forum.zkoss.org/listComment/5873 How to capture a grid cell select event?]
 +
*[http://forum.zkoss.org/listComment/5831 How to catch click events on Treeitem]
 +
*[http://forum.zkoss.org/listComment/5840 Listbox forgets checkbox selection]
 +
*[http://forum.zkoss.org/listComment/5727 Listbox problem]
 +
*[http://forum.zkoss.org/listComment/5751 Problem with Listbox selectedItem]
 +
 
 +
===Toolbar and Menus===
 +
 
 +
*[http://forum.zkoss.org/listComment/6173 Popup window with ListCell does know show itself... ???]
 +
 
 +
===Wrapped gmaps fckeditor===
 +
 
 +
*[http://books.zkoss.org/wiki/Small_Talks/2006/October/Put_Google_Maps_In_Your_ZK_Application Put Google Maps In Your ZK Application]
 +
 
 +
*[http://books.zkoss.org/wiki/Small_Talks/2006/October/Behind_The_Scene:_Integrating_Google_Maps Behind The Scene: Integrating Google Maps]
 +
 
 +
*[http://books.zkoss.org/wiki/Small_Talks/2008/August/Construct_A_Telecom_Network_Graph_On_Google_Maps Monitor A Telecom Network Graph On Google Maps]
 +
 
 +
*[http://books.zkoss.org/wiki/Small_Talks/2008/August/Construct_A_Telecom_Network_Graph_On_Google_Maps Construct A Telecom Network Graph On Google Maps]
 +
 
 +
*[http://books.zkoss.org/wiki/Small_Talks/2008/June/A_Telecom_Network_Graph_On_Google_Maps_-_Using_ZK_Google_Maps_Component A Telecom Network Graph On Google Maps - Using ZK Google Maps Component]
 +
 
 +
*[http://books.zkoss.org/wiki/Small_Talks/2005/December/Integrating_FCKeditor Integrating FCKeditor]
 +
 
 +
*[http://books.zkoss.org/wiki/Small_Talks/2007/January/Using_Upload_Feature_in_FCKeditor Using Upload Feature in FCKeditor]
 +
 
 +
===Component Events===
 +
 
 +
*[http://forum.zkoss.org/listComment/5738 How to get the current location (x, y) of mouse cursor?]
 +
 
 +
===Data binding===
 +
 
 +
*[http://www.zkoss.org/javadoc/latest/zk/org/zkoss/zkplus/databind/AnnotateDataBinder.html AnnotateDataBinder] very clear explanation of databinding.
 +
 
 +
*[http://forum.zkoss.org/listComment/6427 Listbox databinding for ZKmobile cannot find associated CollectionItem]
 +
*[http://forum.zkoss.org/listComment/6363 How do I bind data to a radiogroup?]
 +
*[http://forum.zkoss.org/listComment/6378 Which Components support Databinding? ]
 +
*[http://forum.zkoss.org/listComment/6257 Databind and variable in forward]
 +
*[http://forum.zkoss.org/listComment/6263 Databinding with GenericAutowireComposer ]
 +
*[http://forum.zkoss.org/listComment/6235 Databinding with radiogroups ]
 +
*[http://forum.zkoss.org/listComment/5994  How to trigger binder save without save-when ]
 +
*[http://forum.zkoss.org/listComment/5804 Databinding/dynamic listbox dynamic columns ]
 +
*[http://forum.zkoss.org/listComment/5758 Classes that extends from AnnotateDataBinderInit are not working to mine]
 +
*[http://forum.zkoss.org/listComment/5563 Tree drag'n drop and binding ]
 +
*[http://forum.zkoss.org/listComment/5584 Combobox not binding when cleared]
 +
*[http://forum.zkoss.org/listComment/5517 Constraints and databinding]
 +
*[http://forum.zkoss.org/listComment/2260 Binding Date/Timestamp to Datebox AND Timebox ]
 +
*[http://forum.zkoss.org/listComment/7894 Problem with Autobinding and WrongValueException exception]
 +
**To do data validation while Data Binding
 +
*[http://forum.zkoss.org/listComment/7855 MVC and databinding]
 +
**If model changed after binding, you can use binder.loadAll()
 +
*[http://forum.zkoss.org/listComment/7871 How to bind a ManyToMany Relation (Jointable) with a multiselect Listbox]
 +
*[http://www.zkoss.org/forum/listComment/12439 2 dimensional array in databinding with expressions] -- use TypeConverter
 +
 
 +
*[http://books.zkoss.org/wiki/Small_Talks/2008/January/ListModel_and_Databinding_Enhanced_Combobox ListModel and Databinding Enhanced Combobox]
 +
*[http://books.zkoss.org/wiki/Small_Talks/2007/July/Y-Grid_Support_Drag-Drop_and_DataBinding Y-Grid Support Drag-Drop and DataBinding]
 +
*[http://books.zkoss.org/wiki/Small_Talks/2007/June/ZK_CRUD_Demo_Application ZK CRUD Demo Application]
 +
*[http://books.zkoss.org/wiki/Small_Talks/2007/March/Data_Binding_Collection_Data_with_ZUML_Annotations Data Binding Collection Data with ZUML Annotations]
 +
*[http://books.zkoss.org/wiki/Small_Talks/2006/December/Zero_Code_Data_Binding_with_ZUML_Annotations Zero Code Data Binding with ZUML Annotations]
 +
*[http://books.zkoss.org/wiki/Small_Talks/2006/November/Two-way_Data_Binding_with_ZUML_Annotations Two-way Data Binding with ZUML Annotations]
 +
*[http://books.zkoss.org/wiki/Small_Talks/2006/April/Data-Binding_Implementation_for_ZK Data-Binding Implementation for ZK]
 +
*[http://forum.zkoss.org/listComment/5758 Classes that extends from AnnotateDataBinderInit are not working to mi]
 +
 
 +
===Macro Component===
 +
 
 +
*[http://forum.zkoss.org/listComment/5932 Fellow component not found for included zul file]
 +
*[http://forum.zkoss.org/listComment/6717 Cant create HtmlMacroComponent with java]
 +
*[http://felipecypriano.com/blog/2010/01/15/handling-events-on-zk-macro-components/ Handling events on ZK macro components] -- By Felipe Cypriano
 +
 
 +
===Inter page, app communication===
 +
 
 +
*[http://forum.zkoss.org/listComment/6098 Pass QueryString to ZUL page]
 +
 
 +
*[http://forum.zkoss.org/listComment/6233 Conceptual question: trouble passing arguments]
 +
 
 +
===Style Customization===
 +
 
 +
*[http://en.wikibooks.org/wiki/ZK/How-Tos/Look-and-Feel ZK/How-Tos/Look-and-Feel]
 +
*[http://books.zkoss.org/wiki/Small_Talks/2008/November/Use_Theme_Tool_to_Customize_your_Own_Theme Theme Tool to Customize your Own Theme]
 +
*[http://forum.zkoss.org/listComment/6528 gray theme]
 +
*[http://forum.zkoss.org/listComment/6472 Changing Component Styles]
 +
*[http://forum.zkoss.org/listComment/6152 How to center a fisheyebar and 'bring it to top' ]
 +
*[http://forum.zkoss.org/listComment/6290 Going crazy with width and height]
 +
*[http://forum.zkoss.org/listComment/6299 Multiple lines message text in a Messagebox]
 +
*[http://forum.zkoss.org/listComment/6049 Combobox's border]
 +
*[http://forum.zkoss.org/listComment/6076 zk 3.5.1 css guidance pls]
 +
*[http://forum.zkoss.org/listComment/5346 Linebreak in listbox items]
 +
*[http://forum.zkoss.org/listComment/5845 How to add style to page ]
 +
*[http://forum.zkoss.org/listComment/1493 How could I change the style of listbox heade]
 +
*[http://forum.zkoss.org/listComment/5748 Component style change (button and listbox): how to change them?]
 +
 
 +
===Live Data, Paging, setModel and Implement your own renderer===
 +
*[http://books.zkoss.org/wiki/Small_Talks/2007/March/How_to_realize_the_idea_of_live_data_in_a_Grid How to realize the idea of live data in a Grid]: A smalltalk
 +
*[http://books.zkoss.org/wiki/Small_Talks/2007/August/ZK_Tree_Model Tree Model]: A smalltalk.
 +
*[http://zk1.svn.sourceforge.net/viewvc/zk1/branches/5.0/zul/src/org/zkoss/zul/Grid.java?revision=14211&view=markup Grid.java]: The source code of Grid.java. By tracing it, you'll know how renderer and setModel works, how <tt>render()</tt> is called, how the <tt>model</tt> is iterated through visible region. Keyword: render. You may also trace Tree.java and Listbox.java.
 +
 
 +
*[[ZK_Component_Reference/Data/Listbox#Live_Data Live Data|Listbox]] section in chapter Grids, Trees and Listbox.
 +
 
 +
*[http://forum.zkoss.org/listComment/6320 Bug in Grid paging? handleError:1084]: A thread in forum.
 +
 
 +
===How to Initialise the Page===
 +
 
 +
*[http://forum.zkoss.org/listComment/5740 WebAppInit, WebAppCleanup when are the methods called?]
 +
*[http://forum.zkoss.org/listComment/5753 DesktopInit and sendRedirect or Forward]
 +
 
 +
===Performance Tip===
 +
 
 +
Discussion of this article: [http://books.zkoss.org/wiki/ZK_Developer%27s_Reference/Performance_Tips Talk:Performance_tip]
 +
 
 +
*[http://books.zkoss.org/wiki/Small_Talks/2008/June/Use_Load-On-Demand_to_Handle_Huge_Data Use Load-On-Demand to Handle Huge Data]
 +
*[http://forum.zkoss.org/listComment/6251 ZK App run slow in a Citrix like environment]
 +
*[http://forum.zkoss.org/listComment/6255 Slow page]
 +
*[http://forum.zkoss.org/listComment/5208 slow performance when dynamic paging]
 +
*[http://forum.zkoss.org/listComment/6208 Best practice and performance for menu tree | zul vs. java]
 +
*[http://forum.zkoss.org/listComment/5934 zkmax - performance enhancement version of ZUL - what does it mean?]
 +
*[http://forum.zkoss.org/listComment/5270 How to testify zk's performance in big project? ]
 +
*[http://www.zkoss.org/forum/listComment/12593 GenericForwardComposer slow when used with ZScript ]
 +
 
 +
===Security Tip===
 +
 
 +
*[http://books.zkoss.org/wiki/ZK_Developer%27s_Reference/Integration/Middleware_Layer/Spring Spring Security]
 +
 
 +
*[http://books.zkoss.org/index.php?title=Small_Talks/2013/March/Integrate_Spring_Security_with_ZK smalltalks about security]
 +
 
 +
===Cluster===
 +
 
 +
*[http://books.zkoss.org/wiki/Small_Talks/2007/April/How_to_Run_ZK_on_Apache_%2B_Tomcat_clustering,_Part_I How to Run ZK on Apache + Tomcat clustering, Part I]
 +
*[http://books.zkoss.org/wiki/Small_Talks/2007/May/How_to_Run_ZK_on_Apache_%2B_Tomcat_clustering,_Part_II How to Run ZK on Apache + Tomcat clustering, Part II]
 +
 
 +
===MVC in ZK===
 +
 
 +
*[http://books.zkoss.org/wiki/Small_Talks/2008/November/ZK_With_Spring_JPA_And_A_Model-View-Controller_Pattern JPA And A Model-View-Controller Pattern]
 +
 
 +
*[http://books.zkoss.org/wiki/Small_Talks/2008/August/ZK_MVC_Made_Easy ZK MVC Made Easy]
 +
 
 +
*[http://books.zkoss.org/wiki/Small_Talks/2008/June/Best_Model-View-Controller_Patterns Best Model-View-Controller Patterns]
 +
 
 +
*[http://books.zkoss.org/wiki/Small_Talks/2007/November/The_Trilogy_of_ZK%27s_MVC_Adventure The Trilogy of ZK's MVC Adventure]
 +
 
 +
*[http://books.zkoss.org/wiki/ZK_Calendar_Essentials/Working_with_ZK_Calendar/Implementing_ZK_Calendar_Event_Listeners/Introducing_ZK_MVC Introducing ZK MVC]
 +
 
 +
===Browser Management===
 +
 
 +
*[http://forum.zkoss.org/listComment/5974 Login to UI and log out. Login again, page becomes blank]
 +
 
 +
===Client Side Actions===
 +
*[http://www.zkoss.org/javadoc/latest/zk/org/zkoss/zk/ui/util/Clients.html Clients.java]: especially <tt>evalJavaScript(java.lang.String javaScript)</tt> : Asks the browser to evaluate the specified JavaScript.
 +
 
 +
*[http://forum.zkoss.org/listComment/7578 how to pass value from server to client side java script]
 +
 
 +
*[http://forum.zkoss.org/listComment/6532 Use of comm utility.]: an example of triggering an event from Client to Server (browser window onresize method).
 +
 
 +
*[http://forum.zkoss.org/listComment/8238 onblur is not working for Button]
 +
 
 +
===Long Operations===
 +
 
 +
*[http://forum.zkoss.org/listComment/7032 zk3.5: Browser window does not work properly if open more than around 5 browser windows ]
 +
 
 +
*[http://romenlaw.blogspot.com/2009/05/server-push-event-in-zk.html Server Push + Event in ZK]
 +
 
 +
===Hibernate===
 +
 
 +
*[http://books.zkoss.org/wiki/Small_Talks/2006/September/Hibernate_%2B_ZK Hibernate + ZK]
 +
*[http://books.zkoss.org/wiki/Small_Talks/2006/March/Hibernate_%2B_Spring_%2B_ZK Hibernate + Spring + ZK]
 +
*[http://books.zkoss.org/wiki/Small_Talks/2007/May/How_to_Integrate_a_Multi-Languages_Sign-on_System_into_Your_Existing_Application How to Integrate a Multi-Languages Sign-on System into Your Existing Application] : In this smalltalk, it provides a simple example of hibernate.
 +
 
 +
*[http://forum.zkoss.org/listComment/6018 Hibernate + ZK: createQuery is not valid without active transaction]
 +
*[http://forum.zkoss.org/listComment/7470 Hibernate Lazy Initialization exception solved by Long Session]
 +
*[http://forum.zkoss.org/listComment/7252 Integration of Spring, Hibernate and ZK causing lazy initialization exception]
 +
 
 +
===Spring===
 +
 
 +
*[http://forum.zkoss.org/listComment/7072 ZK and Spring Security integration- questions ]
 +
 
 +
*[http://java.dzone.com/articles/using-desktop-model-view Using Desktop MVC Patterns with ZK, Spring & JPA]
 +
 
 +
===A ZK-hibernate-spring example===
 +
 
 +
*[http://coderoony.blogspot.com/2008/03/zk-example-application-with-maven.html ZK Example Application with: Maven, Spring, Hibernate, Acegi]
 +
 
 +
===Developing other backend framework===
 +
 
 +
*[http://forum.zkoss.org/listComment/6530 zk integration with OfBiz]
 +
*[http://forum.zkoss.org/listComment/5128 How to integrate with OSGi ]
 +
 
 +
===Integrate with JSF, JSP and Others===
 +
 
 +
*[http://books.zkoss.org/wiki/Small_Talks/2008/February/ZK_JSF_Components_2.0_Released ZK JSF Components 2.0 Released]
 +
*[http://books.zkoss.org/wiki/Small_Talks/2007/August/Enrich_Your_JSF_Applications_with_ZK_Today! Enrich Your JSF Applications with ZK Today!]
 +
*[http://books.zkoss.org/wiki/Small_Talks/2006/July/Work_with_Legacy_Web_Applications,_Part_II_-_JSP Work with Legacy Web Applications, Part II - JSP]
 +
*[http://books.zkoss.org/wiki/Small_Talks/2007/August/ZK_JSP_Tag_Lib_Support_Initiator_and_Annotation ZK JSP Tag Lib Support Initiator and Annotation]
 +
*[http://books.zkoss.org/wiki/Small_Talks/2007/August/Use_ZK_JSP_Tags_in_Your_JSP_Pages Use ZK JSP Tags in Your JSP Pages]
 +
*[http://books.zkoss.org/wiki/Small_Talks/2008/April/New_Features_of_ZK_JSP_Tags_1.2.0 New Features of ZK JSP Tags 1.2.0]
 +
** If something not correctly show in IE but works well in Firefox, you should try above solution first.
 +
 
 +
===Portal integration===
 +
 
 +
*[http://forum.zkoss.org/listComment/5127 ZK Portlet URLs]
 +
*[http://forum.zkoss.org/listComment/7141 Liferay portlet problem.]
 +
 
 +
===ZK Mobile===
 +
 
 +
*[http://forum.zkoss.org/listComment/6330 ZK mobile textbox value ]
 +
 
 +
===Component life cycle===
 +
 
 +
*[http://www.zkoss.org/javadoc/latest/zk/org/zkoss/zk/ui/util/Composer.html Composer]
 +
 
 +
*[[Small_Talks/2008/December/An_Introduction_of_ZK_Composer |An Introduction of ZK Composer]]
 +
 
 +
*[http://forum.zkoss.org/listComment/6311 How to refresh component ]

Latest revision as of 08:54, 10 May 2013

Evironment setup

Basic Concepts

Zscript

ZUML Implicit Objects

For more information, please refer to developer's reference. The concept of implicit object is much like *JSP.

ZUML ZK Attributes

ZUML ZK Elements

Form and Inputs

Layout and Windows

Grids, Trees and Listbox

Toolbar and Menus

Wrapped gmaps fckeditor

Component Events

Data binding

Macro Component

Inter page, app communication

Style Customization

Live Data, Paging, setModel and Implement your own renderer

  • Listbox section in chapter Grids, Trees and Listbox.

How to Initialise the Page

Performance Tip

Discussion of this article: Talk:Performance_tip

Security Tip

Cluster

MVC in ZK

Browser Management

Client Side Actions

  • Clients.java: especially evalJavaScript(java.lang.String javaScript) : Asks the browser to evaluate the specified JavaScript.
  • Use of comm utility.: an example of triggering an event from Client to Server (browser window onresize method).

Long Operations

Hibernate

Spring

A ZK-hibernate-spring example

Developing other backend framework

Integrate with JSF, JSP and Others

Portal integration

ZK Mobile

Component life cycle