2003/06/26 01:53:37
[org.ibex.core.git] / src / org / xwt / XMLRPC.java
index 282d9ef..c4f5fc6 100644 (file)
@@ -386,8 +386,8 @@ class XMLRPC extends JS.Callable {
     }
 
     /** When you get a property from an XMLRPC, it just returns another XMLRPC with the property name tacked onto methodname. */
-    public Object get(String name) {
-        return new XMLRPC(url, (methodname.equals("") ? "" : methodname + ".") + name, http);
+    public Object get(Object name) {
+        return new XMLRPC(url, (methodname.equals("") ? "" : methodname + ".") + name.toString(), http);
     }
 
     public XMLRPC(String url, String methodname) {