if (record!=null) rec=template.getGroup().findObject(record, true);
if (record!=null && template !=null) rec=template.getGroup().findObject(record, true);
	public String resolveLink(String target) {		//DebugSystem.out.println("resolve link "+target);		//TODO				String record=LinkProperties.getRecordFromString(target);		Object rec=null;												if (record!=null) rec=template.getGroup().findObject(record, true);		if (rec !=null && rec instanceof Record) {			target=getResolvedName(target);		}				return target;	}