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) {