|
|
(15 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | =How to report a ZK issue= | + | =Debug= |
− | [[File:ZK_MeetRpoblem01.png]] | + | ====[[User:Jimmyshiau/Debug_Client_Error | Debug Client Error]]==== |
− | *Please provide the following information:
| |
− | :#ZK version (EX: ZK 5.0.7.1 PE).
| |
− | :#Browser and Browser version (EX: Firefox 3.6).
| |
− | :#Reproducing Sample if possible. | |
− | :#A website for ZK support team to access the page, and try to debug on the website if possible, remember to [[#Cannot extracting the issue to a reproducing sample | turn on]] the js debug in your zk.xml.
| |
− | :#A VM with server and source code for debug if possible. we can start the server in the VM, and debug the source code.
| |
| | | |
− | * How to create reproducing sample:
| + | =Component Reference= |
− | :*Use [http://books.zkoss.org/wiki/ZK_Jet ZK Jet] extracting ZK 5 widget tree to a ZUL file (i.e., snapshot the browser into a ZUL file) | + | ====[[User:Jimmyshiau/Comp_Ref_Listbox | Listbox]]==== |
− | :*'''Replace''' you data (EX: from database) with '''dummy data''' for run the reproducing sample. | + | ====[[User:Jimmyshiau/Comp_Ref_Listbox_v2 | Listbox v2]]==== |
| + | ====[[User:Jimmyshiau/Comp_Ref_Grid | Grid]]==== |
| + | ====[[User:Jimmyshiau/Comp_Ref_Combobox | Combobox]]==== |
| + | ====[[User:Jimmyshiau/Comp_Ref_Window | Window]]==== |
| + | ====[[User:Jimmyshiau/Comp_Ref_InputElement | InputElement]]==== |
| | | |
| + | =Developer's Reference= |
| + | == MVC == |
| + | ===Controller=== |
| + | ====[[User:Jimmyshiau/Dev_Ref_MVC_Controller_Composer | Composer]]==== |
| + | == MVVM == |
| + | ====[[User:Jimmyshiau/Dev_Ref_MVVM_Data_Binding | Data Binding]]==== |
| | | |
− | ==If you cannot provide a reproducible sample== | + | =Layout= |
− | *Snapshot the ''error'', ''request'' and ''response'' with Browser. remember to''' turn on''' the js debug in your zk.xml
| + | ====[[User:Jimmyshiau/ZK_Container_Size | ZK Container]]==== |
− | <source type="xml">
| |
− | <client-config>
| |
− | <debug-js>true</debug-js>
| |
− | </client-config>
| |
− | </source>
| |
− | * Using Firefox with [http://getfirebug.com/ firebug] (enable firebug by press F12) to snapshot the following images, then mail to zk support team.
| |
− | {| border="1px" | width="100%" | cellspacing="0"
| |
− | |-
| |
− | !style="width:100px"|
| |
− | !|
| |
− | |-
| |
− | | Server side error
| |
− | |
| |
− | '''1. Request'''
| |
| | | |
− | [[File:ZK_MeetRpoblem_FF01.png]]
| + | =Etc= |
− | ----
| + | ====[[User:Jimmyshiau/Etc_Id_Generator |Id Generator]]==== |
− | | |
− | '''2. Response'''
| |
− | | |
− | [[File:ZK_MeetRpoblem_FF02.png]]
| |
− | |-
| |
− | |Client side error
| |
− | |
| |
− | [[File:ZK_MeetRpoblem_FF03.png]]
| |
− | ----
| |
− | | |
− | *Click the link (the blue text) then go to the line of error.
| |
− | [[File:ZK_MeetRpoblem_FF04.png]]
| |
− | |}
| |
− | | |
− | == If you cannot reproduce it with Firefox ==
| |
− | === Chrome ===
| |
− | *Enable "Developer tools" by press F12
| |
− | {| border="1px" | width="100%" | cellspacing="0"
| |
− | |-
| |
− | !style="width:100px"|
| |
− | !|
| |
− | |-
| |
− | | Server side error
| |
− | |
| |
− | '''1. Request'''
| |
− | | |
− | [[File:ZK_MeetRpoblem_Chrome01.png]]
| |
− | ----
| |
− | | |
− | '''2. Response'''
| |
− | | |
− | [[File:ZK_MeetRpoblem_Chrome02.png]] | |
− | |- | |
− | |Client side error
| |
− | |
| |
− | | |
− | *Click the error icon in the right-bottom corner.
| |
− | *Click the link (test.zul:22) then go to the line of error.
| |
− | [[File:ZK_MeetRpoblem_Chrome03.png]]
| |
− | | |
− | |}
| |
− | | |
− | === IE ===
| |
− | *Due to IE6, 7 cannot check error line, we need to reproduce with IE8 or 9.
| |
− | *Enable "Developer tools" by press F12
| |
− | {| border="1px" | width="100%" | cellspacing="0"
| |
− | |-
| |
− | !style="width:100px"|
| |
− | !|
| |
− | |-
| |
− | | Client side error
| |
− | |
| |
− | [[File:ZK_MeetRpoblem_IE01.png]]
| |
− | |}
| |
− | | |
− | *Change '''Document mode''' to emulate IE6,7
| |
− | [[File:ZK_MeetRpoblem_IE02.png]]
| |
− | :'''Quirks Mode''': IE6
| |
− | :'''Internet Explorer 7 Standards''': IE7
| |