|Compatibility with Mac|
|Compatibility with Mac|
Author Thomas Schilling on 02-06-2001 at 06:34 (EST)
|I have read through your document dating back to 10/02/2000. But when are you going to make uShop compatible with InternetExplorer finally? Please get back to work and make it happen now, as pointing users to use the outdated Communicator is no excuse at all!!!
|Messages In This Discussion|
| 1. RE: Compatibility with Mac|
Author Bill Weiner on 02-06-2001 at 11:04 (EST)
|The question is when is the Macintosh/Internet Explorer folks going to correct their problem. As described at:|
...we can try to work around their problems, but we can't fix them. The problem that keeps uShop from adding/maintaining shopping cart data on the Macintosh version of Internet Explorer is the fact that the Macintosh version of Internet Explorer does not maintain "Static Class Data" across browser frames/pages. Simple as that.
| 2. Work around it|
Author Thomas Schilling on 02-07-2001 at 19:34 (EST)
|Nobody's perfect but Microsoft is bigger for shure, so it's up to you to find a solution, naturally. Thank you!!!
| 3. RE: Work around it|
Author Bill Weiner on 02-08-2001 at 05:28 (EST)
|When it comes to a problem (i.e., bug) with the way a Java Property is implemented in a specific JVM (in this case, the Macintosh IE 5 browser's JVM), there is no getting around that. In this case, since the Macintosh IE 5 browser appears to not maintain "Static Class Data" across Applets on different pages/frames.... then that's the way it will stay until the Macintosh IE 5 browser corrects it.|
FYI: To give you (some very brief) information about Static Class Data, by definition (and in all practicality except on the Macintosh version of IE 5) if you define a variable in a Java Class as "Static", such as:
public static int myVariable = 0;
Then all instances of that same class file should maintain the same value for that variable.
For example, if one applet changes the value of that static class variable "myVariable" to 1, then the "myVariable" value of any other instances of that same applet should also be interpretted as 1. And for the most part, it is....at least on other browsers/platforms. It even works properly on Mac IE 5 browsers.... except when the applets are on different pages or different frames. In Mac IE 5 browsers, the static class data of applets in different pages/frames is not maintained.
Static class data is a fundamental principle of Java and an essential property needed for the uShop applets to communicate with each other.
| 4. Mac IE5|
Author Clark on 02-26-2002 at 20:13 (EST)
|So if I understand you correctly Bill, if I have all my applets on one page (input, cart, and order), there will be no problems with the Mac IE?|
Is that right?
| 5. RE: Mac IE5|
Author Bill Weiner on 02-28-2002 at 22:09 (EST)
|That's kind of an old posting... although the problem with Macintosh IE browsers/JVM maintaining static class data across pages/frames still exists. This problem will prevent the data from being passed to the ushop.pl script.... so as for Macintosh users: "Macintosh user must use Netscape Browsers".|