Can I use static variables in W4 Toolkit applications?
Yes. W4 Toolkit classes (as the component classes like WebForm, WebButton, just as W4TContext) have their own classloader per session, which is responsible for the namespace. Static variables and methods will be shared only within sessions, there will be no undesirable interference between the sessions. This makes the use of Design Patterns (e.g. session-scoped singletons) possible. Back to Top Are there some more detailed error messages for errors where a MessageBox appears? You can take a look at the complete stacktrace using Window > Show > View Other and then PDE Runtime > Error Log. In that view you can see a list with the error messages. Double-click on an entry and a window with a detailed message appears.
Related Questions
- Are Page Speeds recommendations more applicable to applications developed with the Google Web Toolkit (GWT) rather than with handwritten JavaScript code?
- Can I use static variables in W4 Toolkit applications? Are there some more detailed error messages for errors where a MessageBox appears?
- Why doesn serialization save the value of static variables?