Examples of udfDefaultValue()


Examples of railo.runtime.Page.udfDefaultValue()

  }

  public static Object getDefaultValue(PageContext pc, PageSource ps, int udfIndex, int index, Object defaultValue) throws PageException {
    Page p=ComponentUtil.getPage(pc,ps);
      if(p instanceof PagePlus) return ((PagePlus)p).udfDefaultValue(pc,udfIndex,index,defaultValue);
      Object rtn = p.udfDefaultValue(pc,udfIndex,index);
      if(rtn==null) return defaultValue;// in that case it can make no diff between null and not existing, but this only happens with data from old ra files
      return rtn;
  }
 
View Full Code Here

Examples of railo.runtime.Page.udfDefaultValue()

 

  public static Object getDefaultValue(PageContext pc, UDFPlus udf, int index, Object defaultValue) throws PageException {
    Page p=ComponentUtil.getPage(pc,udf.getPageSource());
    if(p instanceof PagePlus) return ((PagePlus)p).udfDefaultValue(pc,udf.getIndex(),index,defaultValue);
    Object rtn = p.udfDefaultValue(pc,udf.getIndex(),index);
      if(rtn==null) return defaultValue;// in that case it can make no diff between null and not existing, but this only happens with data from old ra files
      return rtn;
  }

  public static void argumentCollection(Struct values) {
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.