Package railo.runtime.type.scope

Examples of railo.runtime.type.scope.Scope


  public static List testVariables(PageContextImpl pc,String strScope) throws FDLanguageException {
    return new FDStackFrameImpl(null,pc,null,null).getVariables(strScope);
  }
 
  private static List getVariables(FDStackFrameImpl frame,PageContextImpl pc,List list,String strScope) throws FDLanguageException {
    Scope scope;
    try {
      scope = pc.scope(strScope, null);
      if(scope!=null) return copyValues(frame,list,scope);
     
      Object value=pc.undefinedScope().get(strScope,null);
View Full Code Here


            if(path.size()>1 && !(path.size()==3 && ListUtil.last(path.getE(2).toString(),"/\\",true).equalsIgnoreCase(railo.runtime.config.Constants.APP_CFC)) ) {// MUSTMUST bad impl -> check with and without application.cfc
             
              ComponentWrap c = ComponentWrap.toComponentWrap(Component.ACCESS_PRIVATE,ComponentUtil.toComponentAccess(component));
              Key[] keys = c.keys();
              Object el;
              Scope var = pc.variablesScope();
              for(int i=0;i<keys.length;i++) {
                el=c.get(keys[i],null);
                if(el instanceof UDF)
                  var.set(keys[i], el);
               
              }
               
              return;
            }
View Full Code Here

    return SKIP_BODY;
  }

  @Override
  public int doEndTag() throws TemplateException  {
    Scope variables = pageContext.variablesScope();
    Object thistagObj=variables.get("thistag",null);
    boolean insideCT=(thistagObj !=null) && (thistagObj instanceof railo.runtime.type.Collection);
    //executebody

    // Inside Custom Tag
    if(insideCT) {
View Full Code Here

TOP

Related Classes of railo.runtime.type.scope.Scope

Copyright © 2018 www.massapicom. 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.