return getUploadedMediaForNewswire();
}
catch (Exception ex) {
- theLog.printWarning("-- getUploadedMediaForContent: could not fetch data " + ex.toString());
+ theLog.printWarning("-- getUploadedMediaForNewswire: could not fetch data " + ex.toString());
throw new TemplateModelException(ex.toString());
}
}
return getUploadedMediaForList();
}
catch (Exception ex) {
- theLog.printWarning("-- getUploadedMediaForContent: could not fetch data " + ex.toString());
+ theLog.printWarning("-- getUploadedMediaForList: could not fetch data " + ex.toString());
throw new TemplateModelException(ex.toString());
}
}
} //end if is_published
} //end if media_type != null
} //end for
- returnHash.put("to_media_audio", mediaListAudio);
- returnHash.put("to_media_images", mediaListImages);
- returnHash.put("to_media_video", mediaListVideo);
- returnHash.put("to_media_other", mediaListOther);
+ returnHash.put("media_audio", mediaListAudio);
+ returnHash.put("media_images", mediaListImages);
+ returnHash.put("media_video", mediaListVideo);
+ returnHash.put("media_other", mediaListOther);
} //end if currentMediaList != null
return returnHash;
}