Difference between revisions of "User:Jimmyshiau"
From Documentation
Jimmyshiau (talk | contribs) |
Jimmyshiau (talk | contribs) |
||
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== | |
− | + | *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] (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) | + | ---- |
+ | |||
+ | *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]] | ||
+ | |} | ||
− | + | *Change '''Document mode''' to emulate IE6,7 | |
− | + | [[File:ZK_MeetRpoblem_IE02.png]] | |
− | :: | + | :'''Quirks Mode''': IE6 |
+ | :'''Internet Explorer 7 Standards''': IE7 |
Revision as of 11:11, 4 August 2011
Meet a problem with ZK
- 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 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 2. Response |
Client side error |
|
Cannot reproduce with Firefox
Chrome
- Enable "Developer tools" by press F12
Server side error |
1. Request 2. Response |
Client side error |
|
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 |
- Change Document mode to emulate IE6,7
- Quirks Mode: IE6
- Internet Explorer 7 Standards: IE7