Package railo.runtime.dump

Examples of railo.runtime.dump.DumpTable.appendRow()


      try {
        o = getE(i);
      }
      catch (Exception e) {}

      table.appendRow( 1, new SimpleDumpData(i), DumpUtil.toDumpData(o, pageContext, maxlevel, dp) );

      if ( i == top )
        break;
    }
View Full Code Here


    while(it.hasNext()) {
      key=it.next();//it.next();
     
      if(DumpUtil.keyValid(dp, maxlevel,key)){
        if(maxkeys<=index++)break;
        htmlBox.appendRow(3,
            new SimpleDumpData(key.getString()),
            new SimpleDumpData(++count),
            DumpUtil.toDumpData(get(key,null),
            pageContext,maxlevel,dp));
      }
View Full Code Here

      DumpProperties properties=new DumpProperties((int)maxLevel,setShow,setHide,(int)keys,metainfo,showUDFs);
      DumpData dd = DumpUtil.toDumpData(object, pc,(int)maxLevel,properties);
     
      if(!StringUtil.isEmpty(label)) {
        DumpTable table=new DumpTable("#ffffff","#cccccc","#000000");
        table.appendRow(1,new SimpleDumpData(label));
        //table.appendRow(1,new SimpleDumpData(getContext()));
        table.appendRow(0,dd);
        dd=table;
      }
     
View Full Code Here

     
      if(!StringUtil.isEmpty(label)) {
        DumpTable table=new DumpTable("#ffffff","#cccccc","#000000");
        table.appendRow(1,new SimpleDumpData(label));
        //table.appendRow(1,new SimpleDumpData(getContext()));
        table.appendRow(0,dd);
        dd=table;
      }
     
      boolean isText="text".equalsIgnoreCase(format);//formatType==FORMAT_TYPE_TEXT
      if(OUTPUT_TYPE_BROWSER==outputType || outputType==OUTPUT_TYPE_NONE) {
View Full Code Here

       
        // udf name
        udf = new DumpTable("udf","#66ccff","#ccffff","#000000");
        arg = new DumpTable("udf","#66ccff","#ccffff","#000000");
       
        cfc.appendRow(1, new SimpleDumpData(e.getKey().getString()),udf);
       
        // args
        args = Caster.toArray(val.get(KeyConstants._arguments));
        udf.appendRow(1,new SimpleDumpData("arguments"),arg);
        arg.appendRow(7,new SimpleDumpData("name"),new SimpleDumpData("required"),new SimpleDumpData("type"));
View Full Code Here

      DumpTable htmlBox = new DumpTable("exception","#ff9900","#FFCC00","#000000");
    htmlBox.setTitle("Railo ["+Info.getVersionAsString()+"] - Error ("+StringUtil.ucFirst(getTypeAsString())+")");
   
   
    // Message
    htmlBox.appendRow(1,new SimpleDumpData("Message"),new SimpleDumpData(getMessage()));
   
    // Detail
    String detail=getDetail();
    if(!StringUtil.isEmpty(detail,true))
      htmlBox.appendRow(1,new SimpleDumpData("Detail"),new SimpleDumpData(detail));
View Full Code Here

    htmlBox.appendRow(1,new SimpleDumpData("Message"),new SimpleDumpData(getMessage()));
   
    // Detail
    String detail=getDetail();
    if(!StringUtil.isEmpty(detail,true))
      htmlBox.appendRow(1,new SimpleDumpData("Detail"),new SimpleDumpData(detail));
   
    // additional
    Iterator<Key> it = additional.keyIterator();
    Collection.Key k;
    while(it.hasNext()) {
View Full Code Here

    // additional
    Iterator<Key> it = additional.keyIterator();
    Collection.Key k;
    while(it.hasNext()) {
      k=it.next();
      htmlBox.appendRow(1,new SimpleDumpData(k.getString()),new SimpleDumpData(additional.get(k,"").toString()));
    }
   
    Array tagContext = getTagContext(pageContext.getConfig());
    // Context MUSTMUST
    if(tagContext.size()>0) {
View Full Code Here

      Iterator<Object> vit = tagContext.valueIterator();
      //Entry<Key, Object> te;
      DumpTable context=new DumpTable("#ff9900","#FFCC00","#000000");
      //context.setTitle("The Error Occurred in");
      //context.appendRow(0,new SimpleDumpData("The Error Occurred in"));
      context.appendRow(7,
          new SimpleDumpData(""),
          new SimpleDumpData("template"),
          new SimpleDumpData("line"));
      try {
        boolean first=true;
View Full Code Here

          new SimpleDumpData("line"));
      try {
        boolean first=true;
        while(vit.hasNext()) {
          Struct struct=(Struct)vit.next();
          context.appendRow(1,
              new SimpleDumpData(first?"called from ":"occurred in"),
              new SimpleDumpData(struct.get(KeyConstants._template,"")+""),
              new SimpleDumpData(Caster.toString(struct.get(KeyConstants._line,null))));
          first=false;
        }
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.