Dynamic method invocation

Posted by abonola on 08-Sep-2008 16:48

Is there a way to dynamically invoke a method in an ABL class? I tried using the call object but to no avail.

All Replies

Posted by Admin on 09-Sep-2008 05:21

No.

Can't you use Interfaces instead? That offers you a good abstraction as well and you remain strong typed?

I'd log it with tech support as an enhancement request.

Posted by abonola on 09-Sep-2008 07:55

Thanks for the response.

No, an interface defeats the purpose. What I am trying to accomplish (what I can do with procedural ABL) is that a button press or a menu-click dynamically calls a generic event handler, which then calls the appropriate method based on an "action" attributed associated with the object. (This is used in a 100% dynamic UI renderer that has no client-side business logic.) What I will do instead, is create a persistent procedure and then use the call object functionality.

This thread is closed