Difference between revisions of "User:Jimmyshiau"

From Documentation
Line 8: Line 8:
 
:*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)
 
:*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.
 
:*'''Replace''' you data (EX: from database) with '''dummy data''' for run the reproducing sample.
*Cannot extracting the issue to a 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
+
*Snapshot the ''error'', ''request'' and ''response'' with Browser. remember to''' turn on''' the js debug in your zk.xml
 
<source type="xml">
 
<source type="xml">
 
<client-config>
 
<client-config>
Line 15: Line 15:
 
</client-config>
 
</client-config>
 
</source>
 
</source>
:* Using Firefox with [http://getfirebug.com/ firebug] to snapshot the images
+
* 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"
 
{| border="1px" | width="100%" | cellspacing="0"
 
|-
 
|-
Line 23: Line 23:
 
| Server side error
 
| Server side error
 
|
 
|
'''Request'''
+
'''1. Request'''
  
 
[[File:ZK_MeetRpoblem_FF01.png]]
 
[[File:ZK_MeetRpoblem_FF01.png]]
 
----
 
----
'''Response'''
+
 
 +
'''2. Response'''
  
 
[[File:ZK_MeetRpoblem_FF02.png]]
 
[[File:ZK_MeetRpoblem_FF02.png]]
Line 34: Line 35:
 
|
 
|
 
[[File:ZK_MeetRpoblem_FF03.png]]
 
[[File:ZK_MeetRpoblem_FF03.png]]
*Click the link (the blue text) the ngo to the line of error.  
+
----
 +
 
 +
*Click the link (the blue text) then go to the line of error.  
 
[[File:ZK_MeetRpoblem_FF04.png]]
 
[[File:ZK_MeetRpoblem_FF04.png]]
 
|}
 
|}
  
 +
== 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]]
 +
|}
  
::IE6
+
*Change '''Document mode''' to emulate IE6,7
::* install [http://www.microsoft.com/download/en/details.aspx?id=18359 develop tool].
+
[[File:ZK_MeetRpoblem_IE02.png]]
::[[File:ZK_MeetRpoblem_IE6.png]]
+
:'''Quirks Mode''': IE6
 +
:'''Internet Explorer 7 Standards''': IE7

Revision as of 11:11, 4 August 2011

Meet a problem with ZK

ZK MeetRpoblem01.png

  • Please provide the following information:
  1. ZK version (EX: ZK 5.0.7.1 PE).
  2. Browser and Browser version (EX: Firefox 3.6).
  3. Reproducing Sample if possible.
  • How to create reproducing sample:
  • Use 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
<client-config>
	<debug-js>true</debug-js>
</client-config>
  • Using Firefox with firebug (enable firebug by press F12) to snapshot the following images, then mail to zk support team.
Server side error

1. Request

ZK MeetRpoblem FF01.png


2. Response

ZK MeetRpoblem FF02.png

Client side error

ZK MeetRpoblem FF03.png


  • Click the link (the blue text) then go to the line of error.

ZK MeetRpoblem FF04.png

Cannot reproduce with Firefox

Chrome

  • Enable "Developer tools" by press F12
Server side error

1. Request

ZK MeetRpoblem Chrome01.png


2. Response

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.

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
Client side error

ZK MeetRpoblem IE01.png

  • Change Document mode to emulate IE6,7

ZK MeetRpoblem IE02.png

Quirks Mode: IE6
Internet Explorer 7 Standards: IE7