|
|
(17 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | =Meet a problem with ZK= | + | =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.
| |
− | * How to create reproducing sample:
| |
− | :*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)
| |
− | :*'''Replace''' you data (EX: from database) with '''dummy data''' for run the reproducing sample.
| |
− | ==Cannot extracting the issue to a reproducing sample== | |
− | *Snapshot the ''error'', ''request'' and ''response'' with Browser. remember to''' turn on''' the js debug in your zk.xml
| |
− | <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]] | + | =Component Reference= |
− | ----
| + | ====[[User:Jimmyshiau/Comp_Ref_Listbox | Listbox]]==== |
| + | ====[[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]]==== |
| | | |
− | '''2. Response''' | + | =Developer's Reference= |
| + | == MVC == |
| + | ===Controller=== |
| + | ====[[User:Jimmyshiau/Dev_Ref_MVC_Controller_Composer | Composer]]==== |
| + | == MVVM == |
| + | ====[[User:Jimmyshiau/Dev_Ref_MVVM_Data_Binding | Data Binding]]==== |
| | | |
− | [[File:ZK_MeetRpoblem_FF02.png]] | + | =Layout= |
− | |- | + | ====[[User:Jimmyshiau/ZK_Container_Size | ZK Container]]==== |
− | |Client side error
| |
− | |
| |
− | [[File:ZK_MeetRpoblem_FF03.png]]
| |
− | ----
| |
| | | |
− | *Click the link (the blue text) then go to the line of error.
| + | =Etc= |
− | [[File:ZK_MeetRpoblem_FF04.png]]
| + | ====[[User:Jimmyshiau/Etc_Id_Generator |Id Generator]]==== |
− | |}
| |
− | | |
− | == Cannot reproduce 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
| |