Map results =
ContentServicesComplex.getAssocAndContentAndDataResourceMethod(delegator, thisContentId, thisMapKey, "From", fromDate, null, null, null, assocTypes, null);
List entityList = (List) results.get("entityList");
templateCtx.put("entityList", entityList);
return new LoopWriter(out) {
public void write(char cbuf[], int off, int len) {
buf.append(cbuf, off, len);
//StringBuffer ctxBuf = (StringBuffer) templateCtx.get("buf");
//ctxBuf.append(cbuf, off, len);