Further Reading"
From Documentation
m |
Jumperchen (talk | contribs) |
||
Line 1: | Line 1: | ||
===Evironment setup=== | ===Evironment setup=== | ||
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5409 Eclipse 3.4 and zul.xsd] |
===Basic Concepts=== | ===Basic Concepts=== | ||
− | *[http:// | + | *[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:// | + | *[http://forum.zkoss.org/listComment/6379 Pure Java with ZK] |
===Zscript=== | ===Zscript=== | ||
Line 22: | Line 22: | ||
===ZUML ZK Attributes=== | ===ZUML ZK Attributes=== | ||
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6253 Difference between use="" and apply=""] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6316 passing params to the controller class ] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5711 Accessing EJB from Window controller] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6240 "Extend Window" --- problem] |
===ZUML ZK Elements=== | ===ZUML ZK Elements=== | ||
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5905 Run ZK Script from JavaScript] |
===Form and Inputs=== | ===Form and Inputs=== | ||
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5492 onChanging event not everytime fired in Combobox] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5659 Datebox Problem in ZK 3.5.0] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5651 onChange-Event in Textbox doesn't get fired] |
===Layout and Windows=== | ===Layout and Windows=== | ||
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6236 problem with filfull on Tabpanel] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6008 Generating content in Panels dynamically] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5635 ZK 3.5.0 Tabbox and Listbox weird behavior] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5823 Minimize Panel] |
===Grids, Trees and Listbox=== | ===Grids, Trees and Listbox=== | ||
Line 51: | Line 51: | ||
*[[Live_Data%2C_Paging%2C_setModel_and_Implement_your_own_renderer | Live Data, Paging, setModel and Implement your own renderer]] | *[[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://www.zkoss.org/smalltalks/loadondemand/ Use Load-On-Demand to Handle Huge Data] | ||
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6291 Retrieving selected items from a listBox] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6560 Add rows manually in Live Data grid ] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6208 Best practice and performance for menu tree | zul vs. java ] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6406 Refresh Listbox Model after button click ] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6204 How can i access a dinamyc field in a grid row] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5782 listbox dependent on other listbox] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5675 Scrollable Windows or Grids] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6032 Million Record Challenge] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5869 Listbox not showing data?] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5873 How to capture a grid cell select event?] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5831 How to catch click events on Treeitem] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5840 Listbox forgets checkbox selection] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5727 Listbox problem] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5751 Problem with Listbox selectedItem] |
===Toolbar and Menus=== | ===Toolbar and Menus=== | ||
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6173 Popup window with ListCell does know show itself... ???] |
===Wrapped gmaps fckeditor=== | ===Wrapped gmaps fckeditor=== | ||
Line 88: | Line 88: | ||
===Component Events=== | ===Component Events=== | ||
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5738 How to get the current location (x, y) of mouse cursor?] |
===Data binding=== | ===Data binding=== | ||
Line 94: | Line 94: | ||
*[http://www.zkoss.org/javadoc/3.6.1/zk/org/zkoss/zkplus/databind/AnnotateDataBinder.html AnnotateDataBinder] very clear explanation of databinding. | *[http://www.zkoss.org/javadoc/3.6.1/zk/org/zkoss/zkplus/databind/AnnotateDataBinder.html AnnotateDataBinder] very clear explanation of databinding. | ||
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6427 Listbox databinding for ZKmobile cannot find associated CollectionItem] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6363 How do I bind data to a radiogroup?] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6378 Which Components support Databinding? ] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6257 Databind and variable in forward] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6263 Databinding with GenericAutowireComposer ] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6235 Databinding with radiogroups ] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5994 How to trigger binder save without save-when ] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5804 Databinding/dynamic listbox dynamic columns ] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5758 Classes that extends from AnnotateDataBinderInit are not working to mine] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5563 Tree drag'n drop and binding ] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5584 Combobox not binding when cleared] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5517 Constraints and databinding] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/2260 Binding Date/Timestamp to Datebox AND Timebox ] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/7894%3BcommetId%3D30308 Problem with Autobinding and WrongValueException exception] |
**To do data validation while Data Binding | **To do data validation while Data Binding | ||
− | *[http:// | + | *[http://forum.zkoss.org/listComment/7855 MVC and databinding] |
**If model changed after binding, you can use binder.loadAll() | **If model changed after binding, you can use binder.loadAll() | ||
− | *[http:// | + | *[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://www.zkoss.org/forum/listComment/12439 2 dimensional array in databinding with expressions] -- use TypeConverter | ||
Line 121: | Line 121: | ||
*[http://www.zkoss.org/smalltalks/databind2/databind2.dsp Two-way Data Binding with ZUML Annotations] | *[http://www.zkoss.org/smalltalks/databind2/databind2.dsp Two-way Data Binding with ZUML Annotations] | ||
*[http://www.zkoss.org/smalltalks/databind/databind.html Data-Binding Implementation for ZK] | *[http://www.zkoss.org/smalltalks/databind/databind.html Data-Binding Implementation for ZK] | ||
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5758 Classes that extends from AnnotateDataBinderInit are not working to mi] |
===Macro Component=== | ===Macro Component=== | ||
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5932 Fellow component not found for included zul file] |
− | *[http:// | + | *[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 | *[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=== | ===Inter page, app communication=== | ||
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6098 Pass QueryString to ZUL page] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6233 Conceptual question: trouble passing arguments] |
===Style Customization=== | ===Style Customization=== | ||
Line 140: | Line 140: | ||
*[http://en.wikibooks.org/wiki/ZK/How-Tos/Concepts-and-Tricks#On_Width_and_Percentages On Width and Percentages] | *[http://en.wikibooks.org/wiki/ZK/How-Tos/Concepts-and-Tricks#On_Width_and_Percentages On Width and Percentages] | ||
*[http://www.zkoss.org/smalltalks/zkTheme/ Use Theme Tool to Customize your Own Theme] | *[http://www.zkoss.org/smalltalks/zkTheme/ Use Theme Tool to Customize your Own Theme] | ||
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6528 gray theme] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6472 Changing Component Styles] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6152 How to center a fisheyebar and 'bring it to top' ] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6290 Going crazy with width and height] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6299 Multiple lines message text in a Messagebox] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6049 Combobox's border] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6076 zk 3.5.1 css guidance pls] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5346 Linebreak in listbox items] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5845 How to add style to page ] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/1493 How could I change the style of listbox heade] |
− | *[http:// | + | *[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=== | ===Live Data, Paging, setModel and Implement your own renderer=== | ||
Line 159: | Line 159: | ||
*[[ZK_Component_Reference/Data/Listbox#Live_Data Live Data|Listbox]] section in chapter Grids, Trees and Listbox. | *[[ZK_Component_Reference/Data/Listbox#Live_Data Live Data|Listbox]] section in chapter Grids, Trees and Listbox. | ||
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6320 Bug in Grid paging? handleError:1084]: A thread in forum. |
===How to Initialise the Page=== | ===How to Initialise the Page=== | ||
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5740 WebAppInit, WebAppCleanup when are the methods called?] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5753 DesktopInit and sendRedirect or Forward] |
===Performance Tip=== | ===Performance Tip=== | ||
Line 171: | Line 171: | ||
*[http://www.zkoss.org/smalltalks/loadondemand/ Use Load-On-Demand to Handle Huge Data] | *[http://www.zkoss.org/smalltalks/loadondemand/ Use Load-On-Demand to Handle Huge Data] | ||
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6251 ZK App run slow in a Citrix like environment] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6255 Slow page] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5208 slow performance when dynamic paging] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6208 Best practice and performance for menu tree | zul vs. java] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5934 zkmax - performance enhancement version of ZUL - what does it mean?] |
− | *[http:// | + | *[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 ] | *[http://www.zkoss.org/forum/listComment/12593 GenericForwardComposer slow when used with ZScript ] | ||
Line 204: | Line 204: | ||
===Browser Management=== | ===Browser Management=== | ||
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5974 Login to UI and log out. Login again, page becomes blank] |
===Client Side Actions=== | ===Client Side Actions=== | ||
*[http://www.zkoss.org/javadoc/3.5.2/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://www.zkoss.org/javadoc/3.5.2/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:// | + | *[http://forum.zkoss.org/listComment/7578 how to pass value from server to client side java script] |
− | *[http://zkoss.org/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6532 | + | *[http://zkoss.org/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6532 Use of comm utility.]: an example of triggering an event from Client to Server (browser window onresize method). |
− | *[http://zkoss.org/forum/index.zul#path%3DlistComment%3BdiscussionId%3D8238 | + | *[http://zkoss.org/forum/index.zul#path%3DlistComment%3BdiscussionId%3D8238 onblur is not working for Button] |
===Long Operations=== | ===Long Operations=== | ||
− | *[http:// | + | *[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] | *[http://romenlaw.blogspot.com/2009/05/server-push-event-in-zk.html Server Push + Event in ZK] | ||
Line 227: | Line 227: | ||
*[http://www.zkoss.org/smalltalks/sign-on/sign-on.dsp How to Integrate a Multi-Languages Sign-on System into Your Existing Application] : In this smalltalk, it provides a simple example of hibernate. | *[http://www.zkoss.org/smalltalks/sign-on/sign-on.dsp How to Integrate a Multi-Languages Sign-on System into Your Existing Application] : In this smalltalk, it provides a simple example of hibernate. | ||
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6018 Hibernate + ZK: createQuery is not valid without active transaction] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/7470 Hibernate Lazy Initialization exception solved by Long Session] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/7252 Integration of Spring, Hibernate and ZK causing lazy initialization exception] |
===Spring=== | ===Spring=== | ||
− | *[http:// | + | *[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] | *[http://java.dzone.com/articles/using-desktop-model-view Using Desktop MVC Patterns with ZK, Spring & JPA] | ||
Line 243: | Line 243: | ||
===Developing other backend framework=== | ===Developing other backend framework=== | ||
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6530 zk integration with OfBiz] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5128 How to integrate with OSGi ] |
===Integrate with JSF, JSP and Others=== | ===Integrate with JSF, JSP and Others=== | ||
Line 257: | Line 257: | ||
===Portal integration=== | ===Portal integration=== | ||
− | *[http:// | + | *[http://forum.zkoss.org/listComment/5127 ZK Portlet URLs] |
− | *[http:// | + | *[http://forum.zkoss.org/listComment/7141 Liferay portlet problem.] |
===ZK Mobile=== | ===ZK Mobile=== | ||
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6330 ZK mobile textbox value ] |
===Component life cycle=== | ===Component life cycle=== | ||
Line 270: | Line 270: | ||
*[[Small_Talks/2008/December/An_Introduction_of_ZK_Composer |An Introduction of ZK Composer]] | *[[Small_Talks/2008/December/An_Introduction_of_ZK_Composer |An Introduction of ZK Composer]] | ||
− | *[http:// | + | *[http://forum.zkoss.org/listComment/6311 How to refresh component ] |
Revision as of 03:08, 10 May 2013
Evironment setup
Basic Concepts
Zscript
- The zscript Element
- Zscript, java, EL : useful tricks about zscript
- 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 developer's reference. The concept of implicit object is much like *JSP.
- Most used api for Implicit Objects and Static Classes -- includes Executions, Path, Clients
ZUML ZK Attributes
ZUML ZK Elements
Form and Inputs
- onChanging event not everytime fired in Combobox
- Datebox Problem in ZK 3.5.0
- onChange-Event in Textbox doesn't get fired
Layout and Windows
- problem with filfull on Tabpanel
- Generating content in Panels dynamically
- ZK 3.5.0 Tabbox and Listbox weird behavior
- Minimize Panel
Grids, Trees and Listbox
- Live Data, Paging, setModel and Implement your own renderer
- Use Load-On-Demand to Handle Huge Data
- Retrieving selected items from a listBox
- Add rows manually in Live Data grid
- Best practice and performance for menu tree | zul vs. java
- Refresh Listbox Model after button click
- How can i access a dinamyc field in a grid row
- listbox dependent on other listbox
- Scrollable Windows or Grids
- Million Record Challenge
- Listbox not showing data?
- How to capture a grid cell select event?
- How to catch click events on Treeitem
- Listbox forgets checkbox selection
- Listbox problem
- Problem with Listbox selectedItem
Toolbar and Menus
Wrapped gmaps fckeditor
Component Events
Data binding
- AnnotateDataBinder very clear explanation of databinding.
- Listbox databinding for ZKmobile cannot find associated CollectionItem
- How do I bind data to a radiogroup?
- Which Components support Databinding?
- Databind and variable in forward
- Databinding with GenericAutowireComposer
- Databinding with radiogroups
- How to trigger binder save without save-when
- Databinding/dynamic listbox dynamic columns
- Classes that extends from AnnotateDataBinderInit are not working to mine
- Tree drag'n drop and binding
- Combobox not binding when cleared
- Constraints and databinding
- Binding Date/Timestamp to Datebox AND Timebox
- Problem with Autobinding and WrongValueException exception
- To do data validation while Data Binding
- MVC and databinding
- If model changed after binding, you can use binder.loadAll()
- How to bind a ManyToMany Relation (Jointable) with a multiselect Listbox
- 2 dimensional array in databinding with expressions -- use TypeConverter
- ListModel and Databinding Enhanced Combobox
- Y-Grid Support Drag-Drop and DataBinding
- ZK CRUD Demo Application
- Data Binding Collection Data with ZUML Annotations
- Zero Code Data Binding with ZUML Annotations
- Two-way Data Binding with ZUML Annotations
- Data-Binding Implementation for ZK
- Classes that extends from AnnotateDataBinderInit are not working to mi
Macro Component
- Fellow component not found for included zul file
- Cant create HtmlMacroComponent with java
- Handling events on ZK macro components -- By Felipe Cypriano
Inter page, app communication
Style Customization
- ZK/How-Tos/Look-and-Feel
- On Width and Percentages
- Use Theme Tool to Customize your Own Theme
- gray theme
- Changing Component Styles
- How to center a fisheyebar and 'bring it to top'
- Going crazy with width and height
- Multiple lines message text in a Messagebox
- Combobox's border
- zk 3.5.1 css guidance pls
- Linebreak in listbox items
- How to add style to page
- How could I change the style of listbox heade
- Component style change (button and listbox): how to change them?
Live Data, Paging, setModel and Implement your own renderer
- How to realize the idea of live data in a Grid: A smalltalk
- ZK Tree Model: A smalltalk.
- Grid.java: The source code of Grid.java. By tracing it, you'll know how renderer and setModel works, how render() is called, how the model is iterated through visible region. Keyword: render. You may also trace Tree.java and Listbox.java.
- Listbox section in chapter Grids, Trees and Listbox.
- Bug in Grid paging? handleError:1084: A thread in forum.
How to Initialise the Page
Performance Tip
Discussion of this article: Talk:Performance_tip
- Use Load-On-Demand to Handle Huge Data
- ZK App run slow in a Citrix like environment
- Slow page
- slow performance when dynamic paging
- Best practice and performance for menu tree | zul vs. java
- zkmax - performance enhancement version of ZUL - what does it mean?
- How to testify zk's performance in big project?
- GenericForwardComposer slow when used with ZScript
Security Tip
Cluster
- How to Run ZK on Apache + Tomcat clustering, Part I
- How to Run ZK on Apache + Tomcat clustering, Part II
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
- Hibernate + ZK
- Hibernate + Spring + ZK
- How to Integrate a Multi-Languages Sign-on System into Your Existing Application : In this smalltalk, it provides a simple example of hibernate.
- Hibernate + ZK: createQuery is not valid without active transaction
- Hibernate Lazy Initialization exception solved by Long Session
- Integration of Spring, Hibernate and ZK causing lazy initialization exception
Spring
A ZK-hibernate-spring example
Developing other backend framework
Integrate with JSF, JSP and Others
- ZK JSF Components 2.0 Released
- Enrich Your JSF Applications with ZK Today!
- Work with Legacy Web Applications, Part II - JSP
- ZK JSP Tag Lib Support Initiator and Annotation
- Use ZK JSP Tags in Your JSP Pages
- 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.