Package railo.runtime.cfx.customtag

Examples of railo.runtime.cfx.customtag.CPPCFXTagClass


        while(it.hasNext()) {
            CFXTagClass tag=(CFXTagClass) map.get(it.next());
            if(tag instanceof CPPCFXTagClass) {
                row++;
                qry.addRow(1);
                CPPCFXTagClass ctag =(CPPCFXTagClass) tag;
                qry.setAt(KeyConstants._displayname,row,tag.getDisplayType());
                qry.setAt(KeyConstants._sourcename,row,tag.getSourceName());
                qry.setAt(KeyConstants._readonly,row,Caster.toBoolean(tag.isReadOnly()));
                qry.setAt(KeyConstants._isvalid,row,Caster.toBoolean(tag.isValid()));
                qry.setAt(KeyConstants._name,row,ctag.getName());
                qry.setAt(PROCEDURE,row,ctag.getProcedure());
                qry.setAt(SERVER_LIBRARY,row,ctag.getServerLibrary());
                qry.setAt(KEEP_ALIVE,row,Caster.toBoolean(ctag.getKeepAlive()));
            }
           
        }
        pageContext.setVariable(getString("admin",action,"returnVariable"),qry);
    }
View Full Code Here


            qry.setAt("sourcename",row,tag.getSourceName());
            qry.setAt("readonly",row,Caster.toBoolean(tag.isReadOnly()));
            qry.setAt("isvalid",row,Caster.toBoolean(tag.isValid()));
           
            if(tag instanceof CPPCFXTagClass) {
                CPPCFXTagClass ctag =(CPPCFXTagClass) tag;
                qry.setAt(KeyConstants._name,row,ctag.getName());
                qry.setAt("procedure_class",row,ctag.getProcedure());
                qry.setAt("keepalive",row,Caster.toBoolean(ctag.getKeepAlive()));
            }
            else if(tag instanceof JavaCFXTagClass) {
                JavaCFXTagClass jtag =(JavaCFXTagClass) tag;
                qry.setAt(KeyConstants._name,row,jtag.getName());
                qry.setAt("procedure_class",row,jtag.getStrClass());
View Full Code Here

            String serverLibrary = cfxTags[i].getAttribute("server-library");
            String procedure = cfxTags[i].getAttribute("procedure");
            boolean keepAlive = Caster.toBooleanValue(cfxTags[i].getAttribute("keep-alive"), false);

            if (!StringUtil.isEmpty(name) && !StringUtil.isEmpty(serverLibrary) && !StringUtil.isEmpty(procedure)) {
              map.put(name.toLowerCase(), new CPPCFXTagClass(name, serverLibrary, procedure, keepAlive));
            }
          }
        }
      }
View Full Code Here

TOP

Related Classes of railo.runtime.cfx.customtag.CPPCFXTagClass

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.