1 Reply Latest reply on Feb 11, 2009 8:40 AM by skider

    Calling method dynamically in RemoteObject

    skider Level 1
      I'm trying to call a function in a RemoteObject, where the name of the function I want to call is generated programmatically. For instance, the usual way to call a RemoteObject's method would be something like this.


      I want to be able to do something like this:

      var methodName = "methodToCall";

      One reason I'd like to do this is so that I can request the correct method name from the server, and then be able to call that method from the client side.

      Any advice?