Examples of callWithNamedValues()


Examples of railo.runtime.Component.callWithNamedValues()

     
     
      pc.addPageSource(p.getPageSource(), true);
      try{
        Component cfc = pc.loadComponent(fullname);
        cfc.callWithNamedValues(pc, "output", args);
      }
      finally {
        pc.removeLastPageSource(true);
      }
        }
View Full Code Here

Examples of railo.runtime.Component.callWithNamedValues()

      rtn = cfc.call(pc, KeyConstants._init, EMPTY);
   
    // named arguments
    else if(objArr[0] instanceof FunctionValue) {
      Struct args=Caster.toFunctionValues(objArr,0,objArr.length-1);
      rtn = cfc.callWithNamedValues(pc, KeyConstants._init, args);
    }
    // no name arguments
    else {
      Object[] args = new Object[objArr.length-1];
      for(int i=0;i<objArr.length-1;i++) {
View Full Code Here

Examples of railo.runtime.net.rpc.client.RPCClient.callWithNamedValues()

  @Override
  public final Object execute(Config config) throws PageException {
    try {
      RPCClient rpc = getRPCClient(client);
      return rpc.callWithNamedValues(config, getMethodName(), getArguments());
    }
    catch (Throwable t) {
      throw Caster.toPageException(t);
    }
  }
View Full Code Here

Examples of railo.runtime.net.rpc.client.RPCClient.callWithNamedValues()

        if(username!=null)   {
            if(password==null)password = "";
        }
        ProxyData pd=StringUtil.isEmpty(proxy.getServer())?null:proxy;
        RPCClient ws = username!=null?new RPCClient(webservice,username,password,pd):new RPCClient(webservice,pd);
        Object rtn = ws.callWithNamedValues(pageContext,method,data);
       
        // return
        if(!StringUtil.isEmpty(returnvariable)) pageContext.setVariable(returnvariable,rtn);
       
        //throw new ApplicationException("type webservice is not yet implemented for tag invoke");
View Full Code Here

Examples of railo.runtime.net.rpc.client.RPCClient.callWithNamedValues()

   
   
   
    try {
      RPCClient rpc = RemoteClientTask.getRPCClient(this);
      Object result = rpc.callWithNamedValues(config, "invoke", args);
      return id=ConfigImpl.getId(securityKey, Caster.toString(result,null),false, null);
     
    }
    catch (Throwable t) {t.printStackTrace();
      return null;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.