Package railo.runtime.registry

Examples of railo.runtime.registry.RegistryEntry


              railo.runtime.type.Query qry=new QueryImpl(
                        new String[]{"entry","type","value"},
                        new String[]{"VARCHAR","VARCHAR","OTHER"},
                        entries.length,"query");
                for(int i=0;i<entries.length;i++) {
                    RegistryEntry e = entries[i];
                    int row=i+1;
                    qry.setAt(KeyConstants._entry,row,e.getKey());
                    qry.setAt(KeyConstants._type,row,RegistryEntry.toCFStringType(e.getType()));
                    qry.setAt(KeyConstants._value,row,e.getValue());
                }
               

            // sort
            if(sort!=null) {
View Full Code Here


        if(variable==null)throw new ApplicationException("attribute variable is required for tag registry, when action is [get]");
        //if(type==-1)throw new ApplicationException("attribute type is required for tag registry, when action is [get]");
       
       
        try {
            RegistryEntry re = RegistryQuery.getValue(branch,entry,type);
            if(re!=null)pageContext.setVariable(variable,re.getValue());
        }
        catch (Exception e) {
            throw Caster.toPageException(e);
        }
       
View Full Code Here

TOP

Related Classes of railo.runtime.registry.RegistryEntry

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.