Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I use static variables in W4 Toolkit applications?

0
Posted

Can I use static variables in W4 Toolkit applications?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.