Package railo.runtime

Examples of railo.runtime.PageContext.variablesScope()


  public Closure(UDFProperties properties) {
    super(properties);
    PageContext pc = ThreadLocalPageContext.get();
    if(pc.undefinedScope().getCheckArguments())
      this.variables=new ClosureScope(pc,pc.argumentsScope(),pc.localScope(),pc.variablesScope());
    else{
      this.variables=pc.variablesScope();
      variables.setBind(true);
    }
  }
View Full Code Here


    super(properties);
    PageContext pc = ThreadLocalPageContext.get();
    if(pc.undefinedScope().getCheckArguments())
      this.variables=new ClosureScope(pc,pc.argumentsScope(),pc.localScope(),pc.variablesScope());
    else{
      this.variables=pc.variablesScope();
      variables.setBind(true);
    }
  }
 
  public Closure(UDFProperties properties, Variables variables) {
View Full Code Here

                // write back response
                writeBackResponse(pc,rsp);
               
                // After
              return caster.toAMFObject(pc.variablesScope().get(AMF_FORWARD,null));
             
            }
        }
        finally {
            if(pc!=null)factory.releaseRailoPageContext(pc);
View Full Code Here

           
            if(source!=null) {
              print(pc,cfml);
              // Before
                Struct params=new StructImpl();
                pc.variablesScope().setEL(FLASH,params);
                params.setEL(PARAMS,parameters);
               
                // Execute
                pc.execute(cfml,true);
               
View Full Code Here

               
                // write back response
                writeBackResponse(pc,rsp);
               
                // After
                Object flash=pc.variablesScope().get(FLASH,null);
                if(flash instanceof Struct) {
                  return caster.toAMFObject(((Struct)flash).get(RESULT,null));
                }
                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.