I remember a thread in the beta forum on this issue - but since the beta forum is no longer accessible, I'm starting this new thread.
I just spend a lot of time testing parts of my framework in the 10.2A web client. Since we are using a number of static classes (classes with only static members), this issue hit's us:
Looks like the webclient is not able to access static members (methods or properties) or ABL classes. Accessing static members of .NET classes does work.
Has anybody else tested this or reported issues with tech support and could share some results?
Mike
Did you mean this post from Evan and the associated dialog?
http://www.psdn.com/library/thread.jspa?messageID=46671뙏
I.e., the fact that some features like static and dynamic new rely of parts of the compiler at run time and that is not yet available in web client?
Thanks you Thomas. Yes, that was the thread I was looking for.
Evan, any news if this will be included in the next service pack? I logged it with tech support today - but haven't heard back from then yet.
FWIW, that thread is in this forum. Appearances suggest they pruned the Beta forum, renamed it, and attached it here, so most of the original posts are still there in their original form. I just searched this forum for WebClient.
Not exactly. This is the "OpenEdge GUI for .NET" forum. The thread from your link is in the "OpenEdge ABL" forum...
True enough ... undoubtedly that's why it showed up when I said Search This Forum from this forum!
Search this Forum is data; the search searches all forums unless you select Advanced Search where you can restrict the search to a specific forum.
FWIW, that thread is in this forum. Appearances
suggest they pruned the Beta forum, renamed it, and
attached it here, so most of the original posts are
still there in their original form.
That's pretty much what happened. The threads that were pruned were basically Beta-only stuff (bugs fixed in the Betas, Beta-specific events like WebExes, etc). The goal was to keep as much of the material as possible.
-- peter
Getting back to the original point: I use static classes (classes with no instance members except a private constructor) extensively. The concept fits well into my design patterns and architecture. I also need to deliver on WebClient, where all this completely breaks down.
I received response from tech support: They are working on it. The plan is to have it in 10.2A SP1, but all depends on other bugs and their priority.
Please continue logging it with tech support to increase priority!
Has anyone tested if this works with the normal runtime product???
I just tested my dev client with -rr - but that's a good point.
I would expect it to work since I believe the run time client has the same AVM as anything else ... it is the WebClient that is the odd man out here.
The difference is within prowc.dll and prow32.dll, and in the missing mb's of bound logic. BTW the two are interchangable (well in theory, but not in license I would assume) and the entry points appear identical - at least in v9.
Could be a simple 'work around' until the other priorities are resolved.
Hopefully the use within appserver/char client will also be included in any long term work.
Can anyone confirm that this works in 10.2A SP1:
- Support for static members in WebClient
- Support for DYNAMIC-NEW in WebClient
-peter
Can anyone confirm that this works in 10.2A SP1:- Support for static members in WebClient
- Support for DYNAMIC-NEW in WebClient
Hi Peter,
both features are working with 10.2A01 WebClient. We are using both pretty heavy in both Dynamics4.NET and the SmartComponent Library. Apps already deployed with both tools.
Mike
Thanks! That is good news indeed.
I had not heard about this anymore and it has a big impact on the design
decisions for a new WebClient project I am starting.
Regards,
--
peter
================================================================
Peter van Dam BSc Author of 'Making Progress With Ajax'
Future Proof Software OpenEdge Consultancy
De Maroc 22 SaaS, Ajax, OpenEdge GUI for .NET
2291 JZ WATERINGEN www.futureproofsoftware.com
The Netherlands pvd at futureproofsoftware dot com
================================================================